You are not logged in.
Pages: 1
I just want to use the output list from
pacman -Qdt
as the parameters of
pacman -Rs
For example, A list below comes from pacman -Qdt. A\B\C stand for any name of software package.
A
B
C
Then, pacman -Rs A B C.
How to combi, or How to link?
Any Help ?:D
Offline
pacman -Rs $(pacman -Qdt)
Last edited by DonVla (2009-03-31 15:20:26)
Offline
You probably need to use -Qqdt, as the hides the version number.s
Offline
pacman -Rs $(pacman -Qqdt)
but... it's not very safe
read: http://bbs.archlinux.org/viewtopic.php?id=62553
Offline
you can use yaourt also, after a Qdt it asks you if you want to remove the packages with Rcs
Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry
Offline
Thanks a lot. And I find a Chinese guy from Nanjing, which is a surprise.
Offline
You probably don't want to do it like that. Often a package is 'orphan' but you still want/need it.
Eg on my box, it lists svn, cvs, pmount, xorg-utils and more, and I use those a lot...
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
You probably don't want to do it like that. Often a package is 'orphan' but you still want/need it.
Eg on my box, it lists svn, cvs, pmount, xorg-utils and more, and I use those a lot...
same here:
takedown [~] \ $ pacman -Qqdt
aalib
asio
automoc4
cmake
cvs
dirmngr
fltk
gperf
gtk
intltool
libssh2
libxtrap
mime-types
nasm
nss-mdns
pinentry
python-numeric
termcap-compat
xtrans
Offline
You probably don't want to do it like that. Often a package is 'orphan' but you still want/need it.
Eg on my box, it lists svn, cvs, pmount, xorg-utils and more, and I use those a lot...
i find metapax (http://aur.archlinux.org/packages.php?ID=19240) very useful for that. i put all 'orphaned' packages in one metapackage.
or you can re-install them explicitly.
Offline
Pages: 1