6 things to do after installing Arch Linux

Mastering Arch Linux

I have written an in-depth tutorial on installing Arch Linux, but, like any operating system, there are a lot of things that can be done after the install to make your system more usable. (Hat tip to Alexander Diana, a member of the Arch Linux community, for his contributions to this story.)

1. Keep your system updated

The main idea behind using Arch is to have an always updated system. After all, it’s a rolling release distribution. But Arch won’t update itself so you will have to do it.

Just keep in mind that there is the potential that things will break. Unlike many other distros, Arch doesn’t patch anything and pulls everything from upstream. My advice: keep an eye on the Arch Linux mailing list so that you are aware of potential problems.

With that caveat, let’s update Arch. First, become root.

 

(If you have installed sudo, then you can perform these tasks as sudo user.)

Always refresh repositories and update packages before installing any new packages to avoid dependency issues. I suggest getting into the habit of running updates every day. The more frequently you update the distro, the lower your chances of breaking the system. Small updates also allows to you to better troubleshoot if something does go wrong, as you do know what packages you updated.

To refresh repositories and update packages, run this command:

Manage repositories

By default Arch Linux enables ‘stable’ repositories only, but if you are adventurous you may want early access to the latest packages.

First, open repo file:

 

Here you can uncomment [testing] and [testing-community] repositories that will allow you to install packages that are in testing stage. This includes early access to newer versions of desktop environments (one reason why I use testing). Because it’s ‘testing,’ you should be prepared for things to break, but in the past 6 months, the only thing that broke for me was that the Dropbox client had some bugs. I never encountered a system crash or broken system despite using ‘testing’ repos. But, don’t use it if you are not prepared to fix things

Install apps

There are two kinds of apps in Arch: packaged apps that are available through official repositories and apps that you install using AUR (more about this on the next slide). To install apps through official repositories, first refresh the repositories:

pacman -Sy

Then install the app:

pacman -S app_name

Example:

pacman -S vlc

To remove packages, use ‘R’ instead of S:

Install AUR packages manually

AUR (Arch User Repository) is similar to openSUSE OBS and Ubuntu’s PPA in the sense that it’s purely user-driven. But unlike OBS and PPA, AUR doesn’t host pre-packaged packages. Essentially, AUR packages contain build instructions for compiling and installing packages. But don’t be intimidated, it’s very easy to compile and install packages from AUR. There are two ways to do it: use a tool like yaourt or do it manually.

Let’s talk about manual process as that’s where all the fun is. You can search for the desired package in AUR, let’s say, Google Chrome. I found three packages here. (I chose the stable version.) And download the snapshot of PKGBUILD (the file that contains build instructions).

Now change directory to where the tarball of PKGBUILD was downloaded and extract it with this command:

tar -xvf name_of_package.tar.gz

In my case it was

tar -xvf google-chrome.tar.gz

Once the content is extracted, cd into the content folder:

cd google-chrome/

And now run the following command that will compile, package and install it. You won’t have to do anything but provide it with password, if needed, and confirm installation of dependencies:

Install AUR packages manually

AUR (Arch User Repository) is similar to openSUSE OBS and Ubuntu’s PPA in the sense that it’s purely user-driven. But unlike OBS and PPA, AUR doesn’t host pre-packaged packages. Essentially, AUR packages contain build instructions for compiling and installing packages. But don’t be intimidated, it’s very easy to compile and install packages from AUR. There are two ways to do it: use a tool like yaourt or do it manually.

Let’s talk about manual process as that’s where all the fun is. You can search for the desired package in AUR, let’s say, Google Chrome. I found three packages here. (I chose the stable version.) And download the snapshot of PKGBUILD (the file that contains build instructions).

Now change directory to where the tarball of PKGBUILD was downloaded and extract it with this command:

tar -xvf name_of_package.tar.gz

In my case it was

tar -xvf google-chrome.tar.gz

Once the content is extracted, cd into the content folder:

cd google-chrome/

And now run the following command that will compile, package and install it. You won’t have to do anything but provide it with password, if needed, and confirm installation of dependencies:

. Install some much-needed apps

You will get a set of apps, depending on the desktop environment you installed on the system. I routinely install the following apps: Firefox, Chrome, Tomahawk, vlc, Dropbox and LibreOffice. Now you know the drill, so you can easily install any app that you need.

[Source:- CIO]

Saheli
slot gacor togel online terpercaya situs slot https://disdukcapil.salatiga.go.id/ngacor/ slot gacor totomacau4d situs toto situs toto situs toto slot gacor slot gacor slot gacor slot gacor slot gacor rtp slot toto slot https://journal.dpkp.ciamiskab.go.id/ rtp slot rtp live slot gacor situs toto slot gacor situs toto situs toto togel https://faculdadediplomata.edu.br/-/ https://www.pilgrimagetour.in/-/ slot gacor situs toto slot gacor slot gacor rtp slot https://ejournal.yahukimokab.go.id/ https://mikrotik.itpln.ac.id/wp-content/uploads/ situs toto slot gacor slot gacor situs toto slot gacor slot gacor slot gacor slot gacor slot gacor slot gacor slot gacor slot gacor situs toto toto slot bento4d bento4d bento4d bento4d bento4d https://cpnsbatola.id/-/ slot777 situs togel bento4d bento4d slot777 bento4d cerutu4d rimbatoto https://smpitbinailmu.sch.id/ bakautoto bakau toto slot https://inspiracionspa.com.mx/-/ bento4d bento4d https://pafikabupatenrejanglebong.org/ https://dinkes.bogorkab.go.id/-/totoslot/ bento4d bento4d bento4d bento4d bento4d https://pafipcbangkabelitung.org/ https://pafipcindonesia.org/ https://pafipclubuklinggau.org/ https://pafipcpagaralam.org/ https://pafipclahat.org/ slot gacor slot gacor slot gacor slot gacor slot gacor