Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install VSCode in Linux system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to install VSCode in a Linux system? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

What is the use of vscode Visual Studio Code is a cross-platform editor for writing modern web and cloud applications, which runs on OS X web Windows and Linux. It provides developers with built-in support for a variety of programming languages, and as Microsoft pointed out in keynote at the Build conference, this editor also provides rich code completion and navigation features for these languages.

Which parameter is used by the rpm command to install the software:-I

Which parameter is used by the rpm command to delete the software:-e

The directory where the yum installation source configuration file is located is: / etc/yum.repo.d

The suffix name of the yum installation source profile must be: repo

The yum commands that can delete software packages are: yum remove; yum erase

When using yum for software installation, if you want yum to be installed directly, you do not need to manually confirm that you can use the parameter:-y

Download and install VSCode according to your own Linux system (different distributions, different software installation commands)

?

one

Sudo rpm-- import https://packages.microsoft.com/keys/microsoft.asc

?

one

Sudo sh-c 'echo-e "[code]\ nname=Visual Studio Code\ nbaseurl= https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > / etc/yum.repos.d/vscode.repo'

?

one

Yum check-update

?

one

two

Sudo yum install code

Code-version

Original link: https://blog.csdn.net/HYD696/article/details/106465861

Use programming to output the current time

Source code

?

one

two

three

Import datetime

T1 = datetime.datetime.now ()

Print (T1)

Running

After reading the above, have you mastered how to install VSCode in the Linux system? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Original link: https://blog.csdn.net/HYD696/article/details/106465861

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report