This site is now 100% read-only, and retired.

Getting a GUI

Posted by kamaraju on Tue 3 Jan 2006 at 10:51

Tags: none.

After installing Debian, often one is left with just a command line prompt waiting for the user to enter login and password. If you are coming from Microsoft Windows environment, this command line prompt looks similar to the DOS prompt. This article explains how to get a GUI environment after installing basic Debian.

Since I have experience only with KDE, I will try to focus just on installing KDE.

In order to get a working GUI as quickly as possible, run the following two commands as root.

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

This will fetch all the required packages necessary to run KDE.

During the installation of the packages there will be some questions regarding configuring X environment etc., Once you finish answering all the questions, you will get a working KDE environment.

 

 


Re: Getting a GUI
Posted by Anonymous (195.167.xx.xx) on Tue 3 Jan 2006 at 11:10
The kde package install almost all packages related to kde (including games). You will not need most of them.
I advise to install the kdebase package instead and add later the programs you really need. Happy KDE experience :)

Fnor

[ Parent ]

Re: Getting a GUI
Posted by shufla (83.22.xx.xx) on Tue 3 Jan 2006 at 11:45
Hello,

Indeed, but for entering user it's very nice to have all installed. Todays space storage is capable enough to provide space for all of KDE (and even Gnome).

BTW - I'd like to see more that mini-article touched.

Best Regards,
Luke

PS. Yes, my english is horrible. ;)

[ Parent ]

Re: Getting a GUI
Posted by simonw (84.45.xx.xx) on Wed 4 Jan 2006 at 00:30
[ View Weblogs ]
Seconded.

I did an install on a box for someone, and he kept complaining that bits were missing and he needed to use "apt" to get them.

When he tried MACOS he was happy it was all "just there".

That the MACOS install took 5 times the disk space available on the machine we installed Debian on, seemed to pass him by. Especially when we still had a couple of Gig free for him to use.

If you are setting up Debian for a newbie, use decent, compatible, hardware, and stick in as many of the 16 thousand packages as patience, bandwidth, and conflicts will allow.

[ Parent ]

Re: Getting a GUI
Posted by unixsurfer (212.136.xx.xx) on Tue 3 Jan 2006 at 12:29
Hi,
If I have kde installed and I want to use only the kde apps which are included in kdebase, is it possible to have kdebase installed without first remove kde and then instal kdebase?

thanks
unixsurfer

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (212.248.xx.xx) on Tue 3 Jan 2006 at 14:09
the debian "kde" is just a meta-package, a mechanism to force apt to install a number of other packages. The "kde" package depends on other metapackages (kdegames, kdemultimedia, kdeadmin, etc) that in turn depend on the "real" programs.

If you then want to remove a "lower" package (say, kdegames) apt will warn that you are removing "kde", but you are actually just removing only the metapackage, not all its dependencies; so kdebase, kdelibs, etc will stay there.

Hence, if you just want kdebase, you could do:
apt-get remove kdemultimedia kdeadmin kdenetwork kdepim kdeaddons kdeartwork kdeutils kdewebdev kdegraphics kdegames (or kde-amusements, depending on the version you have, and I might forget something)
You'll see that kdebase (and kdelibs, an essential package) will stay there even after APT removes "kde", like a lower brick in a pyramid would stay put if someone took out the top :)

The same would happen if you removed a single program in a metapackage, say kcalc: after
apt-get remove kcalc
APT will complain that you are removing "kdeutils"; but all the other programs included in the "kdeutils" metapackage will stay there. I'd personally reccomend to install everything and then take out the single programs you don't need.

[ Parent ]

Re: Getting a GUI
Posted by unixsurfer (80.56.xx.xx) on Tue 3 Jan 2006 at 17:07
thanks for the info but
you said that if I remove kcalc which is part of the kdeutils metapackage I will not lose the rest packacges of the kdeutils meta package.
I did a test removing the kmilo and see what happenned

# aptitude remove kmilo
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are unused and will be REMOVED:
ark dosfstools kcalc kcharselect kdelirc kdessh kdf kedit kfloppy kgpg
khexedit kjots klaptopdaemon ksim ktimer kwalletmanager
The following packages will be automatically REMOVED:
kdeutils
The following packages will be REMOVED:
kdeutils kmilo
0 packages upgraded, 0 newly installed, 18 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 11.1MB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 123000 files and directories currently installed.)
Removing kdeutils ...
Removing ark ...
Removing kfloppy ...
Removing dosfstools ...
Removing kcalc ...
Removing kcharselect ...
Removing kdelirc ...
Removing kdessh ...
Removing kdf ...
Removing kedit ...
Removing kgpg ...
Removing khexedit ...
Removing kjots ...
Removing klaptopdaemon ...
Removing kmilo ...
Removing ksim ...
Removing ktimer ...
Removing kwalletmanager ...
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done


# aptitude show kcalc|grep State
State: not installed (configuration files remain)

aptitude show kpdf|grep State
State: installed

so, some packages were removed and some were not!

how can I see what packages a meta package includes?

regards,
unixsurfer

[ Parent ]

Re: Getting a GUI
Posted by rhemasoundorg (66.23.xx.xx) on Tue 3 Jan 2006 at 19:58
if it is not already installed do
#apt-get install aptitude

then open aptitude which is a text(actually ncurses) based package menu.
To search for the kde package use "/kde" to serach. I have found that aptitude uses a keybinding similar to vim.

