Sponsored Content
Full Discussion: Installing rpm in centos 6
Operating Systems Linux Red Hat Installing rpm in centos 6 Post 302664479 by admin_xor on Friday 29th of June 2012 03:54:55 PM
Old 06-29-2012
In CentOS 6 DVD (there are 2 DVDs), you will find Packages directory which contains the rpm files.

If your system does not have yum installed by default (which is weird), you have to go through the pain of installing it using the rpm command (don't tell me that too does not work!) after installing all dependencies.

Once you have yum, you can use your DVDs as the local yum repository by adding a file named local.repo (or any name with the .repo extension) in /etc/yum.repos.d/ directory with the following contents:

Code:
[Local]
name=Local Repository
baseurl=file:///misc/cd/Packages
enabled=1
gpgcheck=0

...and you can install the packages using yum now.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing php-4.3.3-2.i386.rpm

Ok when i try to run the install the is what i get How can i fix this can anyone help (8 Replies)
Discussion started by: Blackrose
8 Replies

2. Shell Programming and Scripting

Installing database through RPM

Hi everyone I have just joined a software developing team. I am new to unix. Basically we are developing a product, the problem is when the end user will install this package we would like to install the datbase associated with our product using RPM. Can it be done? how secure it is? and... (0 Replies)
Discussion started by: atul.saxena
0 Replies

3. HP-UX

Urgent Help needed for Installing RPM on HP-UX

I am working on a HP-UX PARISC 64 architecture. I am trying to install RPM but without success. Has any body successfully installed RPM on the above architecture. I couldnt find a compatible depot file. I tried to compile the source code for rpm-4.0 package. All the dependencies are... (3 Replies)
Discussion started by: sjcekk
3 Replies

4. Shell Programming and Scripting

User installing a rpm package

Hi, I have an application to be installed and I want a user to be able to install it. But I meet the following issues: Removing MyApp error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open... (1 Reply)
Discussion started by: potro
1 Replies

5. Red Hat

Installing rpm packages

Hi guys, I am trying to install some packages for my oracle 11g r2 installation, the below error shows up when I try below: warning: glibc-devel-2.5-24.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: glibc-headers is needed by... (8 Replies)
Discussion started by: messi777
8 Replies

6. Red Hat

need help in installing Xen on Centos 6

Hello folks, I am trying to install Xen on centos 6! Kindly check out the following screen shots! What should I do? Regards (0 Replies)
Discussion started by: ahmedamer12
0 Replies

7. OS X (Apple)

Installing RPM built on CentOS on Mac OS X

I have a build process that runs on CentOS that builds RPMs for a java-based product. I'd like to be able to install these RPMs on my Mac OS X laptop for testing purposes. I don't need an RPM database to manage dependencies or previously installed packages. Consider this RPM to be a glorified... (1 Reply)
Discussion started by: jschnitter
1 Replies

8. Red Hat

installing rpm from ISO

Hi, I would like to know is it possible to install rpm along its depedable rpm from mounted .iso image on Redhat Linux while installing rpm it is showing so many depandancy, so I would like to know with single command wheather it will take all depedable rpm from mounted iso image. (1 Reply)
Discussion started by: manoj.solaris
1 Replies

9. AIX

Problem Installing Apache from rpm

I am attempting to install an rpm of Apache from perzl.org on an AIX 6100-07-03-1207 server and it is failing. I think I have all of the dependencies installed. Can anyone help? Any help would be appreciated. It fails with the following error: # rpm -Uvh httpd-2.4.2-2.aix5.1.ppc.rpm ... (3 Replies)
Discussion started by: lbholde
3 Replies

10. AIX

Issue with installing rpm in AIX 6.1

I am trying to install an rpm : libiconv-1.14-1.aix5.1.ppc.rpm which is a dependency to install GIT. While I gave the command I got the foll message: root:user-> $ rpm -i -v libiconv-1.14-1.aix5.1.ppc.rpm libiconv-1.14-1 ar: Cannot open or remove a file containing a running program.... (2 Replies)
Discussion started by: gaugeta
2 Replies
yum-utils(1)															      yum-utils(1)

NAME
yum-utils - tools for manipulating repositories and extended package management SYNOPSIS
debuginfo-install - install debuginfo packages and their dependencies find-repos-of-install - report which repository the package was installed from needs-restarting - report process ids that started running before they or some component they use were updated package-cleanup - manage package cleanup, duplicates, orphaned packages and outstanding dependency problems repo-graph - outputs a full package dependency list in dot format repo-rss - generates an RSS feed from one or more repositories repoclosure - reads metadata of repositories, checks dependencies and displays list of unresolved dependencies repodiff - takes two or more repositories, returns a list of added, removed or changed packages repomanage - manages a directory of rpm packages, returns a list of newest or oldest packages in a directory repoquery - query yum repositories and get additional information on the them reposync - synchronize a remote yum repository to a local directory using yum to retrieve packages repotrack - track packages and its dependencies and downloads them show-changed-rco - list of changes to a package Requires, Conflicts and Obsoletes data from installed to a specified rpm file show-installed - gives a compact description of packages installed and makes use of comps groups in repositories verifytree - verify that a local yum repository is consistent yum-builddep - installs missing dependencies to build a specified package yum-complete-transaction - finds incomplete or aborted yum transactions and attempts to complete them yum-config-manager - toggle yum repositories, add new repositories and set main yum configuration options yum-debug-dump - creates gzipped file containing information for debugging problems yum-debug-restore - replays any transactions captured in gzipped file in yum shell yum-groups-manager - create and edit yum's group metadata yum-installed - print a compact package list making use of comps groups yumdb - query or alter the yum database yumdownloader - downloads packages from yum repositories including source RPMs DESCRIPTION
yum-utils is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended infor- mation from repositories and administration. NOTES
See respective tools for additional help for commands without a manual page SEE ALSO
debuginfo-install(1), package-cleanup(1), repodiff(1), repoquery(1), reposync(1), repo-rss(1), show-changed-rco(1), show-installed(1), yum- downloader(1), yum-builddep(1), yum-debug-dump(1), yum-groups-manager(1), yumdb(8), yum-complete-transaction(8) AUTHOR
Shawn Starr <shawn.starr@rogers.com> yum-utils August 2011 yum-utils(1)
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy