You are not logged in.

#1 2009-10-02 18:23:51

pythonscript
Member
From: Edinburgh, Scotland
Registered: 2009-07-10
Posts: 68

"install recommended packages" equivalent in pacman?

In ubuntu, apt-get has an option (enabled by default, much to my frustration) to install "recommended" or "suggested" packages when installing something from the repos, and I'm wondering if pacman does this as well? I'd like for a package manager to install only the required dependencies. Do I need to worry about this with pacman, and if so, how can I disable this feature? Thanks!


Lenovo SL510 Thinkpad / Asus EEEPC 1005HA
No hables a menos que puedas mejorar el silencio. - Neruda
La sabiduría nos llega cuando ya no nos sirve de nada. - Márquez

Offline

#2 2009-10-02 18:35:49

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: "install recommended packages" equivalent in pacman?

They're called optdepends, I think, and they are like recommendations. You get a list of them after you have installed a package that has them. You have to install them manually, though.

Edit: If you still think pacman installs too many things you don't want to have on your system, have a look at ABS, which lets you compile packages in the repos with relative ease.

Last edited by Runiq (2009-10-02 18:37:01)

Offline

#3 2009-10-02 18:41:13

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: "install recommended packages" equivalent in pacman?

As you said , Installing "recommended" packages by default goes against the minimalist design (e.g "aptitude install lxde" will install tons of packages including iceweasel) .

pacman  supports "optional dependencies" . Luckily , those dependencies are only added for informational purposes and only installable explicitly* .

* It's preferabl though to "pacman --asdeps <optional dependency>" . That way , the pseudo-dependency wouldn't show up in "pacman -Qe" .

Edit : I should refresh bbs pages more often .

Last edited by Nezmer (2009-10-02 18:42:29)


English is not my native language .

Offline

#4 2009-10-02 20:46:44

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,005
Website

Re: "install recommended packages" equivalent in pacman?

optdeps are not recomendations.
you must read their discription. sometimes you like the optdeps, sometimes they are totally useless for you.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#5 2009-10-03 00:10:43

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

Re: "install recommended packages" equivalent in pacman?

Offline

Board footer

Powered by FluxBB