i have also tried the yum-config-manager --enable <name of repos> name of repos =elfutils-libelf-0.172-2.e17.i686.rpm
This is not the name of the repository, it is the name of the package. A "repository" is a place where several (many) packages are collected to install from there. If you do a yum repolist you will see a list of repositories. Look in the directory /etc/yum.repos.d and you will see some files named exactly like the list you got but with the ending "repo". These files are the definition files of the respective repo. Have a look at existing files to see the structure. You can even create a local repository by downloading rpm-files, putting them into a directory and creating a repository from that.
First you need to tell yum that you want to use a new repository: a repo-file for a local repository (/etc/yum.repo.d/local.repo) could look as simple as this:
Then put your rpms in /your/directory/with/rpms and run createrepo /your/directory/with/rpms.This is it. You may need to install the rpm-package with the createrepo utility first if you don't have it on your system. Now you can install the rpms from this directory using yum install ..... Notice that when you add, remove or change rpms from this directory you need to run createrepo again to update the repository information.
I hope this helps.
bakunin
Last edited by bakunin; 01-16-2019 at 09:06 AM..
These 2 Users Gave Thanks to bakunin For This Post:
Hi,
I installed Fedora 7 without GNOME and KDE from DVD. Using console is not convenient, so I would like to install KDE. I do some step like this:
----------------------------
1. I use local repository from DVD: /mnt/dvd
2. from command windown:
# yum groupinstall KDE
..................... (1 Reply)
Hello all
i install several application using yum in CentOS
now i like to see the installed application path's
where each component yum downloaded got installed
how can i do that ? (1 Reply)
Hi,
working on CentOS 5.7 64 bit. I need to install syslog-ng. First I downloaded syslog-ng RPM. When I install I get many dependencies error messages.
rpm -ivh syslog-ng-3.3.3-1.mga2.x86_64.rpm
warning: syslog-ng-3.3.3-1.mga2.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID... (2 Replies)
Hi guys,
thanks for you help on this issue.
I built a dvd repository on my server and when I try to install a package from it, I get this error
ftp://10.0.0.12/pub/Packages/httpd-2.2.15-26.el6.x86_64.rpm: PYCURL ERROR 9 - "Server denied you to change to the given directory"
I will... (2 Replies)
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)
Hi all,
I am on Linux box where CPAN is not working for downloading any perl modules. When I try "perl -MCPAN -e shell" as root as well as a user, I get following error:
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl... (2 Replies)
Discussion started by: pat_pramod
2 Replies
9. Post Here to Contact Site Administrators and Moderators
Dear All,
Dear Friends,
AM installing openldap , during that need to install migrationtools through yum install .
But when run the command " yum install migrationtools " its throughin below errors.
There is not folder migrationtool is creating as you can see below. Even i tried with... (0 Replies)
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)