I'm trying to install RVM in a CentOS server which for some weird reason I do not have access to internet.
One of its dependencies is the library libyaml-devel
.
I already installed the libyaml downloaded from here: http://pyyaml.org/download/libyaml/. But it didn't solve the problem.
First:
Where do I find the official repository of libyaml-devel
(Yes, I tried Google. I couldn't find it here: http://pyyaml.org/wiki)
Second:
Probably I will have other issues with other libs on this server. How to install other libs easily without internet access (and of course, without yum install
)?
Edit:
- I'm using CentOS 6.5
Edit 2:
Using another machine, I downloaded libyaml-devel from 2 sources, moved to the server and tried install it, without success.
http://pkgs.repoforge.org/libyaml/libyaml-devel-0.1.4-1.el6.rf.x86_64.rpm
$ sudo rpm -Uvh libyaml-devel-0.1.4-1.el6.rf.x86_64.rpm
warning: libyaml-devel-0.1.4-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
error: Failed dependencies:
libyaml = 0.1.4-1.el6.rf is needed by libyaml-devel-0.1.4-1.el6.rf.x86_64
libyaml-0.so.2()(64bit) is needed by libyaml-devel-0.1.4-1.el6.rf.x86_64
ftp://195.220.108.108/linux/centos/6.7/os/x86_64/Packages/libyaml-devel-0.1.3-4.el6_6.x86_64.rpm
$ sudo rpm -Uvh libyaml-devel-0.1.3-4.el6_6.x86_64.rpm
error: Failed dependencies:
libyaml = 0.1.3-4.el6_6 is needed by libyaml-devel-0.1.3-4.el6_6.x86_64
Best Answer
Why don't you install the same CentOS 6.5 where you can download updates via yum, and go this way:
http://www.cyberciti.biz/faq/yum-downloadonly-plugin/
You can download all rpm's you need and then install them on your server.