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:
...and you can install the packages using yum now.
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT CENTOS
osinfo-query
OSINFO-QUERY.C(1) Virtualization Support OSINFO-QUERY.C(1)NAME
osinfo-query - Query information in the database
SYNOPSIS
osinfo-query [OPTIONS...] TYPE [CONDITION-1 [CONDITION-2 ...]]
DESCRIPTION
The "osinfo-query" command allows extraction of information from the database. TYPE can be one of "os", "platform", "device", or
"deployment". With no conditions specified, all entities of the given type will be listed.
# List all operating systems
$ osinfo-query os
Short ID | Name ...
----------------------+-----------
centos-6.0 | CentOS 6.0 ...
centos-6.1 | CentOS 6.1 ...
...
Conditions allow filtering based on specific properties of an entity. For example, to filter only distros from the Fedora Project, use
# List all operating systems
$ osinfo-query os vendor="Fedora Project"
Short ID | Name ...
----------------------+--------------
fedora1 | Fedora Core 1 ...
fedora2 | Fedora Core 2 ...
...
The set of fields which are printed can be controlled using the "--fields" command line argument:
# List all operating systems
$ osinfo-query --fields=short-id,version os vendor="Fedora Project"
Short ID | Version
----------------------+----------
fedora1 | 1
fedora2 | 2
...
OPTIONS -s PROPERTY, --sort-key PROPERTY
Set the data sorting key. Defaults sorting the first column
-f PROPERTY1,PROPERTY2,..., --fields PROPERTY1,PROPERTY2,...
Set the visibility of properties in output
PROPERTY NAMES
OS
Valid property names for the "os" type are:
short-id
The short OS identifier
name
The long OS name
version
The OS version string
family
The OS kernel family
vendor
The OS vendor
release-date
The OS release date
eol-date
The OS end-of-life date
codename
The OS code name
id The OS identifier
PLATFORM
Valid property names for the "platform" type are:
short-id
The short platform identifier
name
The long platform name
version
The platform version string
vendor
The platform vendor
release-date
The platform release date
eol-date
The platform end-of-life date
codename
The platform code name
id The platform identifier
DEVICE
Valid property names for the "device" type are:
name
The device name
product
The device product name
product-id
The device product ID string
vendor
The device vendor name
vendor-id
The device vendor ID string
class
The device type class
bus The device bus type
id The device identifier
DEPLOYMENT
Valid property names for the "deployment" type are:
id The deployment identifier
EXIT STATUS
The exit status will be 0 if matching entries were found, or 1 if not matches were found
SEE ALSO
"osinfo-db-validate(1)", "osinfo-detect(1)"
AUTHORS
Daniel P. Berrange <berrange@redhat.com>
COPYRIGHT
Copyright (C) 2012 Red Hat, Inc.
LICENSE
"osinfo-query" is distributed under the termsof the GNU LGPL v2+ license. This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
libosinfo-0.2.7 2013-02-06 OSINFO-QUERY.C(1)