GoboLinux and Package Management - GNU/Linux

Users browsing this thread: 1 Guest(s)
josuah
Long time nixers
I like the GoboLinux way too. This takes part of the UNIX-style tree with a solution for some of its drawbacks, as isolation of programs.

On the other hand, if I had to do the same, I would not make an additionnal Index directory, and make the lists straight in the root directories.

(25-01-2017, 04:41 AM)z3bra Wrote: getting programs to install elsewhere than /usr or /usr/local can be a real pain sometimes

From http://sta.li/filesystem

Code:
/ - the root home
/bin - all executables
/sbin -> /bin # softlink pointing to /bin
/boot - all boot files
/etc - system configuration
/home - user directories
/var - spool, run, log, cache
/share - man pages, locales, dependencies
/include - include/headers
/lib - static libraries for building stuff
/mnt - mount points
/usr -> / # softlink pointing to /

(25-01-2017, 07:43 AM)asyncial Wrote: According to the review, it does, but it doesn't have a lot of packages and no ports system, so have you have to compile packages for yourself.

Recently, there is a build system to install .deb and .rpm packages, and tools to build packages from source too.

I decided to try on Arch linux:

- I ran a busybox shell with <code>busybox sh</code>;

- I moved all the content of <code>/usr</code> to <code>/</code>

- I symlinked <code>/ -> /usr</code>

- I rebooted and everything went fine:

Code:
$ ls -lh /
drwxr-xr-x    5 root     109        68.0K Jan 24 16:37 bin
drwxr-xr-x    5 root     root        4.0K Dec 18 00:16 boot
drwxr-xr-x   18 root     root        3.2K Jan 25 19:58 dev
drwxr-xr-x   81 root     109         4.0K Jan 25 19:54 etc
drwxr-xr-x    3 root     root        4.0K Dec 18 00:21 home
drwxr-xr-x  174 root     root      128.0K Jan 25 19:47 lib
lrwxrwxrwx    1 root     root           4 Jan 25 19:48 lib64 -> /lib
drwxr-xr-x   11 root     root        4.0K Sep 30  2015 local
drwx------    2 root     root       16.0K Dec 18 00:02 lost+found
drwxr-xr-x    2 root     root        4.0K Sep 30  2015 mnt
dr-xr-xr-x  116 root     root           0 Jan 25 19:53 proc
drwxr-xr-x    4 josuah   109         4.0K Jan 25 19:59 root
drwxr-xr-x   15 root     root         360 Jan 25 19:58 run
lrwxrwxrwx    1 root     root           4 Jan 25 19:48 sbin -> /bin
drwxr-xr-x  168 root     root        4.0K Jan 23 11:31 share
drwxr-xr-x    4 root     root        4.0K Sep 30  2015 srv
dr-xr-xr-x   13 root     root           0 Jan 25 19:54 sys
drwxrwxrwt    6 root     root        4.0K Jan 25 19:56 tmp
lrwxrwxrwx    1 josuah   users          1 Jan 25 19:46 usr -> /
drwxr-xr-x   12 root     root        4.0K Oct 29 15:05 var

[EDIT] and then I ran pacman and then <code style="color: #990000;">rain of segfaults</code> and I have to reinstall... Not a bad experience, though.


I made a package manager in the style of Gobolinux, but using ~/programs and ~/.local instead of /Programs and /System/Index.


Messages In This Thread
GoboLinux and Package Management - by delete - 24-01-2017, 09:21 PM
RE: GoboLinux and Package Management - by hades - 24-01-2017, 11:02 PM
RE: GoboLinux and Package Management - by z3bra - 25-01-2017, 04:41 AM
RE: GoboLinux and Package Management - by delete - 25-01-2017, 07:43 AM
RE: GoboLinux and Package Management - by josuah - 25-01-2017, 03:34 PM
RE: GoboLinux and Package Management - by z3bra - 26-01-2017, 08:11 AM
RE: GoboLinux and Package Management - by josuah - 26-01-2017, 06:46 PM
RE: GoboLinux and Package Management - by z3bra - 27-01-2017, 07:35 AM
RE: GoboLinux and Package Management - by venam - 21-12-2020, 03:59 AM