A collection of customizations gathered over time. Several of them come from different parts of the great ArchWiki.
Create the hook /etc/pacman.d/hooks/pkg-list.hook
[Trigger]
Operation = Install
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "⚠️ This script must be run as root! Please, try again." | |
exit 1 | |
fi | |
echo "✔️ Getting the latest updates..." | |
apt-get update | |
apt-get upgrade -y |
A collection of customizations gathered over time. Several of them come from different parts of the great ArchWiki.
Create the hook /etc/pacman.d/hooks/pkg-list.hook
[Trigger]
Operation = Install
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root!" | |
exit 1 | |
fi | |
# Synchronizes the repository databases and updates the system's packages, excluding "local" | |
# packages | |
sudo pacman -Syu |
This method of compiling the kernel is the traditional method common to all distributions. Although Arch Linux is used this time, you can use the equivalent tools in your distribution.