Ubuntu18.04 download vscode faster way

Various reasons led to the reinstallation of the system, and once again embarked on the process of reinstalling the software and file configuration.
Downloading vscode on the Linux operating system has always been slower than the opinion thing. I understand that there are three ways to download vscode: If the network speed is not ideal, the third method is recommended.

1 Go to the official documentation to download the deb installation package of vscode

Then open the terminal at the download location:

sudo dpkg -i +安装包名字

2 Go directly to the software store to download vscode

Insert picture description here

3 Use apt to install Visual Studio Code and run it all the way down

1. Check and install update dependencies:

sudo apt update
sudo apt install software-properties-common apt-transport-https wget

2 Get the key of Microsoft's GPG:

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -

3Enable the Visual Studio Code source repository:

sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

4 Install the Visual Studio Code package:

sudo apt install code

5Finally check for updates:

sudo apt update
sudo apt upgrade

Finally, if the computer is Windows, use Thunder to download it

Guess you like

Origin blog.csdn.net/Msyusheng/article/details/112756765