centOs install eclipse & create Desktop

本文介绍如何在CentOS 7上安装Eclipse Luna,并创建桌面快捷方式。通过解压tar文件并设置符号链接,使得用户可以通过桌面图标启动Eclipse。此外,还涉及了如何使用sudo命令及对用户权限进行必要配置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[url=http://idroot.net/tutorials/how-to-install-eclipse-luna-on-centos-7/]centOs install eclipse & create Desktop[/url]



tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt
ln -s /opt/eclipse/eclipse /usr/bin/eclipse
vi /usr/share/applications/eclipse.desktop


following is the content of eclipse.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse 4.4.1
Comment=Eclipse Luna
Exec=/usr/bin/eclipse
Icon=/opt/eclipse/icon.xpm
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0



by the way note some about [sodo] command:
# visodo

then find "root ALL = (ALL)"
copy it new a line "yourusername ALL = (ALL)"
then you can use sudo,
but somehow is not a profit way grant all to ..
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值