Arch Linux Maintenance - Learn Arch Linux 2019 PART7

Опубликовано: 29 Сентябрь 2024
на канале: Ton Does Linux and More!
170
1

This is the last video in this series on Learning Arch Linux 2019.
This video is about Arch Linux Maintenace.

If you want to have a well maintained and good running Arch Linux system, you need to perform some maintenance.

in this video, I will show you the following commands which can also be found on the Arch Linux wiki page:
https://wiki.archlinux.org/index.php/...

Commands used:

Log File Errors - Check
$ systemctl --failed
$ sudo journalctl -p 3 -xb


Pacman:

- update your mirrors once every two
- clear cache and refresh databases
pacman -Syu

Clean cache:
sudo pacman -Sc (removes old packages that are not installed) -Scc clear complete cache.

Use reflector every two weeks to refresh/update your mirrorlist:
sudo reflector --country Netherlands --country Germany --latest 30 --sort rate --save /etc/pacman.d/mirrorlist

Cleaning no longer used dependencies/orphans:
sudo pacman -Rns $(pacman -Qdtq) --noconfirm

Let me know what you would like to see on this channel, place your questions, suggestions below in the comments.

Have fun using Linux.

=======================================================
Please like comment and subscribe for more of these kind of videos.
https://goo.gl/a9JwXB

Like my Facebook page:
  / tondoeslinux  

See me on Twitter
  / tondoes  

#linux #linuxtutorial #linuxdesktop #linuxos #arch #ubuntu #debian