Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to get the Debian graphical environment
How to get the Debian graphical environment
Dear all,
I recently installed debian 7.7.0 i386 on my virtual machine in windows... The installation went well and i think I forgot to check the graphical desktop environment during installation. Now after installation i come up with the Linux command line, Could anybody tell me how to get the desktop graphical environment without re installing please..
Many thanks
I recently installed debian 7.7.0 i386 on my virtual machine in windows... The installation went well and i think I forgot to check the graphical desktop environment during installation. Now after installation i come up with the Linux command line, Could anybody tell me how to get the desktop graphical environment without re installing please..
Many thanks
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: How to get the Debian graphical environment
See: https://wiki.debian.org/tasksel
For GNOME:
https://wiki.debian.org/Gnome#task
For KDE:
https://wiki.debian.org/KDE#task
For GNOME:
Code: Select all
# apt-get install aptitude tasksel
# tasksel install gnome-desktop --new-install
For KDE:
https://wiki.debian.org/KDE#task
deadbang
Re: How to get the Debian graphical environment
Shooting with bombs at a sparrow, huh?Head_on_a_Stick wrote:See: https://wiki.debian.org/tasksel
For GNOME:https://wiki.debian.org/Gnome#taskCode: Select all
# apt-get install aptitude tasksel # tasksel install gnome-desktop --new-install
For KDE:
https://wiki.debian.org/KDE#task
Re: How to get the Debian graphical environment
Why?schnuller wrote:Shooting with bombs at a sparrow, huh?
Is there an easier/faster/better way to get what the OP wants (i.e. to get their system to the state it would have been in if they had selected the "Desktop environment"-task during installation)?
Re: How to get the Debian graphical environment
Code: Select all
# apt-get install <name_of_GUI>
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: How to get the Debian graphical environment
@schnuller -- better safe than sorry
@OP: my version ensures that the environment installed is exactly how it would have been had you selected that DE from the installer menu.
@OP: my version ensures that the environment installed is exactly how it would have been had you selected that DE from the installer menu.
deadbang
Re: How to get the Debian graphical environment
I am curious. What differences are there between Gnome, KDE, Xfce and LXDE installed from the repository and installed from the installation disc?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: How to get the Debian graphical environment
I have no idea -- that's why I suggested using the tasksel method...Randicus wrote:I am curious. What differences are there between Gnome, KDE, Xfce and LXDE installed from the repository and installed from the installation disc?
deadbang
Re: How to get the Debian graphical environment
Why would there be a difference? The DE on the disc is the same one that is in the repository, which is why apt-get install whichever-DE will be the same result as installing the DE during installation of the system.
Re: How to get the Debian graphical environment
I would say:
If you choose [*]environment during installation, then you will get everything tasksel considers to be part of a given DE (i recall xfce4 came with OpenBox; typo: i mean OpenOffice).
If you install the DE after installation, you will get only the environment (if you use the tasksel method, there won't be a difference).
I wouldn't bet, but that is what i would guess.
There are commands for tasksel which will list all packages which will be installed (they can be found in man or at wiki.debian, but i don't care enough to search). The dependencies of an environment will be listed by apt-cache show.
If you choose [*]environment during installation, then you will get everything tasksel considers to be part of a given DE (i recall xfce4 came with OpenBox; typo: i mean OpenOffice).
If you install the DE after installation, you will get only the environment (if you use the tasksel method, there won't be a difference).
I wouldn't bet, but that is what i would guess.
There are commands for tasksel which will list all packages which will be installed (they can be found in man or at wiki.debian, but i don't care enough to search). The dependencies of an environment will be listed by apt-cache show.
Last edited by schnuller on 2014-12-19 13:28, edited 1 time in total.
Re: How to get the Debian graphical environment
@Randicus:
To install a WM or DE with a plain apt-get or aptitude install, you need to know the name of the package(s) which contain said WM or DE. Since the OP didn't ask "How do I install Gnome/KDE/Xfce/LXDE/...?", but "how [do I] get the desktop graphical environment without re installing?", I assume that they don't know which package(s) that would be for their WM/DE of choice (if they even have such a preference yet). Furthermore, for the large DEs, there are several packages that might be applicable here: gnome, gnome-desktop-environment, gnome-core, task-gnome-desktop for Gnome and kde-full, kde-standard, kde-plasma-desktop and task-kde-desktop for KDE (and perhaps more; those are just the ones mentioned on the respective Wiki pages).
That's why I think Head_on_a_Stick's advice to use tasksel is correct here. It produces exactly the result the OP would have got, if they had selected the graphical desktop environment during installation.
To install a WM or DE with a plain apt-get or aptitude install, you need to know the name of the package(s) which contain said WM or DE. Since the OP didn't ask "How do I install Gnome/KDE/Xfce/LXDE/...?", but "how [do I] get the desktop graphical environment without re installing?", I assume that they don't know which package(s) that would be for their WM/DE of choice (if they even have such a preference yet). Furthermore, for the large DEs, there are several packages that might be applicable here: gnome, gnome-desktop-environment, gnome-core, task-gnome-desktop for Gnome and kde-full, kde-standard, kde-plasma-desktop and task-kde-desktop for KDE (and perhaps more; those are just the ones mentioned on the respective Wiki pages).
That's why I think Head_on_a_Stick's advice to use tasksel is correct here. It produces exactly the result the OP would have got, if they had selected the graphical desktop environment during installation.
Re: How to get the Debian graphical environment
There is no need to be aware of all of a DE's packages. A newbie will want the full DE. (Which is what is on the disc.) apt-get install is quick and easy.Since the OP didn't ask "How do I install Gnome/KDE/Xfce/LXDE/...?", but "how [do I] get the desktop graphical environment without re installing?", I assume that they don't know which package(s) that would be for their WM/DE of choice
How is that relevant for newbies who do not know so much as the name of their DEs? It is better to give them easy procedures than confuse them with directions more complicated than they need to be.Furthermore, for the large DEs, there are several packages that might be applicable here: gnome, gnome-desktop-environment, gnome-core, task-gnome-desktop for Gnome and kde-full, kde-standard, kde-plasma-desktop and task-kde-desktop for KDE
And again, the suggestion is being raised that a DE from the repository might be different than one installed from the installation disc. The DE on the disc is the same DE that is in the repo.That's why I think Head_on_a_Stick's advice to use tasksel is correct here. It produces exactly the result the OP would have got, if they had selected the graphical desktop environment during installation.
No it does not. Before moving to adding Openbox to a minimal installation, I would install with Xfce and then add OB. Perhaps you were thinking of LXDE and typed Xfce?schnuller wrote:I would say:
If you choose [*]environment during installation, then you will get everything tasksel considers to be part of a given DE (i recall xfce4 came with OpenBox).
Anyway; the point is:
Install with one of the four DEs.
or
Install without a DE and add one after installation.
Same result.
WMs do not enter the discussion.
Re: How to get the Debian graphical environment
I confused OpenBox with OpenOffice. A typo.
My point was not OpenOffice. My point was that tasksel installs a different set of apps than only the DE.
So no: it is not the same result.
Hence back in the glory days most, if not all, people adviced to deselect [*]environment during installation choose a DE and only a DE of choice after installation (or a WM, or no GUI at all).
In this thread all that matters is a DE. If one installs the DE during installation, it will be pretty bloated (with additional apps, the ones tasksel will add).
To put it different: During installation more than just the DE and it's dependencies will be installed; if one choosed [*]environment.
My point was not OpenOffice. My point was that tasksel installs a different set of apps than only the DE.
So no: it is not the same result.
Hence back in the glory days most, if not all, people adviced to deselect [*]environment during installation choose a DE and only a DE of choice after installation (or a WM, or no GUI at all).
In this thread all that matters is a DE. If one installs the DE during installation, it will be pretty bloated (with additional apps, the ones tasksel will add).
To put it different: During installation more than just the DE and it's dependencies will be installed; if one choosed [*]environment.
Re: How to get the Debian graphical environment
bit odd that a user with > 2000 posts doesn't know such ...
Re: How to get the Debian graphical environment
I never said that you needed to be aware of all of a DE's packages. But your advice wasRandicus wrote: There is no need to be aware of all of a DE's packages. A newbie will want the full DE. (Which is what is on the disc.) apt-get install is quick and easy.
Code: Select all
# apt-get install <name_of_GUI>
It is relevant, because if a newbie is given incomplete advice such as yourRandicus wrote:How is that relevant for newbies who do not know so much as the name of their DEs? It is better to give them easy procedures than confuse them with directions more complicated than they need to be.Furthermore, for the large DEs, there are several packages that might be applicable here: gnome, gnome-desktop-environment, gnome-core, task-gnome-desktop for Gnome and kde-full, kde-standard, kde-plasma-desktop and task-kde-desktop for KDE
Code: Select all
# apt-get install <name_of_GUI>
It seems to me, that the only person claiming that such a difference has been suggested, is you. I certainly didn't suggest such a thing.Randicus wrote: And again, the suggestion is being raised that a DE from the repository might be different than one installed from the installation disc. The DE on the disc is the same DE that is in the repo.