mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 15:31:36 +01:00
Update pacman
This commit is contained in:
parent
03fb44159a
commit
62a2bf3c2d
@ -27,6 +27,9 @@ pacman -Ql <package name> | sed -n -e 's/.*\/bin\///p' | tail -n +2
|
|||||||
# To list explicitly installed packages
|
# To list explicitly installed packages
|
||||||
pacman -Qe
|
pacman -Qe
|
||||||
|
|
||||||
|
# To list the top-most recent explicitly installed packages (not in the base groups)
|
||||||
|
expac --timefmt='%Y-%m-%d %T' '%l\t%n' $(comm -23 <(pacman -Qeq|sort) <(pacman -Qqg base base-devel|sort)) | sort -r | head -20
|
||||||
|
|
||||||
# To list orphan packages (installed as dependencies and not required anymore)
|
# To list orphan packages (installed as dependencies and not required anymore)
|
||||||
pacman -Qdt
|
pacman -Qdt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user