How to install the VSCodium IDE on Linux
Microsoft recently released Visual Studio Code on Linux. Many fans of Microsoft who use Linux were happy. However, not everyone appreciates the app and find that it has some issues. One of the biggest issues is that Microsoft’s code is not open-source.
Introducing VSCodium, it’s an open-source, free clone of Microsoft’s Visual Studio Code. It’s a perfect app to set up if you love the look of VSCode, but wish it were open-source.
Ubuntu installation instructions
The VSCodium IDE is available for installation on Ubuntu through a custom software repository. To add this custom software repository to your Ubuntu Linux PC, start by opening up a terminal window. To open up a terminal window, press Ctrl + Alt + T or Ctrl + Shift + T on the keyboard.
With the terminal window open, follow the step-by-step installation instructions below.
Step 1: Add the GPG key to the VSCodium software repository to Ubuntu using the following wget command.
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo apt-key add -
Step 2: After adding the GPG key to your Ubuntu Linux PC, it is time to run the add-apt-repository command to add the software repository server for VSCodium to Ubuntu.
sudo add-apt-repository 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main'
Step 3: Once you’ve added in the VSCodium software repository to Ubuntu, it is time to run the update command. Running an update will allow your computer to add the VSCodium software repository.
sudo apt update
Step 4: Following the update command, you’ll be able to install the latest version of the VSCodium application.
sudo apt install codium
Debian installation instructions
On Debian, the VSCodium application is installable in the same way the Ubuntu one is; via a third-party software repository. To start the installation, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, follow the step-by-step instructions below to set up VSCodium on Debian.
Step 1: Add the GPG key to your Debian PC so that the software repository will interact with the package manager. This step is critical! Do not skip it!
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo apt-key add -
Step 2: After adding the GPG key to your Debian Linux PC, it is time to add the VSCodium software repository. Using the echo command below, add the repo.
echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list
Step 3: Following adding the VSCodium software repository to your Debian PC, you will need to run the update command. Running the update command will refresh all of your software sources, including the newly added VSCodium software repository.
sudo apt-get update
Step 4: When your Debian Linux PC’s software sources are up to date, it is time to install the VScodium application. Using the Apt-get command below, get the app working.
sudo apt-get install codium
Arch Linux installation instructions
The VScodium application is available to all Arch Linux users, but only through the Arch Linux User Repository. To start the installation, open up a terminal window. Then, with the terminal window open, follow the step-by-step instructions outlined below.
Step 1: Using the Pacman command, install both the “Base-devel” and “Git” packages. These packages will make it possible to interact with packages hosted in the AUR, so do not skip this step!
sudo pacman -S git base-devel
Step 2: Following the installation of the “Git” and “Base-devel” packages on your Linux PC, use the git clone command to download the latest release of the Trizen AUR helper tool. Trizen will automate the installation of VSCodium on your Arch Linux PC. Without it, installation is tedious and time-consuming.
git clone https://aur.archlinux.org/trizen.git
Step 3: Install Trizen with the makepkg command.
cd trizen
makepkg -sri
Step 4: With the Trizen application set up on your Arch Linux PC, make use of the trizen -S command to get the latest release of the VSCodium application on your system.
trizen -S viscodium-bin
Fedora installation instructions
The developers behind VSCodium officially support Fedora Linux, so installation is quite simple. To start the process, open up a terminal window. Then, from there, follow the step-by-step instructions outlined below.
Step 1: You must first add the GPG key for VScodium to your Fedora Linux PC. Use the rpm –import command below to add it.
sudo rpm --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
Step 2: Installing VSCodium on Fedora Linux means enabling a third-party software repository. To do this, make use of the following printf command below.
printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=gitlab.com_paulcarroty_vscodium_repo\nbaseurl=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg" |sudo tee -a /etc/yum.repos.d/vscodium.repo
Step 3: After adding the VSCodium software repository, there is no need to refresh anything like on Ubuntu or Debian. Instead, simply install the latest release of the VSCodium app with the dnf install command below.
sudo dnf install coduim
OpenSUSE installation instructions
VSCodium has official support for OpenSUSE Linux. Installing it is identical to Fedora Linux, as they are both RPM based. To get the app working on your OpenSUSE PC, follow the step-by-step instructions below.
Step 1: Using the rpm –import command to add the VSCodium GPG key to your OpenSUSE Linux PC.
sudo rpm --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
Step 2: With the GPG key added to your OpenSUSE Linux PC, it is time to add the software repository. Using the following printf command, add the VSCodium repository to your OpenSUSE Linux system.
printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=gitlab.com_paulcarroty_vscodium_repo\nbaseurl=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg" |sudo tee -a /etc/zypp/repos.d/vscodium.repo
Step 3: After adding the VSCodium software repository, the last thing to do is to install the app on your system. Using the Zypper command, get VSCodium working.
sudo zypper install codium
Flatpak installation instructions
The VSCodium tool is available to all Flatpak users on Linux, which is excellent. Why? Nearly every Linux operating system is compatible with Flatpak. To start the installation of VScodium via Flatpak, follow the guide to learn how to enable Flatpak on your system. Then, enter the commands below to get VScodium.
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.vscodium.codium
This is trash did not work on Ubuntu, I had to remove the repo from /etc/apt/sources.list and remove the gpg key…
Instructions on the VSCodium website worked properly.
These instructions broke my zypper on openSuse, use this instead: https://vscodium.com/
The repository (paulcarroty/vscodium-deb-rpm-repo) was migrated to Gitlab Pages and so the old baseurl (https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/…) that is used above, doesn’t work anymore. It returns a 404 or 503. Please update it to “https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/..” as is shown in https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/issues/36#note_395793123.
There is a typo in your Arch instructions.
trizen -S viscodium-bin -> trizen -S vscodium-bin
Hello,
nice guide but in step 1, in my terminal, I receive the message: “gpg: no valid OpenPGP data found”.
Any ideas how to proceed?
Thank you,
Dim
This article is complete fiction. Microsoft vscode *is* open source. Vscodium is not a clone of it, it’s literally an exact copy of it, recompiled. The logo is changed and it removes a couple of places the software phones home, but otherwise it’s a recompilation from the same code.
Not working!!! The paulcarroty repositories doesnt work
Thank you so much for these instructions! Got this working on the Pinephone archlinux distro.
Small typo (extra i) for the archlinux install command:
trizen -S vscodium-bin