So I want to use Vivaldi as my browser on Arch Linux. However, a quick “sudo pacman -Ss vivaldi” showed me nothing. I tried to go to Vivaldi’s website and they only offer .RPM and .DEB installers. So how do I install Vivaldi now? Here’s how.
Let me cut it short. We will be building Vivaldi from source. This means we will download the source and compile it in our machine. Lucky we have AUR which contains packages that are designed to be built from source. The only downfall of this is when you install software packages using this method, it will not automatically update on its own. Not even a pacman -Syu will help you.
Prepare the dev environment
To make sure we have all the development tools that we need, run a
sudo pacman -S –needed base-devel
This will install development tools we need to compile the packages.
Then we also need to install git. To do that, type
sudo pacman -S git
Git will help us download or clone a repository containing the PKGBUILD file and ultimately the source code.
We also need to enable multilib just in case the package we are building are using 32-bit compatible libraries. Enabling multilib will allow us to run 32-bit applications to 64-bit installations of Arch Linux.
To do this type
sudo nano /etc/pacman.conf
and uncomment (delete the # in front)
Include = /etc/pacman.d/mirrorlist
The do a full system upgrade by typing
sudo pacman -Syu
Building and installing the package
Search for the package
Clone the repo
Now that we have the repository, we can now clone it locally. Fire up the terminal and create a folder where you want to clone the Vivaldi repository into. After you have created the folder, go to the folder you have just created, copy the AUR package Git Clone URL link and paste in in the terminal. It should look like this
git clone https://aur.archlinux.org/vivaldi.git
The command above will download Vivaldi’s AUR repository to our local storage.
Build and install the package
Now list files and folders in the current directory by typing
and go to the Vivaldi folder. Do this by typing
Now make the package by typing
It will then download any required additional packages and will start compiling and installing Vivaldi. Just confirm everything and proceed with the installation. Once you have that Vivaldi item on your “Applications > Internet”, you can now congratulate yourself.
Updating AUR packages
Now you have Vivaldi but how do you update it? Simple. Download the source again and rebuild it. There are some helpers out there that can automate the process but lets talk about that in another time.
You now have Vivaldi installed. Cheers!