Manjaro CheatSheet

CheatSheet

From Manjaro
Revision as of 17:21, 4 February 2022 by Andreas85 (talk | contribs) (Wartung)

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 COPY TO CLIPBOARD


root # pacman-mirrors --fasttrack && pacman -Syyu COPY TO CLIPBOARD


Check if updates are available

user $ pamac checkupdates -a COPY TO CLIPBOARD


Update all installed packages

user $ pamac upgrade -a COPY TO CLIPBOARD


Search available packages

user $ pamac search PackageName COPY TO CLIPBOARD


Install packages

user $ pamac install PackageName COPY TO CLIPBOARD


Uninstall packages

user $ pamac remove PackageName COPY TO CLIPBOARD


Maintenance

Generate cache list

user $ du -sh ~/.cache/* COPY TO CLIPBOARD


Purge files not accessed in 100 days

user $ find ~/.cache/ -type f -atime +100 -delete COPY TO CLIPBOARD


Report journal current size

user $ journalctl --disk-usage COPY TO CLIPBOARD


Remove but recent entries by size or time

user $ journalctl --vacuum-size=50M COPY TO CLIPBOARD


user $ journalctl --vacuum-time=2weeks COPY TO CLIPBOARD


Check for orphaned packages

user $ pamac list -o COPY TO CLIPBOARD


Remove all orphans

user $ pamac remove -o COPY TO CLIPBOARD


Remove all packages except the latest 3 versions

user $ pamac clean --keep 3 COPY TO CLIPBOARD


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 COPY TO CLIPBOARD



Example codes should be here.


See Also

Example Link Title example text

Cookies help us deliver our services. By using our services, you agree to our use of cookies.