VSCodium is the 'complete open source version' of Microsoft's VS Code.
It's basically a clone of the VS Code that removes any signs of telemetry. The telemetry is used for collecting data on the usage of the application. Many developers use it to get an insight on improving their application.
Look and feature wise, the two editors are identical.
There are three ways to install VSCodium on Ubuntu:
- Install it by downloading the deb file from the release page. The downside is that you cannot easily update it as you have to download the new deb file again.
- Add a third-party developer repository (recommended by VSCodium) to your system. This way, you also get regular updates for the new releases of VSCodium.
- Use the snap version. Perhaps the easiest way if you don't have an aversion to Snap packages.
Let's see the other two methods.
Method 1: Installing VSCodium by adding external repo
The official VSCodium documentation refers to a GitLab repository by Pavlo Rudy that gives you a continuous update version of VSCodium.
Here are the steps.
Open a terminal in Ubuntu and use the following command to get the GPG signature key of the developer and add it to your system. This way, your Ubuntu system will trust the packages that are signed by this developer.
sudo wget https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg -O /usr/share/keyrings/vscodium-archive-keyring.asc
The next step is to add the repository to your system's sources.list file. This way, your Ubuntu system will know from where it should get the package from.
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.asc ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list
As you can see, the entry mentions that the repository is signed by the key you had added just above it.
Update the local package cache so that your system is aware of the packages from the newly added repository.
sudo apt update
Now you are ready to install VSCodium on Ubuntu:
sudo apt install codium
Yes, the package is called
Great! Now you can look for VSCodium in the menu and start the application from there:
And now you can enjoy coding in VSCodium.
The good thing is that you have added a repository to your system. When a new VSCodium is released, the repository maintainer pushes the new version to the repository and you should see the new version in the system updater.
In other words, keep your Ubuntu system updated and you should have the newer version of VSCodium.
If you don't want to use it any more for some reason, you can remove it using this command:
sudo apt remove codium
You may keep the repository and signature added to your system.
sudo rm /usr/share/keyrings/vscodium-archive-keyring.asc
Next, you could also remove the repository from the sources.list:
sudo rm /etc/apt/sources.list.d/vscodium.list
There should be some local, application related files in your home directory, you may want to delete them as well:
rm -r ~/.config/VSCodium
Method 2: Install VSCodium using snap
The snap installation method is rather easier and involves less steps.
Open a terminal and use the following command to install VSCodium snap package:
sudo snap install codium --classic
Wait for some seconds as it downloads the Snap package and then installs it. You'll see the progress on the screen and
How do you update the snap version of VSCodium? Snap applications are updated automatically multiple times a day. However, the application won't be updated if it's running.
So, alternatively, you can close any running instance of VSCodium and run this command to force an update (if there is any new version):
sudo snap refresh codium
If you don't like it, you can easily remove it with the command below:
sudo snap remove codium
VS Code VS VSCodium
The major difference is that VSCodium removes the telemetry part from the VS Code. Otherwise, it's a clone of the Microsoft's project and looks and works identical to the famous VS Code.
The telemetry could be a dealbreaker for some, and hence this project has a considerable popularity in the open source community.
Here's a good take on the VS Code telemetry issue.
If you are okay with the telemetry part, you can install VS Code on Ubuntu as easily. It's really your choice.
I hope you find this tutorial helpful in installing VSCodium on Ubuntu and other Debian-based distributions. Please leave your feedback in the comment sections.