Install VSCodium on Ubuntu 22.04 | 20.04 Linux

VSCodium is a free and open-source fork of Microsoft’s VS code editor,  here we will learn the commands to install VScodium on both Ubuntu 22.04 Jammy JellyFish and Ubuntu 20.04 Focal Fossa. 

Although the source code of Microsoft’s VSCode is distributed under an MIT license, hence open source. However, the final product or binary of Visual Studio Code is not available to download under the Foss license and also contains telemetry/tracking.

To make everything available under MIT License, an open-source community of developers created VSCodium which is a fork of Microsoft VSCode. This project includes special build scripts that clone Microsoft’s vscode repo, run the build commands, and upload the resulting binaries for you to GitHub releases. These binaries are licensed under the MIT license. Telemetry is disabled.

Steps to install on VSCodium on Ubuntu 22.04 | 20.04 Linux

There are two ways to install VSCodium on Ubuntu Linux one is using SNAPD and the other is via the APT package manager. For its source code, one can visit GitHub.

#1st method using SNAP:

1. Install VSCodium using SNAP

Well. the best way to install VScodium on Ubuntu is using Snapd because it comes as a pre-installed package manager on all the latest versions of Ubuntu Linux.  Hence, just execute:

sudo snap install codium --classic

#2nd method using the APT package manager

2. Update Ubuntu 22.04 or 20.04

The first thing we perform before performing any tutorial is to update the system. For that, we can use the system’s default APT package manager.

sudo apt update && sudo apt upgrade

3. Add VSCodium GPG key

To authenticate that the packages we receive using the VSCodium’s official repository are the same as the developers who published them, our system needs a GPG key. That has been used by the developers to sign the packages. Here is the command to add the GPG key.

wget -qO - | gpg --dearmor | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg

4. Add the repository

Well, unlike other common open-source software, VScodium is not available to install using Ubuntu’s system repository. Hence, we have to add the one manually, made available by the developers of this open-source code editor.

echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list

After adding the repo, run once again the update command:

sudo apt update
Add repository

5. Install Vscodium on Ubuntu 22.04 | 20.04

Now, we have the repository in place, next use the APT package manager with the “install” parameter and the software name of this code editor to get it on your system. Here is the command to follow:

sudo apt install codium
sudo apt install codium

6. Run Code Editor

For both the Snap & APT method, the way to run this program will be the same. Go to the Application launcher and there search for VSCodium. When its icon appears, click to run the same.

Run VScodium

Here is the final outcome or interface of VScodium on Ubuntu 22.04 or 20.04.

Install Vscodium on Ubuntu 22.04 20.04

7.  How to update or upgrade VSCodium

Here in this tutorial, we have used two methods to install this development program. Hence, as per the one you have used, go for the commands given below to install the new version of the program that will be available in the future:

For the Snap method:

sudo snap refresh codium

For the APT method:

Well, if you have used the APT package manager then we just need to execute the system update command; this will also install the new version of the Code editor, if available:

sudo apt update && sudo apt upgrade

8. Uninstall or Remove

If you didn’t like this code editor and in the future, you want to remove it completely from your system then that is possible as well using the command terminal.

For Snap users:

sudo snap remove codium

For APT users:

sudo apt autoremove --purge codium

Ending Notes:

These were some common methods to get this completely free and open-source Microsoft VScode fork VSCodium on your Ubuntu 22.04 or 20.04 Linux systems. If you want to install the VS Code, then see: 4 Ways to install VS Code Editor on Ubuntu 22.04 | 20.04 LTS

Whereas the server users can go for – Install Code-Server for VS code on Ubuntu 22.04 or 20.04 LTS

Other Articles:

How to install Backdrop CMS on Ubuntu 22.04 | 20.04
Install Fotoxx Image Editor on Ubuntu 22.04| 20.04
How to install Telegram on Ubuntu 22.04 | 20.04 

2 thoughts on “Install VSCodium on Ubuntu 22.04 | 20.04 Linux”

  1. from man gpg:
    Pack or unpack an arbitrary input into/from an OpenPGP ASCII armor. This is a GnuPG extension to OpenPGP and in general not very useful.

  2. Typos in step 3:
    wget -qO – \ | gpg –dearmor \ | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg

    On Ubuntu returns the error message: No such file or directory

    I think the command should be:
    wget -qO - \ | gpg –dearmor \ | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.