You are not logged in.

#1 2012-06-07 22:14:58

Megabyte
Member
Registered: 2012-06-02
Posts: 29

[SOLVED] Reverting an install with dependencies

In an effort to test a webcam I installed "cheese".  Unfortunately this installed a bunch of gnome dependencies with it which I do not want in my system.  Is there a way of getting rid of these dependencies?

Last edited by Megabyte (2012-06-07 22:20:27)

Offline

#2 2012-06-07 22:16:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Reverting an install with dependencies

Yes.

`man pacman`

Edit: also quoting JasonWRyan from another thread

Please make more of an effort to read the documentation; it has been provided by the community so that we don't have to endlessly hold people's hands through what amounts to the basics of Arch...

Last edited by Trilby (2012-06-07 22:17:55)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-06-07 22:17:08

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [SOLVED] Reverting an install with dependencies

From pacman's man page:

 -s, --recursive
           Remove each target specified including all of their dependencies, provided that (A) they are not required by other packages; and (B) they were not explicitly installed by the user. This
           operation is recursive and analogous to a backwards --sync operation, and helps keep a clean system without orphans. If you want to omit condition (B), pass this option twice.

In other words

pacman -Rs cheese

will remove cheese and any unused deps.


Rauchen verboten

Offline

#4 2012-06-07 22:18:00

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Reverting an install with dependencies

SS4, please let users do some work on their own.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2012-06-07 22:20:10

Megabyte
Member
Registered: 2012-06-02
Posts: 29

Re: [SOLVED] Reverting an install with dependencies

Thank you.  I should have checked man pages.  My fault.

Last edited by Megabyte (2012-06-07 22:21:12)

Offline

Board footer

Powered by FluxBB