Hope that helps... I started using Debian Woody with Dselect and almost tore my hair out trying to find and install packages. Sarge defaults to aptitude. Now that I am more familiar with some packages I use apt-get a good bit.

[ Parent ]

Re: Getting a GUI - removing packages
Posted by Anonymous (83.252.xx.xx) on Thu 22 Jun 2006 at 12:06
I have seen this happen too - when tryin to remove a single kde-game apt-get wanted to remove entire kde, so i had to keep that game. Guess some dependicies are broken.

[ Parent ]

Just to clarify...
Posted by polat_eyez (124.183.xx.xx) on Fri 7 Jul 2006 at 11:39
Hey, I'm new to Debian. I'm trying to get a bit more power out of my machine, so I'm going through and deleting packages I don't need.
We don't have a printer at present, nor am I on a laptop. There are a few K applications dealing with these circumstances that I'd like to get rid of, but each one tells me it's going to remove kde, kde-core, or kdeutils (I'm using Synaptic to mark the packages).
Just so I know, does this mean I don't have to worry about removing meta-packages, as the packages it contains will remain? I'm sure this will come in handy down the track...

[ Parent ]

Re: Getting a GUI
Posted by a3ulafia (66.11.xx.xx) on Tue 3 Jan 2006 at 23:51
If you prefer Gnome, change that line to:

apt-get install x-window-system gnome gdm

If you prefer to not use a desktop environment, I would recommend fluxbox, mrxvt, gkrellm and rox-filer as my favorite window manager, terminal, system monitor, file browser combination. You can get all these with:

apt-get install x-window-system fluxbox mrxvt gkrellm rox-filer

-l

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (194.47.xx.xx) on Fri 6 Jan 2006 at 11:42
Now that seems nice :)

Never heard of rox-filer before, but I've always been tired of Nautilus and this looks like a very good alternative.

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (213.55.xx.xx) on Thu 30 Nov 2006 at 11:06
I am use this "apt-get install x-window-system gnome gdm "
commande line to use my GUI mode interface but the reply is E: couldn't find package x-window-system .what does it means?

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (85.29.xx.xx) on Sat 7 Jan 2006 at 09:48
It is possible to install the meta-package "x-window-system-core" that doesn't include xterm or xdm. There are also meta-packages "kde-core" and "gnome-core" that include less applications than the meta-packages "kde" and "gnome".

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (213.55.xx.xx) on Thu 30 Nov 2006 at 11:15
how can install x-window-system-core"?

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (82.224.xx.xx) on Sat 7 Jan 2006 at 10:18
You can also use the tasksel command to install a "Graphical Desktop".

Tasksel may be use during the install of Debian, but you may launch at any time :

tasksel

It should be already installed, else just apt-get tasksel.

Regards

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (86.39.xx.xx) on Tue 10 Jan 2006 at 16:20
Shouldn't we say that

startx

will start you graphical UI ??

(startkde does the job too ..)

Marc

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (66.30.xx.xx) on Wed 18 Jan 2006 at 19:38
only if it's installed ;)

~viper~

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (67.177.xx.xx) on Thu 13 Apr 2006 at 09:21
also keep in mind that if you use KDM as stated in the how-to then you will not need to us startx unless KDM was not set to run for any reason but it is still useable information. When I first started you have no idea how long it took to seriously figure that one out.

-Trash

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (88.111.xx.xx) on Fri 21 Apr 2006 at 15:32
When I try the command on my net installed amd64 version "apt-get install kde" then it all goes well untill I press y for yes and hit enter... it insists on a "media change". "please insert the disk labled Debian GNU/Linux testing Etch- Official Snapshot amd64 Binary-1 (20060314". could someone please help. or I don't mind downloading it if it's out there somewhere.

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (69.253.xx.xx) on Sun 28 May 2006 at 02:13
Media changes refer to switching the debian install disks. If you dont have them (and I cant blame you, theres 14 to download), they should be available as .iso files on debians website as torrents.

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (86.144.xx.xx) on Mon 5 Jun 2006 at 21:55
Perfect....Just what I needed. Thankyou

[ Parent ]

Re: GUI ..download the 14 CDs + 2 updates
Posted by Anonymous (82.67.xx.xx) on Sun 18 Jun 2006 at 12:40
fastest places in good order downloading from Paris:
http://ftp.gva.es/mirror/debian-cd/current/i386/iso-cd/
http://cdimage.debian.org/debian-cd/3.1_r2/i386/iso-cd/
http://ftp.nl.debian.org/debian-cd/current/i386/iso-cd/
...
to get back to our GUI issue, amazing that all those brains have not managed in years to offer an intuitive approach to installation and the rest with a tree structure access with up-down-left-right arrow keys ... so weird, almost like some competitor gave them a personal phone call... "an offer you can't refuse" to just play dumb and not write the 10M code to implement it.
...
In the meantime let's just study the silly two thousand lines of DOS-like commands like when we first had those 'puters in the seventies, we had to propell with coal (but they were fun and warm in winter).
:-)
Eric

[ Parent ]

Re: Getting a GUI
Posted by Anonymous (125.63.xx.xx) on Tue 4 May 2010 at 14:19
After running the given command line for debian sarge GUI, what the next step to follow for having a look of GUI and work on it.

[ Parent ]