您的位置:首页 > 运维架构 > Linux

CentOS 7.3安装Github Atom

2017-03-08 17:10 211 查看

问题

ATOM官网上下载.rpm文件后解压到本地

$ rpm -ivh atom.x86_64.rpm
错误:依赖检测失败:
libXss.so.1()(64bit) 被 atom-1.14.4-0.1.x86_64 需要


可见安装缺少依赖包。

解决

$ sudo yum localinstall atom.x86_64.rpm

balabala...
已安装:
atom.x86_64 0:1.14.4-0.1

作为依赖被安装:
libXScrnSaver.x86_64 0:1.2.2-6.1.el7

完毕!


man yum可知

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出现的问题。

参考

centos7安装google chrome出现的有关问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  centos atom yum