apt-get filter

Asked by Alex Monteiro Sartin

Hi, I am running ubuntu 10.04 lucid on gumstix overo board (pretty much a palm) and I need the features from the ubuntu-desktop package. But the installations has too many unnecessary programs. Is there a way (in the terminal) to select what do I want to install ?
PS: It has to be in the Terminal because I don't have graphics only ssh.
Thaks, Alex.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
Best mycae (mycae) said :
#1

Aptitude has a partial feature you may be interested in; have a look at --without-recommends, of course to do this you may want to install aptitude...

Note however ubuntu-desktop is a meta-package; you may wish to not install it at all, and just pick the minimal bits you need, eg xorg & say, LXDE

sudo apt-get install lxde

You can see the contents of the meta-package here:
http://packages.ubuntu.com/natty/ubuntu-desktop

For the the bits that the metapackages pulls in that you actually want, just use:

apt-get install PACKAGENAME

Finally, I'd recommend installing localepurge if you need to save on diskspace, it removes languages you don't want, and can save a substantial amount of space. You may also want to trash your manpages dir.

http://www.debianadmin.com/remove-unnecessary-files-in-debian-and-ubuntu-using-localepurge.html

Revision history for this message
Alex Monteiro Sartin (alekiss-com) said :
#2

Thanks mycae, you were very helpfull.