The Visual Studio can be installed on Ubuntu 22.04 using two methods which have been discussed in this blog.
Installing the code editor on Ubuntu 22.04 operating system involves running a series of commands on the terminal. Here we have summed up all these commands for you.
Updating your system before installing anything is considered a good practice, therefore, you can use the following command to perform this action.
Output
The system has been updated and upgraded.
Now once the system is updated there are certain packages that need to be installed on your system before you install the editor.
Output
After installing the packages, the next step is to include the Visual Studio Code repository but before that Microsoft GPG key needs to be imported to authenticate the packages installed.
Output
This will validate the originality of the packages installed. Now let’s move towards including the Microsoft Visual Source repository.
Output
After installing the packages, and importing the repository, updating your operating system is recommended.
Output
System updated successfully.
Now simply run the below-given command on the terminal to install Visual Studio Code Editor.
The Visual Studio code is successfully installed on Ubuntu 22.04.
Run this command to start the application.
Or,
Apart from this, to launch VS code on Ubuntu, open the Application menu and search for code:
Now click on the icon to launch the app.
You can now open the new file and start writing your code.
To install Visual Studio code through Snap store on Ubuntu, simply execute the command:
Output
The editor has been installed successfully.
Snap is already installed on Ubuntu 22.04 by default. However, if you do not have snap due to any reason, you can install it using the command given below:
If you have installed Visual Studio Code by adding the repository and key then you can uninstall it using the command typed below:
If you have installed Visual Studio Code from the snap store then run the command given below:
Output
The editor has been uninstalled.
Installing Visual Studio Code on Ubuntu 22.04 requires you to install certain packages using the command and then import Microsoft GPG and VS repository using commands. Moreover, this app can be installed using the snap store. This tutorial provides a detailed guide on how to install, launch, and uninstall Visual Studio Code from Ubuntu 22.04 LTS (Jammy Jellyfish).
Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12…
Welcome to the Ubuntu Weekly Newsletter, Issue 878 for the week of February 2 –…
At Canonical, we firmly believe that delivering an outstanding, customer-centric support experience is impossible without…
I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written…
Now I want to share how to install WordPress on ubuntu 20.04 server. WordPress is…
Now I want to share the DNS server installation process on your Ubuntu 20.04 server.…