mit KDE läuft es sehr gut, um Erfahrungen zu sammeln, ohne die komplizierte Arch Umgebung verstehen zu müssen – das kommt mit der Zeit von selbst.
Systemupdates als root (oder mit sudo)
pacman -Syu
-S, –sync
Synchronize packages. Packages are installed directly from the remote repositories, including all dependencies required to run the packages. For example, pacman -S qt will download and install qt
and all the packages it depends on. If a package name exists in more than one repository, the repository can be explicitly specified to clarify the package to install: pacman -S testing/qt. You can
also specify version requirements: pacman -S „bash>=3.2“. Quotes are needed, otherwise the shell interprets „>“ as redirection to a file.
-y, –refresh
Download a fresh copy of the master package databases (repo.db) from the server(s) defined in pacman.conf(5). This should typically be used each time you use –sysupgrade or -u. Passing two
–refresh or -y flags will force a refresh of all package databases, even if they appear to be up-to-date.
-u, –upgrades
Restrict or filter output to packages that are out-of-date on the local system. Only package versions are used to find outdated packages; replacements are not checked here. This option works best if
the sync database is refreshed using -Sy.
Swap Datei anlegen auf btrfs
mkdir /swap
chattr +C /swap
# hier 32 GB
dd if=/dev/zero of=/swap/swap bs=1M count=32768 status=progress
chmod 600 /swap/swap
mkswap /swap/swap
swapon /swap/swap
Fest eintragen:
nano /etc/fstab
kommentiere den alten swap part aus ersetze es mit
/swap/swap swap swap defaults 0 0
swapon /swap/swap
cat /proc/sys/vm/swappiness
echo 'vm.swappiness=10' | tee -a /etc/sysctl.conf
