I've been recently converted to the Atom text editor on my Mac, so thought that I'd do the same on my newly minted Linux box, which is running CentOS: -
cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
Having downloaded Atom from here: -
I ended up with the following RPM: -
-rw-rw-r--. 1 hayd hayd 99606115 Jun 7 11:10 atom.x86_64.rpmand tried/failed to install it: -
sudo rpm -ivh atom.x86_64.rpm
error: Failed dependencies:
libXss.so.1()(64bit) is needed by atom-1.17.2-0.1.x86_64
I assumed that the solution would be simple; merely install the missing library: -
sudo yum install -y libXss.so.1
Amongst other things, this installed
libXScrnSaver-1.2.2-6.1.el7.i686.rpmHowever, when I retried the installation: -
sudo rpm -ivh atom.x86_64.rpm
it again failed with: -
error: Failed dependencies:
libXss.so.1()(64bit) is needed by atom-1.17.2-0.1.x86_64
When I thought further, I realised that I'd merely installed the 32-bit version of libXScreenSaver ( i686 ), whereas I was trying to install the 64-bit version of Atom.
I re-ran my installation: -
sudo yum install -y libXss.so*
which pulled libXScrnSaver.x86_64 0:1.2.2-6.1.el7
This time around, I was able to happily install Atom: -
sudo rpm -ivh atom.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:atom-1.17.2-0.1 ################################# [100%]
2 comments:
I prefer to use Codelobster IDE on CentOS
Thanks, will check that out, Dave
Post a Comment