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文件設置快捷方式及圖標,如下圖:

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM