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)
have following package installed
rpm -qa |grep ADMIN
It will give the following package installed:
ADMIN-4.0.0.1
Now I will upgrade the ADMIN package using the following command.
rpm --upgrade ADMIN-4.1.0.1
It will upgrade the ADMIN packagge to ADMIN-4.1.0.1
Now I want that... (0 Replies)
Hi,
I am finding the installed location of a package by:
rpm -qi <package_name>
And then parse the string "Relocations".
If i relocate this package during installation with --relocate option , the "Relocations" string still shows the old value. Though the package has been installed on the... (0 Replies)
Hi,
I have created a relocatable AIX package named Test.
The USIL is /abc
bash-2.05b# lsusil
INSTALL PATH = /abc
COMMENTS = None
Generally if a package gets installed in "/opt/Test" and i want to relocate it to "/abc" it gets installed under "/abc/Test". This happens the way in Solaris,... (2 Replies)
Hi,
If a package has been installed at normal location:
installp -u <package_name>
uninstalls the package
However, if that has been installed relocatable, the above command fails.
It requires the relocatable path as the parameter
installp -R <relocation_path> -u <package_name>
To find... (1 Reply)
Hello, all.
I'm trying to compile and install X-Emacs. The .configure package path options for installing new versions of X-Emacs has changed, and I can't make them work for me!
I'm trying to install X-Emacs 21.5.29 (current Beta), and despite using the new package path .configure... (0 Replies)
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Dear all,
I would like to install a new version of package without remove old version on Centos and vice versa.
Please give me advice!
thanks much, (2 Replies)
Hi Guys I want to know whether is it possible to automatically Install a RPM package after installing OS.
Basically we have have one rpm package which we want to install as part of OS installation . Please Suggest (3 Replies)
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
Discussion started by: g_p
4 Replies
LEARN ABOUT CENTOS
pmdarpm
PMDARPM(1) General Commands Manual PMDARPM(1)NAME
pmdarpm - RPM packages performance metrics domain agent (PMDA)
SYNOPSIS
$PCP_PMDAS_DIR/rpm/pmdarpm [-C] [-d domain] [-l logfile] [-r path] [-U username]
DESCRIPTION
pmdarpm is a Performance Metrics Domain Agent (PMDA) which extracts performance metrics reflecting the state of the RPM package database
managed by rpm(1).
The rpm PMDA exports metrics that describe each package installed on a system, as well as some cumulative totals. When the RPM database
changes the PMDA automatically detects this and uses a background thread to asynchronously refresh its values.
A brief description of the pmdarpm command line options follows:
-C Verify the package iteration code by scanning the RPM database once, then exiting. Only useful for problem diagnosis and testing.
-d It is absolutely crucial that the performance metrics domain number specified here is unique and consistent. That is, domain should
be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts.
-l Location of the log file. By default, a log file named rpm.log is written in the current directory of pmcd(1) when pmdarpm is
started, i.e. $PCP_LOG_DIR/pmcd. If the log file cannot be created or is not writable, output is written to the standard error
instead.
-r Specify an alternate path to the RPM database (default is /var/lib/rpm/Packages).
-U User account under which to run the agent. The default is the unprivileged "pcp" account.
INSTALLATION
If you want access to the names, help text and values for the rpm performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/rpm
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/rpm
# ./Remove
pmdarpm is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
FILES
$PCP_PMCDCONF_PATH
command line options used to launch pmdarpm
$PCP_PMDAS_DIR/rpm/help
default help text file for the rpm metrics
$PCP_PMDAS_DIR/rpm/Install
installation script for the pmdarpm agent
$PCP_PMDAS_DIR/rpm/Remove
undo installation script for the pmdarpm agent
$PCP_LOG_DIR/pmcd/rpm.log
default log file for error messages and other information from pmdarpm
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the
file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura-
tion file, as described in pcp.conf(5).
SEE ALSO PCPIntro(1), pmcd(1), pcp.conf(5) and pcp.env(5).
Performance Co-Pilot PCP PMDARPM(1)