Difference between revisions of "CheatSheet"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
(Wartung) |
(Teil 1) |
||
Line 9: | Line 9: | ||
=== Locating and Installing Packages === | === Locating and Installing Packages === | ||
Update mirrorlist with the fastest mirrors {{UserCmd|command=sudo pacman-mirrors --fasttrack && sudo pacman -Syyu}} | |||
{{UserCmd|command=sudo pacman-mirrors --fasttrack && sudo pacman -Syyu}} | |||
{{RootCmd|command=pacman-mirrors --fasttrack && pacman -Syyu}} | {{RootCmd|command=pacman-mirrors --fasttrack && pacman -Syyu}} | ||
Check if updates are available {{UserCmd|command=pamac checkupdates -a}} | |||
{{UserCmd|command=pamac checkupdates -a}} | Update all installed packages {{UserCmd|command=pamac upgrade -a}} | ||
Search available packages {{UserCmd|command=pamac search PackageName}} | |||
{{UserCmd|command=pamac upgrade -a}} | Install packages {{UserCmd|command=pamac install PackageName}} | ||
Uninstall packages {{UserCmd|command=pamac remove PackageName}} | |||
{{UserCmd|command=pamac search PackageName}} | |||
{{UserCmd|command=pamac install PackageName}} | |||
{{UserCmd|command=pamac remove PackageName}} | |||
=== Maintenance === | === Maintenance === |
Revision as of 17:23, 4 February 2022
CheatSheet for Manjaro
The original startet with a thread at https://forum.manjaro.org/t/manjaro-cli-cheat-sheet/101305/3
Locating and Installing Packages
Update mirrorlist with the fastest mirrors
user $ sudo pacman-mirrors --fasttrack && sudo pacman -Syyu
root # pacman-mirrors --fasttrack && pacman -Syyu
Check if updates are available
user $ pamac checkupdates -a
Update all installed packages
user $ pamac upgrade -a
Search available packages
user $ pamac search PackageName
Install packages
user $ pamac install PackageName
Uninstall packages
user $ pamac remove PackageName
Maintenance
Generate cache list
user $ du -sh ~/.cache/*
Purge files not accessed in 100 days
user $ find ~/.cache/ -type f -atime +100 -delete
Report journal current size
user $ journalctl --disk-usage
Remove but recent entries by size or time
user $ journalctl --vacuum-size=50M
user $ journalctl --vacuum-time=2weeks
Check for orphaned packages
user $ pamac list -o
Remove all orphans
user $ pamac remove -o
Remove all packages except the latest 3 versions
user $ pamac clean --keep 3
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title 2
user $ example command should be here
Example codes should be here.
See Also
Example Link Title example text