Any RPM-based Linux should follow similar steps as outlined below. These include Red Hat, Rocky, AlmaLinux, Oracle, and others. If your distribution does not support using the Snap Store to install applications, please see the Microsoft documentation for installing PowerShell and VS Code.
Base System Description
In this example, the Rocky Linux machine is running Green Obsidian (8.4) with a GUI and no other special packages. For this example, we’ll use Snap (snapcraft.io) to install the necessary packages.
Install Snap and the Snap Store
Open the Terminal program and run the following commands one at a time. If prompted for your password for authorization, enter it.
Install the Extra Packages for Enterprise Linux (EPEL) repository
sudo dnf -y install epel-release && sudo dnf -y upgrade
Install the snap package manager
sudo dnf -y install snapd
Enable the communications needed for snap
sudo systemctl enable --now snapd.socket
Build a symbolic link
sudo ln -s /var/lib/snapd/snap /snap
Install the Snap Store app
sudo snap install snap-store
If you receive the message “error: too early for operating, device not yet seeded or device model not acknowledged” then just wait a few minutes and try to install the Snap Store again.
Once complete, the Snap engine and Snap Store have been installed
Important: You’ll need to log out/in or reboot for the Snap Store to appear in your launcher.
From here, the steps are the same starting with the Install PowerShell 7 step for DEB-based Linux above, except you’ll do the installations from within the Snap Store app and not the Software app.

Next Step
Once you confirm that Visual Studio Code is installed on your system, you can continue to the [mention:205feeafde77418eb9b0d109c903fb05:6b577b8c04704e209d29b6772bf67243].