Centos 安装VSCode 和 eclipse

1.安装VScode

参考:官网教程 :Running Visual Studio Code on Linux        

        安装命令:Centos7上安装vscode和ssh_vscode连接centos_雪中奇侠的博客-CSDN博客

centos7下安装vscode_centos安装vscode_你若安好我便天晴的博客-CSDN博客

 

root目录下运行报错1:

解决参考:Centos安装vscode后root用户不能打开软件_you are trying to start visual studio code as a su_Ideal-life_L&T的博客-CSDN博客

[root@localhost ~]# code
You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please add the argument `--no-sandbox` and specify an alternate user data directory using the `--user-data-dir` argument.

 root目录下运行报错2:暂未解决

[root@localhost ~]# code
[7559:0713/114129.698208:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[main 2023-07-13T03:41:29.802Z] update#setState idle
[7578:0713/114134.089439:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -200
[main 2023-07-13T03:41:59.803Z] update#setState checking for updates
[main 2023-07-13T03:41:59.913Z] update#setState idle
 

2.eclipse安装

参考视频:09-Eclipse的配置使用以及测评(C++视图)_哔哩哔哩_bilibili 

1.去官网 下载Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source projects...

 

 2.解压文件,然后进入eclipse,双击可执行文件就行,只会让你选择文件存放目录,我的是

/root/eclipse-workspace
3.设置桌面快捷键

参考:CentOS 8搭建Linux下Eclipse开发环境_eclipse-java-2021-12-r-linux-gtk-x86_64.tar.gz_小C的快乐星球的博客-CSDN博客

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值