how to use yum install the rpms listed in redhat/el6/x86_64/

451 views Asked by At

some rpm package could be found here, http://dl.marmotte.net/rpms/redhat/el6/x86_64/

like rubygem-bundler-1.0.15-1.el6.noarch.rpm, rubygem-thor-0.14.6-1.el6.noarch.rpm,

my question is how can I just use yum install rubygem-bundler to install these packages, what's the yum repo?

what can I add to /etc/yum.repo.d/

I am using amazon linux in AWS.

1

There are 1 answers

1
david30xie On BEST ANSWER

It's simple, just create a file named marmatte.repo in /etc/yum.repos.d, and content is as below:

[marmotte]
name=marmotte
baseurl=http://dl.marmotte.net/rpms/redhat/el6/x86_64/
enabled=1
gpgcheck=0

After saving it, run yum makecache.