05-23-2012
How to install .rpm file from a directory using yum?
Hello Everybody,
I am having a cluster which is not connected to internet. I want to check its performance do I downloaded required packages from the internet and copied them in a particular folder. As per the instructions given at
http: //manyrootsofallevilrants.blogspot.in/2012/04/hpc-beowulf-style-cluster-using-centos.html
The instructions are as :
Install compilers and libraries (Note that development packages were obtained from http: //isoredirect.centos.org/centos/6/os/x86_64/Packages/ and yum was run from the directory containing them):
yum -y install atlas blas lapack atlas-devel-3.8.4-1.el6.x86_64.rpm
But when I run the above command I get an error message as :
Loaded plugins: fastestmirror, security
loading mirror speeds from cached hostfile
could not retrieve mirrorlist http //mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14 pycurl error 7 couldn't connect to host
error cannot find a valid baseurl for repo: base
Can somebody tell me how to solve this problem and install the packages from directory using yum.
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Currently i just installed solaris 10
now i want to install a package in rpm format which i used to install in Linux
can it install in Solaris 10 as well ?
if yes,what is the command ?
last time in linux i used to type this command #rpm -i xxxxx.rpm
but i tried in linux it not... (3 Replies)
Discussion started by: bluefries
3 Replies
2. UNIX for Dummies Questions & Answers
Dear expert,
Suppose I have an application that comes in rpm format.
Let's call it:
my_downloaded_package.rpm
How can I install it in my particular home directory (since I'm not
a root user). Say the directory where I want to install above rpm package is:
~/.my_desired_location... (1 Reply)
Discussion started by: monkfan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
For example, I want to install abc.rpm to /abc directory.
How can I do that?
Please help. (2 Replies)
Discussion started by: beeloo
2 Replies
4. SuSE
Hi,
I have got few RPM's from rpmfind.net ( mainly gcc ).
But it seems to be src files instead of the image.
so I think we have to build the src files according to target machine using rpmbuild.
Can any one help me with
1) Various options of rpm build that have to be taken care
2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies
5. Linux
I am setting up a new server with the goal of porting a solaris server to centos. I want to compile some packages myself (ie) http, ssl, mysql, etc. The reason for this is the downloadable rpm packages are very old. I probably want to make sure the kernel is up to date, but the individual pages... (2 Replies)
Discussion started by: csross
2 Replies
6. Red Hat
Hi,
I have configured YUM repository on a server and we have 10 linux machine (clients).
Is there any way we can install a package on all the 10 machines from YUM repository server?
Please help me. (7 Replies)
Discussion started by: uday123
7 Replies
7. Linux
Hi Guys,
I have an issue whereby I package up an rpm and when I deploy it, the binary filesizes differ from what I packaged up from the SOURCE directory.
from source - -rwxrwxr-x 1 user group 685156 Sep 26 15:50 cybAgent.bin
after install - -rwxr-xr-x 1 user group 683388 Oct 16 11:10... (4 Replies)
Discussion started by: gazza-o
4 Replies
8. UNIX for Dummies Questions & Answers
Hi there
/root #yum localinstall sg3_utils
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Local Package Process
Skipping: sg3_utils, filename does not end in .rpm.
Nothing to do
/root #
above is the error
/root... (6 Replies)
Discussion started by: heman96
6 Replies
9. Solaris
I am using solaris 10
yum command not found
apt-get install command not found
rpm command not found
how to use yum and apt-get command in solaris
how to install dhcp, openldap-servers packages in solaris (4 Replies)
Discussion started by: ainstin
4 Replies
10. UNIX for Beginners Questions & Answers
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
LEARN ABOUT CENTOS
repodiff
repodiff(1) repodiff(1)
NAME
repodiff - list differences between two or more Yum repositories
SYNOPSIS
repodiff --old=old_repo_baseurl --new=new_repo_baseurl
DESCRIPTION
repodiff is a program which will list differences between two sets of repositories. Note that by default only source packages are com-
pared.
GENERAL OPTIONS
--old, -o
Add a repo. as an old repo. Note that if you prefix the url with "mirror:" then the following url is treated as a mirror and not a
baseurl.
--new, -n
Add a repo. as an new repo. Note that if you prefix the url with "mirror:" then the following url is treated as a mirror and not a
baseurl.
--archlist, -a
Add architectures to change the default from just comparing source packages. Note that if you want the same as a native "x86_64"
architecture machine you just need to pass "x86_64" (this is different from earlier versions where you needed to specify
"x86_64,athlon,i686,i586,i486,i386,noarch" and you still got "src").
--size, -s
Output additional data about the size of the changes.
--compare-arch
Normally packages are just compared based on their name, this flag makes the comparison also use the arch. So foo.i386 and
foo.x86_64 are different.
--simple
Output a simple one line message for modified packages.
--downgrade
Split the data for modified packages between upgraded and downgraded packages.
EXAMPLES
Compare source pkgs in two local repos:
repodiff --old=/tmp/repo-old --new=/tmp/repo-new
Compare x86_64 compat. binary pkgs in two remote repos, and two local one:
repodiff -a x86_64 --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new
Compare x86_64 compat. binary pkgs, but also compare arch:
repodiff -a x86_64 --compare-arch --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new
--new=/tmp/repo-new
Compare two releases of Fedora (15 => 16):
repodiff --old='mirror:https://mirrors.fedoraproject.org/metalink?repo=fedora-source-15&arch=i386' --new='mirror:https://mir-
rors.fedoraproject.org/metalink?repo=fedora-source-16&arch=i386' --size --simple --downgrade
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
James Antill 21 October 2008 repodiff(1)