[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: source code installation



On Sun, Aug 19, 2007 at 05:53:47PM +1000, jupiter.hce@gmail.com wrote:

> > With aptitude you can do searches like this:
> >
> > aptitude search '~i(~sgames|~Ggame)'
> >
> > This will list all installed (~i) packages which belong to the "games"
> > section (~sgames) or (|) which have the string "game" in one of their
> > debtags (~Ggame).
> >
> > You can uninstall all these packages with one fell blow by replacing
> > "search" with "remove" in the command above. If you want to have a bit
----^^^^^^^^^^^^^^^^^^^^^^

> > more control over what is going on then you can use aptitude in
> > interactive mode, look at "Installed Packages > games" and decide
> > yourself which ones you want to remove.
>
> I've also tried to run aptitude search '~i(~sgames|~Ggame)' and got 
> following list:
> i A gnome-about                     - The GNOME about box
> i A gnome-applets                   - Various applets for GNOME 2 panel - 
> binary
> i A gnome-games                     - games for the GNOME desktop
> i A gnome-games-data                - data files for the GNOME games
> i A wodim                           - command line CD/DVD writing tool
> i A xbase-clients                   - miscellaneous X clients

Those packages are all installed (i) automatically (A) as dependencies 
to other packages (that's why I don't like Gnome). If you try to remove 
them aptitude should complain about broken packages and look for 
solutions. Maybe there is a solution to remove some by getting rid of 
some Gnome metapackage.

> I guess the next command I should run to remove all games are following. 
> Are they correct?
>
> aptitude purge $(gnome-about)
> aptitude purge $(gnome-applets)
> aptitude purge $(gnome-games)
> aptitude purge $(gnome-games-data)
> aptitude purge $(wodim)
> aptitude purge $(xbase-clients)

No, you need 'aptitude purge packagename' or you can (try to) do it in 
one blow with Florian's trick. But at least wodim and xbase-clients you 
DON'T want removed anyway. Look at the description for the reasons ;) 
(Tip: 'aptitude show wodim' for the full info.)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: