You are not logged in.
Pages: 1
Hi,
I have got over 700 packages installed atm and want to have a sort out, not sure I want to reinstall Arch as its running as I want
Thing is I do load up stuff from time to time and now have lost track.....
Command line way would be better for me
'pacman -Qi | grep multimedia' does not do what I need
Thoughts?
MrG
[dare not ask if there is a synaptic for Arch!]
Mr Green
Offline
Try this: pacman -Qsq multimedia
And if you feel lucky: sudo pacman -Rcsn `pacman -Qsq multimedia` After that your computer should be boring again. ;-)
Offline
I'm not sure what you're asking really.
If you want something like synaptic check out shaman.
Otherwise you'll have to use pacman -Q and its options.
usage: pacman {-Q --query} [options] [package]
options:
-c, --changelog view the changelog of a package
-d, --deps list all packages installed as dependencies
-e, --explicit list all packages explicitly installed
-g, --groups view all members of a package group
-i, --info view package information (-ii for backup files)
-l, --list list the contents of the queried package
-m, --foreign list installed packages not found in sync db(s)
-o, --owns <file> query the package that owns <file>
-p, --file <package> query a package file instead of the database
-s, --search <regex> search locally-installed packages for matching strings
-t, --unrequired list all packages not required by any package
-u, --upgrades list all packages that can be upgraded
-q, --quiet show less information for query and search
--config <path> set an alternate configuration file
--logfile <path> set an alternate log file
--noconfirm do not ask for any confirmation
--noprogressbar do not show a progress bar when downloading files
--noscriptlet do not execute the install scriptlet if one exists
-v, --verbose be verbose
-r, --root <path> set an alternate installation root
-b, --dbpath <path> set an alternate database location
--cachedir <dir> set an alternate package cache location
Last edited by Statix (2008-09-19 20:48:33)
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline
used multimedia as an example :-)
just wanted a way to sort out packages, get rid of the ones I never use
will check out shaman
thanks
MrG
EDIT shaman looks like what I need....
Last edited by Mr Green (2008-09-20 05:19:49)
Mr Green
Offline
I'm still doing the boring pacman -Q > ~/installed
then looked through it and pacman -Rsc to whatever i dont use.
edit: have to check out shaman
Last edited by droog (2008-09-20 07:57:29)
Offline
I do a pacman -Qe, those are the packages you explicitly installed.
Offline
While pacman -Qtd usually shouldn't output much, those are the packages you most likely can remove right away.
1000
Offline
would rather use command line for package management, maybe add some bash tools alias etc... for -Qtd
[ ~ ] > pacman -Qtd
agg 2.5-2
archlinux-menus 2.1-2
bigreqsproto 1.0.2-1
boost 1.34.1-2
codecs 20071007-1
confuse 2.6-1
csup 20060318-5
cyrus-sasl 2.1.22-9
dbus-qt3 0.62-3
docbook-xsl 1.73.2-1
exiv2 0.17.1-1
ggz-client-libs 0.0.14.1-1
gmime 2.2.21-1
gtkhtml 3.18.3-1
gtksourceview 1.8.5-2
hspell 1.0-2
hsqldb-java 1.8.0.10-1
icu 4.0-1
id3lib 3.8.3-10
imlib 1.9.15-4
inputproto 1.4.4-1
lesstif 0.95.0-2
libdvdcss 1.2.9-2
libevent 1.3e-1
libfs 1.0.1-1
libgdiplus 1.9-1
libidn 1.0-1
libipoddevice 0.5.3-1
libmal 0.44-1
libmtp 0.2.6.1-1
libnjb 2.2.5-4
libopensync 0.22-1
mono-addins 0.3.1-3
net-snmp 5.4.2-1
normalize 0.7.7-3
notification-daemon 0.3.7-3
nss-mdns 0.10-1
openal 0.0.8-4
opencdk 0.6.6-1
perl-io-socket-ssl 1.12-1
podsleuth 0.6.2-2
poppler-qt 0.8.6-1
portmap 6.0-2
pstoedit 3.45-2
python-elementtree 1.2.6_20050316-1
python-gammu 0.26-1
python-pyspi 0.6.1-2
pyvorbis 1.4-3
pyxdg 0.15-2
qca 2.0.1-2
qca-tls 1.0-5
qscintilla 2.2-1
rdesktop 1.6.0-2
sdl_sound 1.0.1-7
sharutils 4.6.3-1
sox 14.0.0-2
tpctl 4.15-1
unrar 3.8.2-1
wxgtk-2.6 2.6.4-2
xalan-c 1.10-2
xalan-java 2.7.1-2
xmlsec 1.2.11-2
[ ~ ] >MrG
Last edited by Mr Green (2008-09-20 14:10:59)
Mr Green
Offline
I install all packages I am testing with "pacman -S --asdep <pkg>" so that I can remove them easily with "pacman -Rs $(pacman -Qqtd)". If I want to keep the packages, I reinstall it with "pacman -S --asexplicit <pkg>".
Offline
thats complicated way to go about things.... thats not the Arch way surely?
Thing I lose track of stuff I have installed, ie from pacman -U [or -A as it was!]
What I need is pacman --remove_all_packages_except_core :-) start over
MrG
Mr Green
Offline
That's possible. Disable all repos in your pacman.conf except [core]. Run "pacman -Sy" and then "pacman -Rcn `pacman -Qqm`".
Offline
Pages: 1