#系统信息 Linux localhost.localdomain 3.10.0-327.el7.x86_64 x86_64 x86_64 x86_64 gnu/linux
Go to vscode download page Select the appropriate installation package download (can download source code self-compiled)
Install using Yum after download, or double-click the RPM installation package in the graphical interface
Locate and open Vscode in the application in the upper-right corner after installation is complete
================== problems Arise =======================
Found that the Vscode is not open, but because it is installed using the RPM Package Manager, it is unclear where the Vscode is installed.
The CentOS 7 Yum Installation path Query method in the blog on MSDN describes the software installed through RPM
--ql < software name >
Find Vscode software name is actually code (instead of what I thought Vscode), and then found Vscode installed in the /usr/share/code directory
Running in the terminal
$/usr/share/code/bin/code
Hint Missing libxss.so Library
#查看有没有软件能提供 LIBXSS Library, not found
$ yum whatprovides LIBXSS
#匹配 LIBXSS
Yum Search LIBXSS
Find information such as libxscrnsaver.x86_64 x.org X11 LIBXSS Runtime Library
So after installing Libxscrnsaver, you can run Vscode.
---------Reference---------
MSDN Blog: CentOS 7 Yum Installation path Query method
Install on Centos 7 using Vscode