[NTLUG:Discuss] Command line

David Stanaway david at stanaway.net
Thu Oct 16 08:11:07 CDT 2008


apt-get remove will ininstall the package

Your example though is a psuedo package that depends on a bunch of other 
packages which don't have a dependency on

kubuntu-desktop

So, you will probably still have all your KDE packages etc still installed.

In that situation, I try and pick a few core dependencies of the system I want to remove then apt-get remove them, eg. KDE libraries and Qt libraries. That should via dependencies cascade to most of the KDE suit. Be careful though that you don't have any unintended consequences.

dpkg --get-selections 


is a handy tool for snapshotting the installed state of packages. 


There is a util you can install which looks for orphaned packages which 
can be left behind by installing something, then uninstalling (But 
leaving dependencies).

I think it was called deborphan. You could use deborphan in combination 
with apt-get-remove for several passes until all your orphaned libraries 
etc are gone.


Allen Meyers wrote:
> Command line for this newbie continues to be an exciting learning curve and I would appreciate insight into a general question and 2 specific questions.
> 1. when one is installing a package is there a facility for each one of those installation command lines to uninstall as well
> 2. Specifically is there an uninstall for sudo apt-get install kubuntu-desktop?
> Ok the logical would be to substitute uninstall for install but scary stuff if you are a newbie.
> 3. I am faces with an installation that requires a bunch of terminal entries and right off the bat the first line for me is confusion
>
>
>
> 	
> 	
> 	
> 	
> 	
> 	
>
> First you need to add the following line to source list file by
> editing the
> /etc/apt/sources.list fileAny help greatly appreciated and if responding to item 3 please consider the challenged source.
> Allen
>
>
>
> Allen Meyers  chef11994 at sbcglobal.net
> wortham_tx at yahoo.com
> texas.chef at gmail.com     
>    
>
>      
>  
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
>   




More information about the Discuss mailing list