You are not logged in.

#1 2011-04-23 06:24:00

taylorchu
Member
Registered: 2010-08-09
Posts: 405

reduce base packages

Base packages have some packages that are not really "base". They are not required or needed by most systems.
For example,

cryptsetup - don't need encryption
dash - using bash
oops!  e2fsprogs - using ext3 on all partitions
jfsutils
lvm2 - not using LVM
mailx - not sending mail by command line
mdadm - only one harddrive
reiserfsprogs
xfsprogs

...possibly more.

Any developers see this point? Should we check what is really "base" again?

Last edited by taylorchu (2011-04-23 06:30:57)


"After you do enough distro research, you will choose Arch."

Offline

#2 2011-04-23 06:26:56

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,648
Website

Re: reduce base packages

taylorchu wrote:

e2fsprogs - using ext3 on all partitions

I'd think twice before removing that...

Offline

#3 2011-04-23 07:55:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: reduce base packages

dash: https://bugs.archlinux.org/task/22483

A lot of people are using cli e-mail in scripts.

Offline

#4 2011-04-23 08:20:50

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: reduce base packages

taylorchu wrote:

Base packages have some packages that are not really "base". They are not required or needed by most systems.
For example,

cryptsetup - don't need encryption
dash - using bash
oops!  e2fsprogs - using ext3 on all partitions
jfsutils
lvm2 - not using LVM
mailx - not sending mail by command line
mdadm - only one harddrive
reiserfsprogs
xfsprogs

...possibly more.

Any developers see this point? Should we check what is really "base" again?

Filesystem support isnt leaving base. And neither is cryptsetup,lvm2 and mdadm. These might not be needed by all users, but their critical for booting many systems. This why many people wanted to have package selection from base back as that wasnt possible for some time.
Like Karol said there is already a FR for dash, as well as ppp and wpa_supplicant.
Only basic networking support should be in base. The rest should/could be in different networking groups.
From the ones you listed, excluding the above just leaves heirloom-mailx which is defined by POSIX
If this really interests you see the discussion here


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2011-04-23 08:26:04

mundane
Banned
Registered: 2011-03-23
Posts: 49

Re: reduce base packages

Base packages are already pretty frugal.

If we really wanted to strip it out, well you don't really need syslog, usbutils, findutils, tcp_wrappers, logrotate, diffutils...

cron jobs essential? Don't need dcron

let's assume everyone is using regular ethernet/broadband... don't need pcmciautils, ppp, rp-pppoe...

Only need one editor... don't need nano

Man pages? don't need those.

And now we have a very stripped out base system, but to what benefit? I saved a few MB from my TB hard drive smile It's not hard to go through and deselect ones you don't need if you really need the space (e.g. live cd). I think the point of the base group is that they are critical on many systems and life is indeed more difficult if you strip out any of these packages. If the Arch installer offers to use XFS as a filesystem, I would expect xfsprogs to be in the base group wink

Last edited by mundane (2011-04-23 08:27:33)

Offline

#6 2011-04-23 08:28:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,648
Website

Re: reduce base packages

dolby wrote:

Filesystem support isnt leaving base.

I would not be so sure...   I believe the latest test installers are smart enough to ensure the appropriate filesystem support package is always installed.  Same with packages needed for rain and lvm.   So these could be removed from base in the future.

For the record, here are the base packages that I do not have installed:

Targets (11): mdadm-3.2.1-2  vi-1:050325-1  xfsprogs-3.1.5-1
              cryptsetup-1.2.0-1  dash-0.5.6.1-2  heirloom-mailx-12.5-1
              jfsutils-1.1.14-2  nano-2.2.6-1  pacman-3.5.2-1
              reiserfsprogs-3.6.21-3  rp-pppoe-3.10-5

Offline

#7 2011-04-23 08:40:53

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: reduce base packages

@dolby
I agree. It needs to be checked carefully.

https://wiki.archlinux.org/index.php/Us … se_Cleanup
See those packages with (???) or (keep for Single UNIX Specification?) or [Remove from base only when installer is smarter]
Personally, they should be in [core] but not [base].

[base] should only include all packages that "allow arch to be installed and boot"; that's it. Any feature other than that is not for [base].


"After you do enough distro research, you will choose Arch."

Offline

#8 2011-04-23 09:32:16

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: reduce base packages

Allan wrote:
dolby wrote:

Filesystem support isnt leaving base.

I would not be so sure...   I believe the latest test installers are smart enough to ensure the appropriate filesystem support package is always installed.  Same with packages needed for rain and lvm.   So these could be removed from base in the future.

Nice to know that. Just finished downloading the 2011.04.22-netinstall-i686.iso and will hopefully test it in VM when i get the chance.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#9 2011-04-23 10:29:07

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: reduce base packages

taylorchu wrote:

@dolby
I agree. It needs to be checked carefully.

https://wiki.archlinux.org/index.php/Us … se_Cleanup
See those packages with (???) or (keep for Single UNIX Specification?) or [Remove from base only when installer is smarter]
Personally, they should be in [core] but not [base].

[base] should only include all packages that "allow arch to be installed and boot"; that's it. Any feature other than that is not for [base].

I agree with that list, I think making base lighter would be a good thing; currently I need to uninstall a lot of packages after an install.

Offline

#10 2011-04-23 12:13:49

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: reduce base packages

I once ran into the evil trap of assuming that wireless_tools is in base, so I didn't fetch it in the extra menu during the installation. This was the day I learned how chroot works...

Offline

#11 2011-04-25 10:01:42

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: reduce base packages

Awebb wrote:

I once ran into the evil trap of assuming that wireless_tools is in base, so I didn't fetch it in the extra menu during the installation. This was the day I learned how chroot works...

If it is listed in extra, then you can be pretty sure it is not in base, since it cannot be in 2 groups at the same time? smile

Offline

#12 2011-04-25 11:11:38

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: reduce base packages

Spider.007 wrote:

currently I need to uninstall a lot of packages after an install.

You can uncheck anything you want when you get to the package selection screen. I just installed on a VM recently without parts of [base]

Offline

#13 2011-04-25 17:25:34

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: reduce base packages

Please don't nuke the encryption stuff. Those of us who are required to have full-disk/near-full-disk encryption will thank you!

( I used to get bit by the fact that twofish did not include "encrypt" in the mkinitcpio.conf HOOKS line with his eeepc kernel. Every time I updated the kernel I had to boot from a rescue disk if I forgot to correct it by hand.)

Mike


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#14 2011-04-25 17:25:44

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: reduce base packages

I've gotta agree with Jac.  Forgive me for being a prick, but there's no way the amount of time spent on trimming down the list of packages to be installed by the  AIF outweighs the time spent on this discussion.  Rather than calling for the removal of packages some people no doubt find integral, I would call for the inclusion of package descriptions in the AIF.

Last edited by ANOKNUSA (2011-04-25 17:26:24)

Offline

#15 2011-04-25 18:53:37

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: reduce base packages

ANOKNUSA wrote:

I would call for the inclusion of package descriptions in the AIF.

Although i haven't tried it myself yet i think thats already done https://bugs.archlinux.org/task/13040


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#16 2011-04-25 20:22:06

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: reduce base packages

Looks like the next .iso might see them.  Thanks for the info, dolby.

Offline

#17 2011-05-02 01:06:38

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: reduce base packages

Allan wrote:

For the record, here are the base packages that I do not have installed:

Targets (11): mdadm-3.2.1-2  vi-1:050325-1  xfsprogs-3.1.5-1
              cryptsetup-1.2.0-1  dash-0.5.6.1-2  heirloom-mailx-12.5-1
              jfsutils-1.1.14-2  nano-2.2.6-1  pacman-3.5.2-1
              reiserfsprogs-3.6.21-3  rp-pppoe-3.10-5

You did that with "pacman -S --needed core/base" right? Or is there a way to actually show the base packages you don't have installed, regardless of whether the ones you do have are up to date?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#18 2011-05-02 01:14:14

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: reduce base packages

just to keep a note: there are only 3 packages that are required:
1. kernel26
2. pacman
3. initscripts

with these packages, you can boot arch.


"After you do enough distro research, you will choose Arch."

Offline

#19 2011-05-02 01:27:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,648
Website

Re: reduce base packages

ConnorBehan wrote:

You did that with "pacman -S --needed core/base" right??

Correct

Offline

#20 2011-05-02 04:45:22

neurolysis
Member
Registered: 2011-02-23
Posts: 112
Website

Re: reduce base packages

taylorchu wrote:

just to keep a note: there are only 3 packages that are required:
1. kernel26
2. pacman
3. initscripts

with these packages, you can boot arch.

As far as I am aware, you can boot without pacman...

Offline

#21 2011-05-04 08:15:47

nicodoggie
Member
Registered: 2010-12-31
Posts: 15

Re: reduce base packages

Pretty useless using Arch without pacman though, might as well do an LFS install..

Offline

#22 2011-05-04 08:50:20

neurolysis
Member
Registered: 2011-02-23
Posts: 112
Website

Re: reduce base packages

nicodoggie wrote:

Pretty useless using Arch without pacman though, might as well do an LFS install..

What gave you that idea? You can just use another libalpm client...

Offline

#23 2011-05-04 17:00:49

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: reduce base packages

neurolysis wrote:
nicodoggie wrote:

Pretty useless using Arch without pacman though, might as well do an LFS install..

What gave you that idea? You can just use another libalpm client...

┌────[anoknusa@SKYNET]───────[11:51:15]───────[~]───────
└──> pacfi libalpm
1 abs/pacman-color 3.5.2-1 [0.03 M] [installed]
    Command-line frontend for libalpm aka pacman with color patch
2 aur/clyde-git 20101027-1 (537)
    Next-generation libalpm/makepkg wrapper.
3 aur/lualpm-git 20100329-1 (3)
    Lua bindings for libalpm.
4 aur/pacman-color 3.5.2-1 [installed] (1672)
    Command-line frontend for libalpm aka pacman with color patch
5 aur/pacman-color-testing 3.5.2-1 (49)
    Command-line frontend for libalpm aka pacman with color patch
6 aur/pcurses 20101118-1 (8)
    A curses package browser using libalpm
7 aur/pyalpm 0.4.1-1 (2)
    Libalpm bindings for Python 3

Not much to work with there. smile (libalpm=libraries for Arch Linux package manager)

Offline

#24 2011-05-04 21:27:43

PReP
Member
From: Sweden
Registered: 2010-06-13
Posts: 359
Website

Re: reduce base packages

We could always add an option before package selection: "I am bloody stubborn"

And you would just get:

kernel26,
initscripts,
bash,
lynx/links
and make

- and a nice motd with a link to the libalpm source and arch wiki.

wink

Last edited by PReP (2011-05-04 21:28:38)


. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)

Offline

#25 2011-05-05 11:51:37

sudokill
Member
Registered: 2011-04-27
Posts: 54

Re: reduce base packages

I know the idea of Arch is to be minimal, but I don't think a few base packages can be considered as bloat. Take a look at the more mainstream distros and what the come with preinstalled if that makes you feel better lol

Offline

Board footer

Powered by FluxBB