centos 安装atom 笔记

一、安装atom 

 

“To install Atom on Linux, you can download a Debian package or RPM package either from themain Atom website or from theAtom project releases page. These packages do not currently have auto-update features, so when you would like to upgrade to a new release of Atom, you will have to repeat this installation process.”

  • Debian and Ubuntu (deb/apt)

To install Atom on Debian, Ubuntu, or related systems:

# Install Atom
sudo dpkg -i atom-amd64.deb

# Install Atom's dependencies if they are missing
sudo apt-get -f install
  • RedHat and CentOS (yum)

To install Atom on CentOS, Oracle Linux, RedHat Enterprise Linux, Scientific Linux or related systems that use the yum package manager:

sudo yum install -y atom.x86_64.rpm
  • Fedora (dnf)

To install the latest release of Atom on Fedora or other systems that use the DNF package manager:

sudo dnf install -y atom.x86_64.rpm
  • SUSE (zypp)

To install the latest release of Atom on openSUSE or other systems that use the Zypp package manager:

sudo zypper in -y atom.x86_64.rpm

 

二、在centos上安装atom的时候,遇到依赖的问题,解决方法如下:

localinstall 
Is used to install a set of local rpm files. If required the 
enabled repositories will be used to resolve dependencies. Note 
that the install command will do a local install, if given a 
filename. This command is maintained for legacy reasons only.

即yum localinstall可以帮助安装本地rpm包,并解决依赖问题。 
该方法也可以用来解决centos7安装google chrome出现的问题。

 

三、Centos 设置桌面快捷方式

1、通过rpm包或者yum安装的,centos7默认安装在了/usr/share/applictions里面,复制粘贴到桌面即可
2、通过xx.desktop文件设置快捷方式及图标,如下图:

 

转载于:https://www.cnblogs.com/yaohuimo/p/8393882.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值