June 16, 2008

Tutorial: Easy Minimum Debian Installation

Notice: I published an updated version of this tutorial here, for Debian Lenny.

Debian Lenny installs by default the entire X Window System and the GNOME desktop environment.

In order to have only a minimum and basic Debian installation, when the installer reaches to the window where it asks you to select which software you want to install (including Web Server, Desktop Environment, Basic System and several more options), deselect Desktop Environment and make sure Basic System remains selected (use SPACE to select/deselect options).

After Debian installs the basic system, it will ask for a reboot, then it will present you with a nice shell login. Login as user, type su, then enter your root password. Now you'll be logged on as root, so be very careful with the commands you issue.

Next, to install a desktop environment, issue one of the following commands:

For KDE:

apt-get install x-window-system-core kdm kde-core


apt-get install x-window-system-core gdm gnome-core

The first one will install the X window system, the K Display Manager, and only the basic libraries and applications KDE provides, while the last one will install the GNOME Display Manager and GNOME's libraries and basic applications.

Now everything should be in place, so it's time to fire up the GUI:

/etc/init.d/kdm start

Or, for GNOME:

/etc/init.d/gdm start

Login with your username and that should be all.

Updated: Jun 16, 2008 (Created: Jun 16, 2008)


braincrapped said...

It's easier to have a minimum install with netinst iso.

If you want a non-Gnome desktop environment, look for:

- debian-LennyBeta2-i386-kde-CD-1.iso

- debian-LennyBeta2-i386-xfce-CD-1.iso

P.S. Complete Lenny's iso list.

Anonymous said...

Dude you say Minimum Debian Installation but yet during the process you give instructions on how to deselect desktop then after base install, install gnome or kde again... lol dudeeeeeee. wtf???

Anonymous said...

Is it possible to get a minimum install of KDE withouth it's Debian configuration? I mean: A default KDE installation, instead of just accepting what the Debian KDE Team thinks is best for me?

Will I get HAL with this minimum install? If so, it is not very minimalistic.