Uploaded March 2017 | Updated September 2026, 2 weeks ago
In this video I share with you my 10 things to do first after installing Arch Linux.
Also check out the previous Arch Linux Videos:
Installing Arch Linux in less than 10 minutes youtu.be/GKdPSGb9f5s
How to use Arch User Repository (AUR) with Yaourt youtu.be/Ac-T4VNss0g
Arch Linux Playlist: youtube.com/playlist?list=PLSmXPSsgkZLt66s-M_gfQtMakc8iYJY6M
# 1 . Install LTS kernel
I also recommend to watch the detailed video "Why and How to install the LTS kernel" youtu.be/b-H3jURTgqk
Check your current kernel:
umane -r
Install an LTS kernel and reconfigure grub:
sudo pacman -S linux-lts
sudo grub-mkconfig -o /boot/grub/grub.cfg
You may also install linux-lts-headers.
Reboot and check which kernel is in use with uname -r.
Remove non-lts kernel
sudo pacman -Rs linux
# 2. Install Microcode
For intel processors with grub boot loader:
sudo pacman -S intel-ucode
sudo grub-mkconfig -o /boot/grub/grub.cfg
For AMD processors install linux-firmware package.
# 3. Disable GRUB delay
Add the following to /etc/default/grub:
# achieve the fastest possible boot:
GRUB_FORCE_HIDDEN_MENU="true"
Then put file 31_hold_shift to /etc/grub.d/.
Download 31_hold_shift goo.gl/nac6Kp
Make it executable, and regenerate the grub configuration:
sudo chmod a+x /etc/grub.d/31_hold_shift
sudo grub-mkconfig -o /boot/grub/grub.cfg
# 4. Install some key packages
sudo pacman -S adobe-source-sans-pro-fonts aspell-en enchant gst-libav gst-plugins-good hunspell-en icedtea-web jre8-openjdk languagetool libmythes mythes-en pkgstats ttf-anonymous-pro ttf-bitstream-vera ttf-dejavu ttf-droid ttf-gentium ttf-liberation ttf-ubuntu-font-family
# 5. Set up firewall
Install ufw:
sudo pacman -S ufw
Enable it.
sudo ufw enable
Check its status:
sudo ufw status verbose
Enable the start-up with the system:
sudo systemctl enable ufw.service
Reboot and check the status again. It should be active.
# 6. Encrypt your home directory
Logged out. Switch to a console with Ctrl+Alt+F2. Login as a root and check that your user own no processes:
ps -U username
Install the necessary applications:
sudo pacman -S rsync lsof ecryptfs-utils
Then encrypt your home directory:
modprobe ecryptfs
ecryptfs-migrate-home -u username
Mount your encrypted home.
ecryptfs-mount-private
Unwrap the passphrase and save it somewhere where only you can access it.
ecryptfs-unwrap-passphrase
Run
ls .ecryptfs
Edit /etc/pam.d/system-auth:
After the line "auth required pam_unix.so" add:
auth required pam_ecryptfs.so unwrap
Above the line "password required pam_unix.so" insert:
password optional pam_ecryptfs.so
After the line "session required pam_unix.so" add:
session optional pam_ecryptfs.so unwrap
Reboot and make sure that you can login to your desktop
# 7. Remove orphans
sudo pacman -Rns $(pacman -Qtdq)
# 8. Optimize pacman's database access speeds
sudo pacman-optimize
9. Check for errors
sudo systemctl --failed
sudo journalctl -p 3 -xb
10. Backup the system
sudo rsync -aAXvP --delete --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude=/lost+found --exclude=/home/.ecryptfs / /mnt/backupDestination/
Please, subscribe if you want to watch more Linux videos.
The wallpaper can be downloaded from my Google+ plus.google.com/collection/YlkQNE
################################################
Support on Patreon: patreon.com/averagelinuxuser
Donate through PayPal: paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: facebook.com/AverageLinuxUser
Twitter - Daily Linux News: twitter.com/AVGLinuxUser
Website: averagelinuxuser.com
In this video I share with you my 10 things to do first after installing Arch Linux.
Also check out the previous Arch Linux Videos:
Installing Arch Linux in less than 10 minutes youtu.be/GKdPSGb9f5s
How to use Arch User Repository (AUR) with Yaourt youtu.be/Ac-T4VNss0g
Arch Linux Playlist: youtube.com/playlist?list=PLSmXPSsgkZLt66s-M_gfQtMakc8iYJY6M
# 1 . Install LTS kernel
I also recommend to watch the detailed video "Why and How to install the LTS kernel" youtu.be/b-H3jURTgqk
Check your current kernel:
umane -r
Install an LTS kernel and reconfigure grub:
sudo pacman -S linux-lts
sudo grub-mkconfig -o /boot/grub/grub.cfg
You may also install linux-lts-headers.
Reboot and check which kernel is in use with uname -r.
Remove non-lts kernel
sudo pacman -Rs linux
# 2. Install Microcode
For intel processors with grub boot loader:
sudo pacman -S intel-ucode
sudo grub-mkconfig -o /boot/grub/grub.cfg
For AMD processors install linux-firmware package.
# 3. Disable GRUB delay
Add the following to /etc/default/grub:
# achieve the fastest possible boot:
GRUB_FORCE_HIDDEN_MENU="true"
Then put file 31_hold_shift to /etc/grub.d/.
Download 31_hold_shift goo.gl/nac6Kp
Make it executable, and regenerate the grub configuration:
sudo chmod a+x /etc/grub.d/31_hold_shift
sudo grub-mkconfig -o /boot/grub/grub.cfg
# 4. Install some key packages
sudo pacman -S adobe-source-sans-pro-fonts aspell-en enchant gst-libav gst-plugins-good hunspell-en icedtea-web jre8-openjdk languagetool libmythes mythes-en pkgstats ttf-anonymous-pro ttf-bitstream-vera ttf-dejavu ttf-droid ttf-gentium ttf-liberation ttf-ubuntu-font-family
# 5. Set up firewall
Install ufw:
sudo pacman -S ufw
Enable it.
sudo ufw enable
Check its status:
sudo ufw status verbose
Enable the start-up with the system:
sudo systemctl enable ufw.service
Reboot and check the status again. It should be active.
# 6. Encrypt your home directory
Logged out. Switch to a console with Ctrl+Alt+F2. Login as a root and check that your user own no processes:
ps -U username
Install the necessary applications:
sudo pacman -S rsync lsof ecryptfs-utils
Then encrypt your home directory:
modprobe ecryptfs
ecryptfs-migrate-home -u username
Mount your encrypted home.
ecryptfs-mount-private
Unwrap the passphrase and save it somewhere where only you can access it.
ecryptfs-unwrap-passphrase
Run
ls .ecryptfs
Edit /etc/pam.d/system-auth:
After the line "auth required pam_unix.so" add:
auth required pam_ecryptfs.so unwrap
Above the line "password required pam_unix.so" insert:
password optional pam_ecryptfs.so
After the line "session required pam_unix.so" add:
session optional pam_ecryptfs.so unwrap
Reboot and make sure that you can login to your desktop
# 7. Remove orphans
sudo pacman -Rns $(pacman -Qtdq)
# 8. Optimize pacman's database access speeds
sudo pacman-optimize
9. Check for errors
sudo systemctl --failed
sudo journalctl -p 3 -xb
10. Backup the system
sudo rsync -aAXvP --delete --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude=/lost+found --exclude=/home/.ecryptfs / /mnt/backupDestination/
Please, subscribe if you want to watch more Linux videos.
The wallpaper can be downloaded from my Google+ plus.google.com/collection/YlkQNE
################################################
Support on Patreon: patreon.com/averagelinuxuser
Donate through PayPal: paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: facebook.com/AverageLinuxUser
Twitter - Daily Linux News: twitter.com/AVGLinuxUser
Website: averagelinuxuser.com


![Command-line completion (tab completion)
What is the command-line completion (also know as tab completion)?
When you type a command you can press the Tab key, and the terminal will complete that command. It simplifies the use of the command line a lot. In this video you will learn how to use the tab completion and how to enable it.
Also, watch how to enable colors in terminal https://youtu.be/giAb4Ckh8BQ
If tab completion doesnt work for sudo, edit the ~/.bashrc file by addin this line to it:
complete -cf sudo
Or install the bash-completion package.
In Arch Linux:
sudo pacman -S bash-completion
In Ubuntu, Debian and Debian-based distros:
sudo apt install bash-completion
In Debian and Debian-based distro, bash-completion sometimes doesn’t work. You need to check your .bashrc file.
It should have this content there
# enable programmable completion features (you dont need to enable
# this, if its already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
If it doesn’t have it, add it at the end of the file.
To reinstall:
sudo apt install bash-completion reinstall
If you liked the Linux Mint theme, watch this video to install this theme https://youtu.be/osA-ZEEz6Zw
################################################
Support on Patreon: https://www.patreon.com/averagelinuxuser
Donate through PayPal: https://www.paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: https://plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: https://www.facebook.com/AverageLinuxUser
Twitter - Daily Linux News: http://twitter.com/AVGLinuxUser
Website: http://averagelinuxuser.com/ Command-line completion (tab completion)](https://i.ytimg.com/vi/k5A12buZ8To/mqdefault.jpg)







