Find installed location of a relocatable package


 
Thread Tools Search this Thread
Operating Systems Linux Find installed location of a relocatable package
# 1  
Old 04-09-2009
Find installed location of a relocatable package

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 new location.

How can i figure out where the package has been installed later.

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

3. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

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

4. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

5. Ubuntu

Download same package as installed

Hi gurus, how to (just) download already installed package ? I tried sudo apt-get -d install putty but gives me Reading package lists... Done Building dependency tree Reading state information... Done putty is already the newest version. 0 upgraded, 0 newly installed, 0 to... (7 Replies)
Discussion started by: wakatana
7 Replies

6. AIX

Uninstall a relocatable package

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)
Discussion started by: vibhor_agarwali
1 Replies

7. AIX

AIX relocatable package help

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)
Discussion started by: vibhor_agarwali
2 Replies

8. HP-UX

how to package my program which can be installed on HP UX

I develop a unix program in HPUX I want to package my program to install on HPUX in some dierctory folder like /user/local/sbin/xxx and preinstall some software before install my program package like xxx.depot how can i do it, have any tools like use setupfactory tools in windows ... (4 Replies)
Discussion started by: alert0919
4 Replies

9. AIX

How to check if a package is already installed?

Hi All, I want to check if the perl DBI package is already installed my AIX unix machine. is there any command to check this? Please help. Thanks, Am (2 Replies)
Discussion started by: am_yadav
2 Replies
Login or Register to Ask a Question
MVN_PACKAGE(7)							Java Packages Tools						    MVN_PACKAGE(7)

NAME
mvn_package - specify target package for Maven artifact(s) SYNOPSIS
%mvn_package artifact-coordinates [target-package] DESCRIPTION
mvn_package macro causes instructions for artifact installation to be added to XMvn reactor configuration. It is used to specify target package to which Maven artifacts should be installed. Specified artifact coordinates must match at least one artifact. If not then behavior is unspecified. It is possible to specify artifact coordinates matching multiple artifacts, so one call to mvn_package can affect installation of more than one artifact. OPERANDS
artifact-coordinates Artifact coordinates specify artifact(s) that this rule applies to. Coordinates are in format groupId:artifactId[:extension[:classifier]][:version]. If extension is specified then version must be specified too. If any part is omitted or equal to empty string then it matches any string. Wildcards and brace expansions are supported in each part. For more information see XMvn Configuration Reference. target-package Name of target (sub-)package to which matching artifacts will be installed. Backreferences are supported in form @n, where n is an integer corresponding to brace in artifact-coordinates. A special value of noinstall means that matching artifact(s) should not be installed to any package. Special value of default means that matching artifact(s) should be installed into main package. If target-package is omitted value of __default is assumed. AUTHOR
Originally written by Mikolaj Izdebski. Versions 3.0.0 and later were written by Stanislav Ochotnicky. REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/. SEE ALSO
mvn_alias(7), mvn_build(7), mvn_compat_version(7), mvn_config(7), mvn_file(7), xmvn(1). JAVAPACKAGES
06/10/2014 MVN_PACKAGE(7)