You are not logged in.

#1 2004-08-31 19:51:05

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 707
Website

Removing all packages except for base

Is there any way I can remove all packages on my system, except for the base packages?  I want to cut down on the number of packages on my system, and maybe clean out somethings while all the packages aren't there.  Is there any way I can do this with pacman?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#2 2004-08-31 20:30:07

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: Removing all packages except for base

well, you could write a script that takes out the base packages (the packages marked "base/" here) from the list of installed packages on your system (pacman -Q), and then pacman -R those packages all at once.

if you have a lot more things you want to clean out than you want to keep, it may be easier to tar up the files you want to keep, delete everything, and use the quickinst (instead of the interactive setup script) on the arch cd.

Offline

#3 2004-08-31 21:05:31

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Removing all packages except for base

i can't remember the syntax but before there were package groups you used something like:

cd /var/abs/base

pacman -S `/bin/ls`

I would assume you could do the same for uninstalling (make sure you use the d option though). it will be, potentially, a messy process no matter which way you do it.


AKA uknowme

I am not your friend

Offline

#4 2004-09-01 05:01:28

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Removing all packages except for base

What I did (having enough HD space) to clean up the system, installed 0.7 base on a different partition. Then copied whatever was needed from the old partition. My /home still uses the old partition.... reduced it from 6GB to 3GB.

Offline

Board footer

Powered by FluxBB