Yandex browser is the most popular internet browser for all major platforms. It’s based on Chromium, making it fast to load with Standards compliance ensuring no compatibility issues arise due to its ability to be customized through translation services if needed!
In the following tutorial, you will learn how to install Yandex Browser on Ubuntu 20.04 LTS Focal Fossa desktop using the command line terminal with tips about maintaining and removing the browser versions.
Table of Contents
First, update your system to ensure all existing packages are up to date to avoid any potential conflict issues during the installation.
sudo apt update && sudo apt upgrade -y
Install Required Packages
The following dependencies will need to be installed to install Yandex successfully. Most of these packages would already be present on your system, but running the command can help ensure they’re installed.
sudo apt install wget apt-transport-https gnupg2 -y
If you skip and encounter issues, return and just run the command.
Import Yandex Browser Repository
The first step is to import the GPG key to verify the authenticity of the packages. In your terminal, execute the following command to import to your keychain.
sudo wget -O- https://repo.yandex.ru/yandex-browser/YANDEX-BROWSER-KEY.GPG | gpg --dearmor | sudo tee /usr/share/keyrings/yandex.gpg
Next, import one
Import Repository – Yandex Browser Stable
echo deb [arch=amd64 signed-by=/usr/share/keyrings/yandex.gpg] http://repo.yandex.ru/yandex-browser/deb stable main | sudo tee /etc/apt/sources.list.d/yandex-stable.list
Import Repository – Yandex Browser Beta
echo deb [arch=amd64 signed-by=/usr/share/keyrings/yandex.gpg] http://repo.yandex.ru/yandex-browser/deb beta main | sudo tee /etc/apt/sources.list.d/yandex-beta.list
Now run an APT update to reflect the newly imported repository.
sudo apt-get update
Install Yandex Browser
Now that you have imported the repository, you can install Yandex Browser stable or the beta/development version. You should choose the stable version over the beta by default, but you can install both.
Install Yandex Browser Stable
sudo apt install yandex-browser-stable -y
Install Yandex Browser Beta
sudo apt install yandex-browser-beta -y
Remove Auto-Generated Source.list
Installing any of the Yandex versions will place another sources.list, which is incorrectly formatted and causing your apt update command to spam lots of errors. The easiest solution is to remove these extras using the following command.
sudo rm /etc/apt/sources.list.d/yandex-browser-*.list
The above command works for stable and the beta version and should leave you with the sources you imported from this tutorial yandex-beta.list and yandex-stable.list.
How to Launch Yandex Browser
With the installation complete, you can run Yandex by following the path.
Activities > Show Applications > Yandex Browser
Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.
The first time you open Yandex Browser, a pop-up message will appear asking you to select the browser as the default for your Ubuntu desktop and send data back to Yandex.
This is user choice, select your options and click Ok to proceed.
Yandex Browser will have a few quick pages of setting options to customize your Yandex experience. Overall, it should take 1 to 5 minutes, depending on how much customization you want.
Note that you will be able to choose a color theme. The Dark theme is quite popular, and selecting it changes your background every day.
Once done, you will see the final landing page, and you are good to go browsing.
Congratulations, you have successfully installed Yandex Browser on your desktop.
How to Update/Upgrade Yandex Browser
To update, run the APT update in your terminal as you would check your entire system for any updates, including from the Yandex repository.
sudo apt update && sudo apt upgrade -y
How to Remove (Uninstall) Yandex Browser
To remove Yandex Browser, execute the following terminal command that matches your installed version.
Remove Yandex Browser Stable
sudo apt autoremove yandex-browser-stable -y
Remove Yandex Browser Beta
sudo apt autoremove yandex-browser-beta -y
Note unused dependencies will also be removed.
Ideally, you will want to remove the repositories as well.
Remove Yandex Browser Stable Repository
sudo rm /etc/apt/sources.list.d/yandex-stable.list
Remove Yandex Browser Beta Repository
sudo rm /etc/apt/sources.list.d/yandex-beta.list
Comments and Conclusion
If you’re looking for an alternative to Chrome, the Yandex browser could be a good option. The browser is based on Chromium and has many of the same features as Chrome, but it also includes some unique options that may make it a better fit for your needs. Give it a try and see what you think!