Remove orphaned packages in Arch Linux. When you install a package, you get it with dependencies. When you remove the package, dependencies stay there. So you can use this command to remove all dependencies that have been left orphaned so to say.
Source code viewer
sudo pacman -Rs $(pacman -Qtdq)Programming Language: Bash