How to Install VSCodium on Fedora Linux

VSCodium is the perfect choice for web developers and software engineers looking for an open-source code editor. It leverages the same user experience as Microsoft Visual Studio Code, offering full access to its source code maintained on GitHub and licensed under the MIT License. The following tutorial will teach you how to install VSCodium on Fedora Linux. The tutorial will use the command line terminal with complete steps to install the official repository and tips on updating and removing the IDE securely and adequately.

Update Fedora

The first step is ensuring your system is up-to-date to avoid issues during the installation and for good practice. This is done by opening your terminal and using the following command.

sudo dnf upgrade --refresh

Most users can update all packages without hassle, but for users with specific software versions, you may want to review the updates to ensure none of your applications will break.

Install VSCodium on Fedora Linux

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 Fedora workstation desktop.

Import the GPG key using the following command.

sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg

Next, import the repository using the following command.

printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=download.vscodium.com\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h" | sudo tee -a /etc/yum.repos.d/vscodium.repo

Example output:

[gitlab.com_paulcarroty_vscodium_repo]
name=download.vscodium.com
baseurl=https://download.vscodium.com/rpms/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
metadata_expire=1h

Now you can install VSCodium using the following command.

sudo dnf install codium -y

Launch VSCodium on Fedora Linux

Now that you have completed the installation, you can open the software 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:

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

Example:

Additional Commands & Tips

Update VSCodium with CLI Commands

Checking for updates using the command line is straightforward and the best way to keep VSCodium and your general DNF system packages up-to-date. Use the following command to allow a blanket check for any updates across all DNF packages.

sudo dnf update --refresh

Remove (Uninstall) VSCodium

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

sudo dnf autoremove codium -y

Next, remove the repository using the following command if you plan never to re-install the IDE again.

sudo rm /etc/yum.repos.d/vscodium*

Conclusion

VSCodium is an excellent IDE application that you can use on your Fedora Linux desktop. The tutorial has shown you how to import the official VSCodium repository, install the IDE application, and keep it up-to-date with cli commands. You should now be able to get started using this powerful code editor for all of your programming needs.

See also
How to Install QSpeakers on Ubuntu 22.04 or 20.04

Leave a Comment

Index
Share to...