LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-02-2012, 05:19 PM   #1
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Rep: Reputation: Disabled
How do I remove all packages related to the desktop environment?


Hey guys, I've just installed the lightweight net setup of Debian, then accidentally selected the desktop environment, thus defeating the object of installing the lightweight version. Is there a way to automatically remove the packages related to the desktop environment so it would be as if I installed the bare bones?

Thanks in advance
 
Old 07-02-2012, 05:28 PM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Location: Spain
Distribution: Debian Sid, OpenSUSE 42.3
Posts: 1,217

Rep: Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660
I haven't tried this myself, but you could try the following:

Code:
tasksel remove desktop
Let us know if it works.
 
Old 07-02-2012, 06:18 PM   #3
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
As this sounds like you just installed this, How about just reinstalling. That way you know it's clean.

Practice, Practice, Practice, nad then some more.

And then..........
 
Old 07-02-2012, 08:26 PM   #4
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Quote:
Originally Posted by etech3 View Post
As this sounds like you just installed this, How about just reinstalling. That way you know it's clean.

Practice, Practice, Practice, nad then some more.

And then..........

That would be the easy way out but then he would never learn Apt that either.

Code:
apt-get purge gnome
Code:
aptitude purge ~c
And stuff like that.
 
Old 07-02-2012, 08:55 PM   #5
Hungry ghost
Senior Member
 
Registered: Dec 2004
Location: Spain
Distribution: Debian Sid, OpenSUSE 42.3
Posts: 1,217

Rep: Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660Reputation: 660
Besides, using apt-get, aptitude or tasksel in this case is more practical, since it would save the OP the hassle of reinstalling the whole OS.
 
Old 07-02-2012, 09:43 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Quote:
Originally Posted by odiseo77 View Post
Besides, using apt-get, aptitude or tasksel in this case is more practical, since it would save the OP the hassle of reinstalling the whole OS.
Yes.

And the OP has not said that the object was to run without a DE. Just not a full blown DE.

If a few, and it would be very few if any at this point, packages were left behind they would not ammount to a hill of beans. Very likely be reinstalled with any DE anyway.

I would suggest OpenBox.
 
Old 07-02-2012, 09:59 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
When you installed you used tasksel to install the packages.
Log in to root in single-user mode
Quote:
tasksel
uncheck DE
 
Old 07-03-2012, 06:22 AM   #8
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for the help guys. I ended up doing a complete reinstall anyway. I wouldn't trust myself to completely remove all the extra packages that would come with the full blown DE. I'm just an adventurous user moving from Lubuntu so I'll pick it up as I go along. Going for a minimal install, I'm torn between OpenBox and Fluxbox.

Again, thanks for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MATE Desktop Environment packages for Slackware gapan Slackware 102 08-29-2013 10:07 AM
Cannot remove KDE desktop environment? Ubuntonian Linux - Desktop 6 12-26-2010 09:06 PM
evolution-webcal wants to remove gnome-desktop-environment radiodee1 Debian 1 01-21-2008 12:50 PM
How to remove GUI or Desktop environment in linux bangoram Linux - General 2 05-23-2007 08:58 AM
X server and desktop environment's packages on Sarge lixy Debian 5 02-22-2005 11:15 PM

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

All times are GMT -5. The time now is 06:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration