Tuesday, November 19, 2024

Creating liberating content

Ubuntu 25.04 (Plucky Puffin)...

Ubuntu 25.04 (Plucky Puffin) daily build ISO images are now available to download...

GNU Linux-Libre 6.12 Kernel...

GNU Linux-Libre 6.12 kernel is now available for download. This release is based...

AlmaLinux OS 9.5 Is...

AlmaLinux OS 9.5 distribution is now available for download based on Red Hat...

Shotcut 24.11 Open-Source Video...

Shotcut 24.11 open-source video editor is now available for download with various bug...
Homebut as a text-based AIInstall VSCodium on...

Install VSCodium on Fedora

Install VSCodium on Fedora

Visual Studio Code (VS Code) is a popular cross-platform text editor developed by Microsoft. It's built on the Electron framework and is widely used by developers for coding and text editing tasks. The core of VS Code, known as "Code – OSS," is open source and distributed under the MIT License. However, Microsoft adds specific customizations and releases its branded version of the editor under a proprietary license.

To address concerns about telemetry and licensing, there's an alternative called "VSCodium," which is a community-driven, telemetry-disabled, and MIT-licensed version of VS Code.

Install VSCodium on Fedora
VSCodium running on Fedora 39.

In this tutorial, I will guide you through the process of installing and running VSCodium on a Fedora Linux system.

There are three ways to do that:

  1. Installing by downloading the rpm file from the release page. But, you need to repeat the process to get the package updated (which can get frustrating).
  2. Adding paulcarroty repo (as mentioned on VSCodium website). So, that when you update your Fedora system VScodium will also get updated (which is quite seamless).
  3. Using the flatpak version which you probably have tried by installing it from Gnome software already (I had a bad experience with the same so mileage may vary).

The first one is very straightforward i.e. downloading and installing the rpm file from the release page. So, let's cut to the chase and follow the other two methods.

Method 1: Installing VSCodium by adding the repository

Open a terminal: You can open a terminal by searching for "Terminal" in the application menu.

Add the GPG key: So that the package manager trusts the packager of the repo.

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

Add the VSCodium repository: The following command will add the repo to your Fedora system.

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

Install VSCodium: Now that you've added the VSCodium repository, you can install it using the following command (ones who love bleeding edge software can replace the package name to codium-insiders for installing the insiders version):

sudo dnf install codium

Launch VSCodium: You can now launch VSCodium either from the application menu or by running the following command in the terminal:

codium

Removing VSCodium

If you did not like VSCodium and the fact that it's based on Electron or maybe you switched to Neovim for good. You can remove it using this command:

sudo dnf remove codium

You may keep the repository and signature added to your system or maybe not (why not).
So, let's get rid of that repo:

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

Method 2: Install VSCodium using flatpak

You can install the flatpak also. So, here are the steps to install VSCodium using Flatpak on Fedora:

You can Install it straight away on Fedora by having flathub enabled which is probably enabled if you are using one of the latest iterations and have 3rd party repos enabled for Fedora. Just search for VSCodium in Gnome Software and click Install.

Install VSCodium on Fedora
Installing the flatpak from Gnome Software

But, for the folks running older versions for some reason or they might have a fork with flatpak not enabled can follow suit.

Install Flatpak and enable Flathub: Fedora usually comes with Flatpak pre-installed. If it's not installed, you can install it using the following command:

sudo dnf install flatpak

To enable the Flathub repository, use the following command:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Now that you have Flatpak set up, you can install VSCodium using the Flathub repository. Run the following command:

flatpak install flathub com.vscodium.codium

Launch VSCodium: You can launch VSCodium via Flatpak using the following command:

flatpak run com.vscodium.codium

Alternatively, you can also search for "VSCodium" in your application menu and launch it from there.

That's it! You should now have VSCodium installed and running on your Fedora system using Flatpak.

To remove it use the command below:

sudo flatpak uninstall com.vscodium.codium

Here comes the Bottomline

If you have used VS Code then you will not find any difference whatsoever between both the software. It is just for the sake of openness and freedom from the evil telemetry of Microsoft's version.

Coming to Fedora I installed the flatpak version first but VSCodium did not show any window decorations in the Wayland session (which is default obviously). Making it difficult to navigate using mouse.

Install VSCodium on Fedora
VSCodium flatpak showing no window decorations.

I tried some methods to fix it but had no luck due to flatpak's weird locations for config files. If someone has or can figure out the workaround for above issue can comment down below. But using the rpm version was seamless (Maybe the skeptics were right about alternative package management systems).

Extensions and Plugins were fine for most of the part. You can also follow this tutorial to install on any distro from The Enterprise Linux family e.g. Alma Linux, Rocky Linux etc.

from It’s FOSS https://ift.tt/ALfjuyZ

Get notified whenever we post something new!

spot_img

Create a website from scratch

Just drag and drop elements in a page to get started with Newspaper Theme.

Continue reading

Ubuntu 25.04 (Plucky Puffin) Daily Build ISOs Are Now Available for Download

Ubuntu 25.04 (Plucky Puffin) daily build ISO images are now available to download for early adopters and application developers who want to test drive their apps against the new toolchain. The post Ubuntu 25.04 (Plucky Puffin) Daily Build ISOs Are...

GNU Linux-Libre 6.12 Kernel Released for Those Seeking 100% Freedom for Their PCs

GNU Linux-Libre 6.12 kernel is now available for download. This release is based on Linux kernel 6.12 and it’s targeted at those who seek 100% freedom for their personal computers. The post GNU Linux-Libre 6.12 Kernel Released for Those Seeking...

AlmaLinux OS 9.5 Is Here as a Free Alternative to Red Hat Enterprise Linux 9.5

AlmaLinux OS 9.5 distribution is now available for download based on Red Hat Enterprise Linux 9.5. Here’s what’s new! The post AlmaLinux OS 9.5 Is Here as a Free Alternative to Red Hat Enterprise Linux 9.5 appeared first on 9to5Linux...

Enjoy exclusive access to all of our content

Get an online subscription and you can unlock any article you come across.