Install on Centos 7 using Vscode

Source: Internet
Author: User

#系统信息 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.