Re: Pacman: Remove unneded dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux