Installing Vivaldi Snapshot on Arch Linux

Update: the stable version of Vivaldi is now available in the community repository, so now you should have no trouble installing it; the packages are community/vivaldi & community/vivaldi-ffmpeg-codecs. This guide is now only useful and applicable for the Snapshot.

Installing Vivaldi from the AUR often causes issues, usually regarding media. Instead, many of us on the forum recommend installing it from the herecura repository (its maintainer says it’s only guaranteed to work with Arch, but based on several long-term Vivaldi [Stable & Snapshot] Linux users it works reliably also with most Arch derivatives as well).

An alternative way is using the Snapshot install script which works also for the Stable (see the linked help page for instructions), however, it doesn’t integrate with pacman and has to be ran every time you want to update Vivaldi. For these reasons, it is not recommended unless you have a particular reason to use it.

For GUI-only people

This method is generally not encouraged, because it involves GUI apps running with elevated permissions. Usually nothing bad happens, but if you feel comfortable with the terminal, it is better to go to the next section.

  1. If you’ve previously installed the Snapshot from the AUR or elsewhere, uninstall it. This step is not needed in all cases, but rather do it, anyway.
  2. Open your file manager with root permissions. Usually, this involves opening it as normal, then opening the menu and clicking something like Open as root, or right-clicking a folder and choosing something like Open as root.
  3. Go to /etc (that usually means clicking File system in the left pane, then double-clicking a folder called etc) and find the file pacman.conf. Right-click it and open it in a text editor.
  4. Just for case, ensure there is no line like this:
    [herecura]
    If there is and the Server line just below it is the same as in the next step, you can close the editor and file manager and skip over to step 7. If the Server line differs or is not present at all, go ask us on the forum.
  5. Scroll to the bottom and append the following lines
    # For Vivaldi Snapshot
    [herecura]
    Server = https://repo.herecura.be/$repo/$arch
  6. Save the file. You can now close the text editor and file manager.
  7. Open your package manager and sync the databases (usually that means opening the menu and clicking the relevant item there).
  8. Finally, find the vivaldi-snapshot and vivaldi-snapshot-ffmpeg-codecs packages and install them.

From now on, the Snapshot should be regularly updated as you update the system (the packages are usually available within a few hours after the release).

For people familiar with the terminal

  1. If you’ve previously installed the Snapshot from the AUR or elsewhere, uninstall it. This step is not needed in all cases, but rather do it, anyway.
  2. Open /etc/pacman.conf as the root.
  3. Just for case, ensure there is no line like this:
    [herecura]
    If there is and the Server line just below it is the same as below, you can skip the next step. If the Server line differs or is not present at all, go ask us on the forum.
  4. Add the following lines at the end of the file, then save it
    # For Vivaldi Snapshot
    [herecura]
    Server = https://repo.herecura.be/$repo/$arch
    (Of course the line starting with # is a comment.)
  5. Sync the repository databases; I recommend also installing any updates.
    # pacman -Syu
  6. Finally, install Vivaldi
    # pacman -S vivaldi-snapshot vivaldi-snapshot-ffmpeg-codecs
    In some cases, you may need to explicitly specify herecura/ for each of the packages, e.g. herecura/vivaldi-snapshot.

For The Pros™

Add https://repo.herecura.be/herecura/x86_64 to your pacman.conf, then install vivaldi-snapshot and vivaldi-snapshot-ffmpeg-codecs.


This article has been written with contributions from npro and guigirl. Thank you, friends!

Join the Conversation

  1. The script worked well in Manjaro. I didn’t need to install the ffmpeg stuff since I’d done that with the previous Vivaldi version I had installed already. I just had to look at the script to find out where it was installed and make changes to the launcher in the panel. Easy peasy.

    1. Using the script is not the best idea, because it does its kind of package management aside from the system package manager (pacman). ‘The ffmpeg stuff’ also needs updating once upon a time. Using the 3rd party repository as described here means that pacman knows about both packages and updates them as needed (if you update your system, that is).

      That said, if you have a good reason to use `install-vivaldi.sh`, no problem with that. If you’re looking for the best way to get the Snapshot onto your system, look further than just at the script.

      1. The script installs in a different place from what pacman does, so should things go south, nothing really lost except a bit of time setting things straight.

Comment