JustToThePoint English Website Version
JustToThePoint en español
JustToThePoint in Thai

Arch Linux: From Zero To Hero

  1. To install a single package or list of packages, including dependencies: pacman -S package_name1 package_name2 …, e.g., pacman -S barrier
  2. To remove a simple package and its dependencies which are not required by any other installed package: pacman -Rs package_name.
  3. System Update, update all packages on the system: sudo pacman -Syu, sudo reboot
  4. Visit Pacmam Mirrorlist Generator, select your country, and replace the content of vim /etc/pacman.d/mirrorlist with your generated list.
  5. sudo vim /etc/pacman.conf
include = /etc/pacman.d/mirrorlist # Uncomment/enable the multilib repository to run 32-bit application on your 64-bit systems.


  1. First, we need to download the git package: sudo pacman -S git
  2. Then, we clone the yay git repository: git clone https://aur.archlinux.org/yay.git
  3. Next, we navigate into the yay folder: cd yay
  4. Finally, we build the package: makepkg -si

Use. Install a package: yay -S package_name. Remove a package and its dependencies: sudo yay -Rns package_name. Upgrade all the packages on your system: sudo yay -Syu.

  1. An SSH server, by default, listens on the standard TCP port 22. To start the sshd service: sudo systemctl start sshd.service. To enable and start sshd at boot time: sudo systemctl enable sshd.service.
  2. Client. Let’s use locally available keys to authorise logins on a remote machine. ssh_copy uses ssh to log into a remote machine and adds the keys by appending them to the remote user’s ~/.ssh/authorized_keys: ssh-copy-id [email protected].
  3. Create an alias, gedit .bash_aliases: alias sshRemoteComputer=‘ssh [email protected].
  4. To keep alive ssh sessions. sudo vim /etc/ssh/ssh_config:
        TCPKeepAlive yes
        ClientAliveInterval 300
        ClientAliveCountMax 2


  1. Install both the client and the server from the AUR repositories: yay -S realvnc-vnc-server, yay -S realvnc-vnc-viewer
  2. Create a RealVNC account. Their Home subscription is a free solution for personal use. You can access up to 5 internet-connected computers securely from any device running their VNC® Viewer app.
  3. Start the service (sudo systemctl start vncserver-x11-serviced) and enable it (sudo systemctl enable vncserver-x11-serviced).
  4. When the RealVNC service is running, a VNC icon will be displayed in the system tray. Click on it to start the server GUI tool and provide your account details (email and password) so VNC is licensed and configured correctly to accept connections.
  1. Server (let’s say your laptop or PC with macOS, Windows or GNU/Linux): Server (share this computer’s mouse and keyboard).
  2. Client (Arch Linux): Client (use another computer’s mouse and keyboard). Screen name (Arch Linux’s name, e.g., nmaximo7Arch), Server IP (self-explanatory).
  3. Barrier, Change Settings: Start Barrier on startup.
  4. Autostart Barrier. Remember that an xprofile file (~/.xprofile) allows you to execute commands at the beginning of the X user session - before the window manager is started. gedit ~/.xprofile:
    /usr/bin/barrier -f --no-tray --debug INFO --name nmaximo7Arch []:24800 &

It means, -f: run in the foreground; ‐‐no-tray: disable the system tray icon; ‐‐name nmaximo7Arch: use nmaximo7Arch instead of hostname to identify this screen in the barrier’s configuration; []:24800: server’s dirIP:port.

    [Service] Environment=DISPLAY=:0

Enable Brave Rewards: Click the Rewards icon △ Rewards Settings, Verify Wallet, Uphold. Fine-tune your Brave Rewards settings: Auto-Contribute (disable, this is a way to automatically support publishers and content creators), Brave Private Ads Settings (10 ads per hour).- Generating a new GPG keypair: gpg ‐‐full-generate-key. Git: git config ‐‐global user.name “YourName”, git config ‐‐global user.email [email protected]

  1. Tell Visual studio code which Python version to use: Ctrl + Shift + P, Python: Select Interpreter.
  2. Activate a virtual environment: source myProject/bin/activate. To deactivate it: deactivate.
  3. Error: VSCode: There is no Pip installer available in the selected environment. Solution: Edit ./venv/pyvenv.cfg: include-system-site-packages = true. Python files will now go to the virtual environment and the system packages are visible, too.
  4. Change your user settings. Open the Command Palette (Ctrl+Shift+P) and type: Preference: Open Settings (JSON) (File, Preferences, Settings), e.g., “editor.fontFamily”: “Consolas”, // It controls the font family, yay -S consolas-font
  1. Edit GRUB’s configuration file: sudo vim /etc/default/grub
        # GRUB boot loader configuration
        GRUB_TIMEOUT=0 [...]
  2. Use the grub-mkconfig tool to generate the /boot/grub/grub.cfg configuration file: grub-mkconfig -o /boot/grub/grub.cfg
%wheel ALL=(ALL:ALL) ALL # It allows members of group wheel to execute any command (sudo access).
Defaults insults # It is useless, but funny.
Defaults:USER_NAME !authenticate # It disables asking for a password for user USER_NAME (not safe).
Bitcoin donation

JustToThePoint Copyright © 2011 - 2022 PhD. Máximo Núñez Alarcón, Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.