How to Install VSCodium on Debian 11/10

VSCodium is a powerful, open-source code editor that can be used for various programming tasks. The source code for this product is available on GitHub under an MIT license, making it accessible to anyone who wants to use it. While VSCodium is free to use, some features may require third-party plugins or extensions. These plugins and extensions can sometimes transmit data without the user’s permission, so it’s important to know what they are before installing them.

The following tutorial will teach you how to install VSCodium on Debian 11/10 Linux. The tutorial will use the command line terminal with complete steps to install the official repository of VSCodium and tips on updating and removing the IDE properly and securely for those seeking a more privacy-focused IDE over the default Microsoft Visual Studio Code Editor.

Important Notice

The following tutorial was done with a Debian 11 Bullseye release and example images taken, but it was tested on Debian Buster. In the future, if Debian makes any changes to break the tutorial for one of the distribution versions, please place a comment for me to investigate so I can update the tutorial.

Recommended Steps Before Installation

Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.

Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.


sudo apt update

Optionally, you can list the updates for users who require review or are curious.

sudo apt --list upgradable

Proceed to upgrade any outdated packages using the following command.

sudo apt upgrade

Install VSCodium on Debian Linux

Install Dependencies

The following dependencies will need to be installed. Most of these packages would already be present on your system, but running the command can help ensure they’re installed.

sudo apt install dirmngr software-properties-common apt-transport-https curl -y

Import VSCodium GPG Key & Repository

First, you will need to import the GPG and the repository; luckily, this is straightforward, and you will always have the most up-to-date version available on your Debian system.

Import the GPG key using the following command.

curl -fSsL https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo gpg --dearmor | sudo tee /usr/share/keyrings/vscodium.gpg >/dev/null

Next, import the repository.


echo "deb [arch=amd64 signed-by=/usr/share/keyrings/vscodium.gpg] https://download.vscodium.com/debs vscodium main" | sudo tee /etc/apt/sources.list.d/vscodium.list

Install VSCodium

Once done, run an APT update to reflect the new additional repository.

sudo apt update

Now you can install VSCodium using the following command.

sudo apt install codium -y

Launch VSCodium on Debian Linux

Now that you have completed the installation launching, it can be done in a few ways.

Using the command line terminal, you can open the software quickly by using the following command.

codium

The best way to use VSCodium for desktop users that prefer not to use the command line terminal is to open the GUI of the application by following the path.

Activities > Show Applications > VSCodium


Example:

launch vscodium from application menu on debian linux

Once opened, it has the same look and feels as using Visual Code Editor, without all the Telemetry.

Example:

vscodium example on debian linux

Update VSCodium on Debian Linux

To check for updates using the command line, use the following command to allow a blanket check for any updates across all APT packages. I would run this regularly if you do update checks manually; VSCodium binary updates quite a bit.

sudo apt update && sudo apt upgrade

Remove VSCodium on Debian Linux

When you no longer want VSCodium installed on your system, use the following command to remove it.

sudo apt autoremove codium -y

Next, remove the repository using the following command.


sudo rm /etc/apt/sources.list.d/vscodium.list

For good housekeeping and security, remove the GPG key as follows.

sudo rm /usr/share/keyrings/vscodium.gpg


Not what you were looking for? Try searching for additional tutorials.

Leave a Comment