You are not logged in.

#1 2008-08-21 07:33:31

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Removing pacages with Pacman

Hi,
Installed gnome last night and tried it out for a while and then I switched back to Openbox.

When I tried to pacman -R gnome it had like 3 packages that were depended on gnome. And those pacages were depended on other packages and so on. It took me like 15 mins to remove 30-40 packages manually.

Is there any smart switch for this? Didn't find any on the Wiki.


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

#2 2008-08-21 07:34:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: Removing pacages with Pacman

pacman -Rnsc gnome


Give what you have. To someone, it may be better than you dare to think.
Blog

Offline

#3 2008-08-21 07:36:27

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,554

Re: Removing pacages with Pacman

ftornell wrote:

Hi,
Installed gnome last night and tried it out for a while and then I switched back to Openbox.

When I tried to pacman -R gnome it had like 3 packages that were depended on gnome. And those pacages were depended on other packages and so on. It took me like 15 mins to remove 30-40 packages manually.

Is there any smart switch for this? Didn't find any on the Wiki.

  -s, --recursive      remove dependencies also (that won't break packages)
                       (-ss includes explicitly installed dependencies too)

  -c, --cascade        remove packages and all packages that depend on them

All design goals must be phrased in such a way that it is hard to use them as slogans to justify stupidity.

Offline

#4 2008-08-21 07:38:27

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 213

Re: Removing pacages with Pacman

Try reading the manpage ; )

Offline

#5 2008-08-21 07:44:03

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Re: Removing pacages with Pacman

Told you I'm a n00b. Anyway...thx!


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

#6 2008-08-21 08:43:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: Removing pacages with Pacman

More general advice - being a noob does not excuse you from reading and searching before asking questions.

Offline

#7 2008-08-21 11:26:57

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Re: Removing pacages with Pacman

Well...enough said!

Last edited by ftornell (2008-08-21 11:35:29)


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

Board footer

Powered by FluxBB