How to Install Visual Studio Code on Fedora 35 – Holhol24

1

Visual Studio Code is a cross-platform supply code editor evolved via Microsoft. It has integrated debugging make stronger, syntax highlighting, code crowning glory, embedded Git keep watch over, code refactoring, and snippets.

Visual Studio Marketplace provides plenty of plugins and extensions to increase the capability of VS code.

Here, we can see set up Visual Studio Code on Fedora 35.

Add VS Code Repository

Visual Studio Code is to be had from the Microsoft repository for the Fedora working gadget. So, it is very important arrange the Microsoft repository in your gadget to get the VS Code package deal.

First, transfer to the foundation consumer.

sudo su -

Then, obtain and import the Microsoft signing GPG key the use of the next command within the terminal.

rpm --import https://applications.microsoft.com/keys/microsoft.asc

Finally, upload the Microsoft Visual Studio Code repository on your gadget.

cat  /and so forth/yum.repos.d/vscode.repo
[code]
identify=Visual Studio Code
baseurl=https://applications.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://applications.microsoft.com/keys/microsoft.asc
EOF

Install Visual Studio Code on Fedora 35

Once you’ve added the repository to the gadget, use the dnf command to put in Visual Studio Code.

dnf set up -y code

Output:

Fedora 35 - x86_64                                                             2.3 MB/s |  61 MB     00:27
Fedora 35 openh264 (From Cisco) - x86_64                                       2.9 kB/s | 2.5 kB     00:00
Fedora Modular 35 - x86_64                                                     462 kB/s | 2.6 MB     00:05
Fedora 35 - x86_64 - Updates                                                   1.9 MB/s | 9.8 MB     00:05
Fedora Modular 35 - x86_64 - Updates                                           1.3 MB/s | 3.3 MB     00:02
Visual Studio Code                                                              11 MB/s |  19 MB     00:01
Dependencies resolved.
===============================================================================================================
 Package                      Architecture       Version                              Repository          Size
===============================================================================================================
Installing:
 code                         x86_64             1.62.0-1635954170.el7                code               103 M
Installing dependencies:
 gtk2                         x86_64             2.24.33-5.fc35                       fedora             3.5 M
 ibus-gtk2                    x86_64             1.5.25-4.fc35                        fedora              27 okay
Installing vulnerable dependencies:
 libcanberra-gtk2             x86_64             0.30-26.fc35                         fedora              25 okay

Transaction Summary
===============================================================================================================
Install  4 Packages

Total obtain measurement: 106 M
Installed measurement: 306 M
Downloading Packages:
(1/4): libcanberra-gtk2-0.30-26.fc35.x86_64.rpm                                 48 kB/s |  25 kB     00:00
(2/4): ibus-gtk2-1.5.25-4.fc35.x86_64.rpm                                       50 kB/s |  27 kB     00:00
(3/4): code-1.62.0-1635954170.el7.x86_64.rpm                                   8.6 MB/s | 103 MB     00:11
(4/4): gtk2-2.24.33-5.fc35.x86_64.rpm                                          196 kB/s | 3.5 MB     00:18
---------------------------------------------------------------------------------------------------------------
Total                                                                          5.9 MB/s | 106 MB     00:18
Running transaction test
Transaction test succeeded.
Running transaction take a look at
Transaction take a look at succeeded.
Running transaction
  Preparing        :                                                                                       1/1
  Installing       : libcanberra-gtk2-0.30-26.fc35.x86_64                                                  1/4
  Installing       : gtk2-2.24.33-5.fc35.x86_64                                                            2/4
  Installing       : ibus-gtk2-1.5.25-4.fc35.x86_64                                                        3/4
  Installing       : code-1.62.0-1635954170.el7.x86_64                                                     4/4
  Running scriptlet: code-1.62.0-1635954170.el7.x86_64                                                     4/4
  Verifying        : gtk2-2.24.33-5.fc35.x86_64                                                            1/4
  Verifying        : ibus-gtk2-1.5.25-4.fc35.x86_64                                                        2/4
  Verifying        : libcanberra-gtk2-0.30-26.fc35.x86_64                                                  3/4
  Verifying        : code-1.62.0-1635954170.el7.x86_64                                                     4/4

Installed:
  code-1.62.0-1635954170.el7.x86_64         gtk2-2.24.33-5.fc35.x86_64      ibus-gtk2-1.5.25-4.fc35.x86_64
  libcanberra-gtk2-0.30-26.fc35.x86_64

Complete!

Launch Visual Studio Code

Once the VS Code is put in in your gadget, you’ll be able to release it via going to Activities >> seek for Visual Studio Code or operating the command code within the terminal.

Visual Studio Code operating on Fedora 35:

Visual Studio Code operating on Fedora 35

Update Visual Studio Code

Microsoft releases updates for Visual Studio Code each month. So, to replace the Visual Studio Code to the most recent model, use the beneath command.

dnf replace code

Conclusion

I am hoping you’ve effectively put in Visual Studio Code in your Fedora 35. Next, you’ll be able to head to put in extensions and configure VS Code in line with your personal tastes.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More