This quick tutorial is going to show you how to install Microsoft Visual Studio Code editor in Ubuntu 16.04, Ubuntu 16.10, Linux Mint 18 by adding the official Microsoft VS code repository.
So far the latest release is VS Code 1.10, and 64-bit DEB package is available for download at its official website.
To receive Visual Studio Code updates along with other system updates via Software Updater, you may want to add the VS Code repository via following steps:
1. Open terminal (Ctrl+Alt+T) and run command to download Microsoft GPG key:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
Then install the key via command:
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
Type in your password (no visual feedback) when it prompts and hit Enter.
2. Add the VS Code repository to your system by running command:
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
3. Finally install the VS Code editor via either Synaptic Package Manager:
or run the commands below in terminal:
sudo apt update
sudo apt install code
To remove VS Code editor, either use Synaptic Package Manager or run the command below in terminal:
sudo apt remove code && sudo apt autoremove
To remove VS Code repository, simply go to System Settings -> Software & Updates -> Other Software tab.
Đăng ký liền tay Nhận Ngay Bài Mới
Cám ơn bạn đã đăng ký !
Lỗi đăng ký !