- Learn WebAssembly
- Mike Rourke
- 116字
- 2021-08-13 15:39:00
Installing Visual Studio Code on Ubuntu
The process for installing VS Code on Ubuntu has a few extra steps, but is still relatively simple. First, download the .deb file from VS Code's download page (https://code.visualstudio.com/Download). Once the download completes, run the following commands to complete the installation:
# Change directories to the Downloads folder
cd ~/Downloads
# Replace <file> with the name of the downloaded file
sudo dpkg -i <file>.deb
# Complete installation
sudo apt-get install -f
If you get a missing dependency error, you can fix it by running the following command before sudo dpkg:
sudo apt-get install libgconf-2-4
sudo apt --fix-broken install
You should now be able to open VS Code from the Launcher.