Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
How To Install VS Code Editor On Ubuntu 22.04 LTS [Multiple Methods]

How To Install VS Code Editor On Ubuntu 22.04 LTS [Multiple Methods]

Posted on February 10, 2022 By admin

Install Microsoft VS Code on Ubuntu using multiple methods.

In this tutorial post, we are going to install VS code editor on Ubuntu using various methods. These steps for the installation of the Microsoft Visual Code Editor are applicable for the Ubuntu 22.04 LTS and Ubuntu 20.04 LTS.

VS Code Editor Or Visual Studio Code Editor is an open-source code editor from Microsoft.

How To Install VS Code Editor On Ubuntu 22.04 LTS [Multiple Methods]

Method To Install VS Code Editor On Ubuntu Via Command:

First, run the following command to update your system:

sudo apt update

After updating the system, download the .deb package file of VS code editor.

wget -O vscode.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64'

Now, you can install VS Code editor on Ubuntu with the following command:

sudo apt install ./vscode.deb

Just in case you want to remove the VS Code editor from Ubuntu 22.04 LTS, execute the following command:

sudo apt remove code -y

Method To Install VS Code Editor On Ubuntu Via Ubuntu Software

Search VS Code editor from the Ubuntu software center and install it without any hassle.

Method To Install VS Code Editor On Ubuntu Via Repository

Run the following command to add Repositor of VS Code Editor on your Ubuntu.

sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] \
https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'

After adding the repo, run the following command to add the GPG key used to sign the packages of VScode by Microsoft.

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
rm -f packages.microsoft.gpg

Now update your Ubuntu system:

sudo apt update

Execute the APT command to install Visual Studio Code on Ubuntu.

sudo apt install code

and to remove it from your Ubuntu, open your terminal and run the following command.

sudo apt remove code -y

Method To Install VS Code Editor On Ubuntu Via Snapd

READ More Relevant Stuff:  Linux Mint 20 Dropped Ubuntu's Snap

It is pretty easy and simple to install Microsoft VS Code Editor on Ubuntu via Snapd. You just need to fire one single command and you are good to go with VS code editor.

sudo snap install --classic code

If you want to remove, use the following snap command:

sudo snap remove code
How To Ubuntu, Ubuntu 20.04, Ubuntu 22.04 Tags:Linux Vs Ubuntu, vs

Post navigation

Previous Post: Best FreeNAS Plugins : TrueCore Plugin Collection
Next Post: Best Unetbootin Alternatives For Linux & Windows [2023]

Related Posts

How To Install WhatsApp On Ubuntu 22.04 LTS How To Install WhatsApp On Ubuntu 22.04 LTS Linux
Multiple Ways To Upgrade Linux Kernel In Ubuntu 20.04 LTS Multiple Ways To Upgrade Linux Kernel In Ubuntu 20.04 LTS Ubuntu
List Of Useful Multimedia Software For Ubuntu 22.04 LTS List Of Useful Multimedia Software For Ubuntu 22.04 LTS In 2023 Ubuntu 20.04
Tutorial To Install Cockpit On Ubuntu 22.04 LTS Tutorial To Install Cockpit On Ubuntu 22.04 LTS Ubuntu 22.04
HPLIP 3.22.4 Released | HP printer and scanner drivers For Linux HPLIP 3.22.4 Released | HP printer and scanner drivers For Linux Linux
Install Google Chrome in Ubuntu 20.04 LTS Via Official Repo Install Google Chrome in Ubuntu 20.04 LTS Via Official Repo Ubuntu 20.04

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at info@itsubuntu.com
  • Fleet Service Writer

    • Rochester, NY
    • City of Rochester, NY
    • Full Time
  • Sr Business Analyst / Technical Writer

    • Phoenix, AZ
    • Paychex Deutschland GmbH
    • Full Time
  • Volunteer SEO Content Blogger for Animal Welfare

    • Sapulpa, OK
    • Grace Animal Rehabilitation Center Inc.
    • Full Time
  • Senior Business Analyst & Technical Writer for AI Knowledge

    • Phoenix, AZ
    • Paychex Deutschland GmbH
    • Full Time
  • Service Writer

    • Granbury, TX
    • Midas
    • Full Time
  • Experienced Automotive Service Writer (1 Yrs Exp Req to Apply) – Mazda West

    • Mount Air, OH
    • Germain Automotive
    • Full Time
  • Service Express Writer

    • Louisville, KY
    • Bachman Auto Group
    • Full Time
  • Application Analyst (Python / PyFlink / Data Engineering)

    • Charlotte, NC (Remote)
    • Strategic Staffing Solutions
    • Full Time

Copyright © 2026 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme