LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-29-2010, 08:00 AM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
choosing packages on install


Hi all,
is there a way to choose packages when installing Debian? Normally I use min install but that still puts on many packages I don't want, is there some way of getting up a screen to select/deselect packages?
Thanks.
 
Old 10-29-2010, 08:28 AM   #2
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 615

Rep: Reputation: 98
This website interests me: http://auriza.site40.net/notes/debia...-installation/

When it comes to "5. Install Basic Xfce Desktop" use the first line ONCE (You need to be Root or install sudo)
Quote:
apt-get install --no-install-recommends
. THEN switch to apt-get install XXX and go through one line at a time e.g.
Quote:
apt-get install xorg xfce4 slim alsa-base alsa-utils
Quote:
apt-get install hal gamin dbus-x11 sudo xdg-utils
As long as you don't close the terminal it keeps
Quote:
apt-get install --no-install-recommends
and you do not need to reproduce it.

I think that Synaptic will install recommends, at least I cannot yet find a way of stopping it - so look at Synaptic but use the Terminal with
Quote:
apt-get install --no-install-recommends
 
Old 10-29-2010, 08:29 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Now way to select packages during install. If you deselect Desktop and Standard in the TaskSel-part of the installation this is a minimum install. To get even less packages you have to install with debootstrap, but the you will have to do anything else, like installing kernel, installing bootloader, setting up users and passwords yourself.
 
Old 10-29-2010, 08:34 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by arochester View Post
This website interests me: http://auriza.site40.net/notes/debia...-installation/

When it comes to "5. Install Basic Xfce Desktop" use the first line ONCE (You need to be Root or install sudo). THEN switch to apt-get install XXX and go through one line at a time e.g.

As long as you don't close the terminal it keeps and you do not need to reproduce it.

I think that Synaptic will install recommends, at least I cannot yet find a way of stopping it - so look at Synaptic but use the Terminal with
This all are steps after the minimal installation mentioned by the OP. By the way, you can configure the behaviour of apt (and therefore synaptic) with the files in /etc/apt/, Apt in the Debian wiki, have a look at AptConf and AptPreferences.
 
Old 11-15-2010, 09:45 PM   #5
beowulfnode
Member
 
Registered: Jun 2007
Distribution: debian, ubuntu, centos, esxi
Posts: 39

Rep: Reputation: 4
To get rid of stuff I don't want from a minimal install I like the command

aptitude markauto packagename

This will uninstall the package if nothing has it listed as a dependency, but keep it if something does depend on it. I generally do this to anything that is already installed and I don't think I need/want plus generally all installed packages starting with lib.

you can also go through the aptitude interface with the M and m keys to mark stuff as auto or not. Note that you can mark entire categories of installed packages as auto as well as individual packages. Try and start with any installed meta packages.
However even this does get tedious and I'm looking for a way of getting a list together that I can just paste in to a terminal window or store in a script file.

There's probably some nifty
package list | grep regex | other stuff
command that can help with doing this sort of thing

Last edited by beowulfnode; 11-16-2010 at 01:40 AM. Reason: extra info
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing things to install with VMware or bringing up that list of packages to instal slickrcbd Red Hat 1 08-23-2010 01:33 PM
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
RHEL 5 - choosing packages for a minimal embedded system lqcaveman Linux - Newbie 1 05-06-2009 02:24 PM
How do I install kernel modules for 2.6.17.13 after choosing huge26.s in install? i.of.the.storm Slackware - Installation 7 02-18-2007 08:03 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration