Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Community Discussions > Other OS Talk > Distributions > Debian
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read


The Ubuntu Forums have grown tremendously over the years. While we regret that we are discontinuing our Other OS Talk category, this gives us an opportunity to help other Linux distributions grow by directing traffic to the websites of these distributions.

Here is a list of the official websites for the operating systems that used to have individual forums here. We hope you are able to find further assistance from there. And finally, if you haven't yet found what you are looking for, we suggest you look for information on the DistroWatch website or you might try the multi-distribution LinuxQuestions forum.

Debian
Discussion on Debian Linux or alternatives (excluding Ubuntu).

 
 
Thread Tools Display Modes
Old December 24th, 2007   #1
jperez
Gee! These Aren't Roasted!
 
jperez's Avatar
 
Join Date: Jun 2006
Location: Fort Collins, Colorado
Beans: 197
Ubuntu Karmic Koala (testing)
Send a message via MSN to jperez Send a message via Skype™ to jperez
HOWTO: Minimal Debian Install (GNOME/KDE)

I figured this was the best place to put it since it's a Debian forum.

I am making this tutorial for those that are just starting out with Linux and don't want to have Ubuntu/Kubuntu since it seems a little bloated, just because of the many programs that you may never use, or have Ubuntu/Kubuntu and don't want the bloat.

Take me for instance. When I first installed Ubuntu on my laptop a few months ago and now have Kubuntu on my PC, it has many other programs that I have no need for! What did I do? I discovered Debian Etch 4.0 and it's Net Install CD. Well, when I installed GNOME and KDE, there was still quite a bit of bloat to it since GNOME and KDE come with their own programs and it can run your space and sometimes your resources down a few notches. This is especially true of older or low disk space machines.

It took me a while, but with the tidbits of info I found on the internet, I was finally able to achieve my goal.

What you will need:
Debian Etch 4.0r1 (Stable) Net Install CD [ISO]
An internet connection (broadband recommended)
At least 2GB of space

To start off, make sure to get the ISO that relates to your PC. Once you've downloaded and burned the ISO, it's time to start!

Put the CD into your CD/DVD-ROM drive and reboot your computer. When it comes up to the Debian Install startup screen, press enter and the the text installation should start.

Select all options that apply to you and keep an eye out for a dialog box asking about using a network mirror. When this screen comes up, choose No. Choose to install GRUB and let the install finish.

If the install stops at a certain point with an error that won't let you proceed, even if it says you can skip it but won't let you, then simply restart your PC and try again.

Now, here's where the real fun begins.

When the PC restarts and it gets to the UNIX login screen, login as root and use the password you provided for the root account during the install.

Once logged in, type:

Code:
nano /etc/apt/sources.list
And put this into the file:

Code:
deb http://ftp.debian.org/debian etch main contrib non-free
deb-src http://ftp.debian.org/debian etch main contrib non-free
Make sure to comment out the CD-ROM repository entry by putting a number sign (#) in front of it, like this:

Code:
# deb cdrom:...
Save it (Ctrl+O) and exit (Ctrl+X) and type in:

Code:
apt-get update
This will update the repositories list. Once you it's done, we're going to install the base core files needed to run a visual desktop environment, or just the desktop. As an example, we'll use GNOME, so type in:

Code:
apt-get install xorg gnome-core gdm
This will setup the XOrg server, GNOME core files and the GNOME Display Manager onto your machine. If you want KDE, type:

Code:
apt-get install xorg kde-core kdm
Now, for the Display Manager (login manager), you can use a very limited, simplistic one. That that, instead of gdm/kdm, use xdm.

Now, most people don't want to have to work on the terminal all the time. For me, I like the full control of the terminal over a GUI like Synaptic, but for the sake of those that are starting out or just plain don't like the CLI (Command-Line Interface), type in:

Code:
apt-get install synaptic dwww deborphan libgnome2-perl
After all that is done, reboot and let it start up. You're set! Now you can install a File Manager, Web Browser, Music player, etc of your choice.

Another thing you can do is if you've had a different distribution before and decided to try something new and want to have the same programs, then simply go to the Synaptic Manager and do this:

Code:
File -> Generate package download script
This will generate a shell (terminal) script to download all the packages you've installed on the other distro so they can be downloaded and installed on your new install.

MANY more thanks to indigo196 for helping me with the shorter version of the minimal install, addition of Synaptic and the suggestion to include the generated script for new systems.

Have fun!

Jesse~
__________________
Currently running Operating Systems:
Windows XP Professional SP3 | Ubuntu Karmic Koala 9.10 | Mac OS X Tiger (10.4.11) PPC | Maemo Linux OS2008 (Diablo 5.2008.43-7)

Last edited by jperez; December 25th, 2007 at 04:40 PM.. Reason: Updating HOWTO
jperez is offline  
Old December 24th, 2007   #2
cprofitt
Dark Roasted Ubuntu
 
cprofitt's Avatar
 
Join Date: Mar 2007
Location: Rochester, NY USA
Beans: 1,049
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Minimal Debian Install (w/ Minimal GNOME)

I am in the process of making a complete list -- there are some items that you have left off.

I also find it easier to use apt-get install gnome-core than do all the individual things... I will post my steps as I complete them later this week.
__________________
NY Loco | UFW (firewall) | BT Security Focus Group | Ubuntu Educators | Ubuntu Gaming Night
----
"Something's going on contrary to the laws of the universe. I must find out what!" - The Doctor
cprofitt is offline  
Old December 24th, 2007   #3
jperez
Gee! These Aren't Roasted!
 
jperez's Avatar
 
Join Date: Jun 2006
Location: Fort Collins, Colorado
Beans: 197
Ubuntu Karmic Koala (testing)
Send a message via MSN to jperez Send a message via Skype™ to jperez
Re: HOWTO: Minimal Debian Install (w/ Minimal GNOME)

Thanks! If you have a simpler way of doing that, then that's perfect. Also, what would I be missing? I followed that and it worked out quite well for me with a minimal install.

Jesse~
__________________
Currently running Operating Systems:
Windows XP Professional SP3 | Ubuntu Karmic Koala 9.10 | Mac OS X Tiger (10.4.11) PPC | Maemo Linux OS2008 (Diablo 5.2008.43-7)
jperez is offline  
Old December 24th, 2007   #4
cprofitt
Dark Roasted Ubuntu
 
cprofitt's Avatar
 
Join Date: Mar 2007
Location: Rochester, NY USA
Beans: 1,049
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Minimal Debian Install (w/ Minimal GNOME)

OK...

I will edit this post as I run through the build I am doing on my HP Tablet.

The first step was to install from the CD - Netinstall.

reboot.

Code:
apt-get install gnome-core xorg gdm gnome-volume-manager
reboot

the next really big step was to install synaptic

Code:
apt-get install synaptic deborphan libgnome2-perl
I then edit my /etc/apt/sources.list and simply comment out the CD entry

Code:
# deb cdrom: [Debiant GNU/Linux 4.0 r1 _Etch_ - Official i386
If you are using 64bit or another architecture the line will be slightly different.

Code:
apt-get update
apt-get upgrade
reboot

From here you need to add apps and functionality, but you should be set to go as far as the base. I will post some sep. posts for the areas I find necessary for giving me a good 'working' laptop.
__________________
NY Loco | UFW (firewall) | BT Security Focus Group | Ubuntu Educators | Ubuntu Gaming Night
----
"Something's going on contrary to the laws of the universe. I must find out what!" - The Doctor

Last edited by cprofitt; December 24th, 2007 at 06:50 PM..
cprofitt is offline  
Old December 24th, 2007   #5
cprofitt
Dark Roasted Ubuntu
 
cprofitt's Avatar
 
Join Date: Mar 2007
Location: Rochester, NY USA
Beans: 1,049
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Minimal Debian Install (w/ Minimal GNOME)

Increased Functionality

Code:
apt-get install alacarte
So you can edit your menus.

Code:
apt-get install alsa-base asla-utils alsa-tools alsa-oss apmd discover
This give your some sound.

More to come, but guests have arrived.
__________________
NY Loco | UFW (firewall) | BT Security Focus Group | Ubuntu Educators | Ubuntu Gaming Night
----
"Something's going on contrary to the laws of the universe. I must find out what!" - The Doctor

Last edited by cprofitt; December 24th, 2007 at 07:29 PM..
cprofitt is offline  
Old December 24th, 2007   #6
jperez
Gee! These Aren't Roasted!
 
jperez's Avatar
 
Join Date: Jun 2006
Location: Fort Collins, Colorado
Beans: 197
Ubuntu Karmic Koala (testing)
Send a message via MSN to jperez Send a message via Skype™ to jperez
Re: HOWTO: Minimal Debian Install (w/ Minimal GNOME)

Yeah, that shortens the individual package process and also, you don't really need to have synaptic. I don't have it because I'm conserving space. On a 2.2GB hard drive, taking up space is not an option. Yeah, I install a lot of software from the command line, but that's better for me since I have more control over the files that way.

I did leave out the fact that you need to comment out the CD-ROM though. Thanks for reminding me.

I'll update the thread with your added info.

Jesse~
__________________
Currently running Operating Systems:
Windows XP Professional SP3 | Ubuntu Karmic Koala 9.10 | Mac OS X Tiger (10.4.11) PPC | Maemo Linux OS2008 (Diablo 5.2008.43-7)
jperez is offline  
Old December 25th, 2007   #7
jperez
Gee! These Aren't Roasted!
 
jperez's Avatar
 
Join Date: Jun 2006
Location: Fort Collins, Colorado
Beans: 197
Ubuntu Karmic Koala (testing)
Send a message via MSN to jperez Send a message via Skype™ to jperez
Re: HOWTO: Minimal Debian Install (w/ Minimal GNOME)

Updated the HOWTO to include the KDE minimal and Synaptic Script for configuring your new install to have the same packages as your old install.
__________________
Currently running Operating Systems:
Windows XP Professional SP3 | Ubuntu Karmic Koala 9.10 | Mac OS X Tiger (10.4.11) PPC | Maemo Linux OS2008 (Diablo 5.2008.43-7)
jperez is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:19 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry