How to install Vscode in the Fedora Linux

 

Here i  have recently moved from windows to Linux. and in search of i found that i can use the fedora based on recommendations. in that i have selected the fedora kde which is slightly comparable to windows.

 

so since i want to code and such i need a coding environment. and first thing that pops up is the vscode. 

 

so  like windows we dont have executable for fedora (which needs a .rpm) one for the installing mechanism.     so i searched on the docs  VSCODE LINK  . with in that i got checked online again because unlike windows the linux has vast os mechanisms. 

Thanks to vscode team there is a statement mentioning fedora so i clicked on it. where we have 3 exectutable commands in order to take upon

1. adding the marketplace to the repositorys.

 sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc &&
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null

2. then update the current system by sudo dnf update

3. then we can install the vscode by sudo dnf install code 

 

 

here u might ask that why dont i use the fedora discover as it contains the vscode but i have seen is that on fedora 44 there are issues with it. like when i am trying to use the vscode and i made the signin to account. and on reopen signin disappeared. and also extensions also not worked correctly. and terminal problem with path view (because i want to see where the commands gonna executed).   and these all are my personal opinions. 

 

check my video on it comparision YTLINK


 

 

 

 

Post a Comment

0 Comments