Just installed Arch? Awesome! Here are some things you can try.
Here are some useful things I suggest to do after an Arch Linux installation. These are items not covered in the official Arch Linux Installation Guide, but I strongly suggest you consider them!
For these next steps, we're going to assume that you're logged in as your main user, who has sudo
permissions enabled.
Install some networking tools, so we may be able to go online later. NetworkManager is used by most desktop environments to manage network connections, and can be used in the console as well via nmtui
.
Use nmtui
to go online right now using your wifi.
This should be enough to get most laptops online. For some others, you may need to install wireless drivers. For instance, MacBooks require Broadcom wireless drivers.
Next: Let's install some apps.
Install some dev tools. base-devel installs a lot of tools you'll need to compile things, and git is required to build a lot of things from the AUR.
Install a browser. Choose from any of these options (or all!). Chromium is the open-source version of Google Chrome.
Install some basic fonts. ttf-croscore are Chrome OS fonts. You can install more fonts later from the AUR, but we'll get to that later.
Next: Let's install some drivers.
Depending on your setup, you may also need to install an xf86 driver. See this search for available drivers.
You can install an older version of the Linux kernel if you feel the latest kernel may be too bleeding-edge for you.
Next: Let's install a desktop environment.
We'll need to install a desktop environment and a display manager. You can choose between gnome
(default for Ubuntu), cinnamon
(default for Mint), deepin
, xfce4
, plasma
and many others. I recommend GNOME.
Install a desktop environment and a display manager. GNOME is a good first choice; it's the default of the Ubuntu desktop, and is a great desktop environment overall. GDM is the GNOME Display Manager.
Start the GDM service right now. This should get you to a graphical login screen! You can log in with your user here and get to a desktop environment.
If you were able to log into a desktop environment in the previous step, congratulations! Open a terminal and enable the gdm
service to start it up on every boot up.
Next: Let's set up your swap file.
If you skipped creating a swap partition like I recommended, you can use systemd-swap to manage your swap.
Edit the config. I recommend setting zram_enabled
to 1
(compressed RAM) and swapfc_enabled
to 1
(auto-managed swap files).
Start and enable systemd-swap.service
.
Add your swapfile to /etc/fstab
so it'll be used on every boot.
Next: What is the Arch User Repository?
The AUR, or Arch User Repository, contains a lot of community-maintained packages that you won't find in the official repositories. This ranges from proprietary non-free packages (like NVidia drivers). For most Arch users, the AUR is their reason to use Arch Linux, so I highly recommend installing an AUR helper.
You'll need an AUR helper to install packages from the AUR. I recommend yay.
After it's installed, you can use it just like how you would use pacman
.
Next: What can I install from the AUR?
Some AUR packages I can recommend to almost any Arch Linux user:
Package | Description |
---|---|
pamac-aur | Get notified of package updates |
ttf-google-fonts-typewolf | 40+ Google fonts |
ttf-ms-fonts | Fonts from microsoft (arial, courier, etc) |
ttf-mac-fonts | Fonts from macOS (lucida grande, etc) |
otf-san-francisco | Fonts from iOS |