[arch-general] Pacman: Remove unneded dependencies
Phil Wyett
philwyett.rebellion at gmail.com
Tue Jan 24 14:17:41 UTC 2017
On Tue, 2017-01-24 at 15:10 +0100, L. Rose wrote:
> Hi,
>
> I know, this is probably a very common question, but I couldn't find
> any
> information on the pacman wiki article about that, so I have to ask.
> How
> can I uninstall all packages on my system, which have been installed
> as
> a dependency, and aren't needed any longer? (Because I've uninstalled
> the dependent package or because the dependent package no longer
> depends
> on that dependency)
>
> I've read about pacman -Qe, but this lists packages I've explicitly
> installed and don't want to remove. And please, don't just point to
> the
> wiki article, I've checked that already.
>
> Thanks in advance,
>
> Lukas
>
Orphans.
pacman -Rns $(pacman -Qtdq)
https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Removing_un
used_packages_.28orphans.29
Regards
Phil
--
Play the game, for the games sake.
OS of choice: GNU / Linux
Distribution of choice: Arch / Antergos
GitHub: https://github.com/philwyettreb
Intsant Messaging (XMPP): philwyettreb at chatme.im
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20170124/c456278f/attachment.asc>
More information about the arch-general
mailing list