Error Package Oracle-xe Is Not Relocatable
Contents |
26, 2008 in CentOS, Linux, Package Management, RedHat and FriendsQ. Can you explain CentOS / RHEL / Fedora Linux relocatable package concept? A. RPM has the ability
How To Make Rpm Package Relocatable
to give users some latitude in deciding where packages are to rpm: relocations must contain a = be installed on their systems. However, package builders must first design their packages to give users this freedom. rpm: --prefix may only be used when installing new packages In other words, an RPM package that can be installed into a different directory is said to be relocatable. Please note that not all RPM packages can be installed
Rpm Prefix Tag[
into another directory.
Task: Find out if whether a particular package is relocatable or notUse rpm command as follows: $ rpm -qi {package-name} | grep Relocations$ rpm -qpi package.file.rpm | grep Relocations
$ rpm -qi bash | grep Relocations
Sample output (it means bash package can be installed in diffrent directory such as /home/chroot/users/):Name
Rpm Spec Prefix Variable
: bash Relocations: /usrFollowing package is not relocatable: $ rpm -qi keyutils-libs | grep -i Relocations Output:Name : keyutils-libs Relocations: (not relocatable)Task: Install package into a different directoryrpm command has -prefix option. It allows to install package in diffrent directory. For example, install bash into /opt directory: # rpm --prefix=/opt bash*.rpmSee also:man rpmChapter 15. Making a Relocatable Package Share this tutorial on:TwitterFacebookGoogle+Download PDF version Found an error/typo on this page?About the author: Vivek Gite is a seasoned sysadmin and a trainer for the Linux/Unix & shell scripting. Follow him on Twitter. OR read more like this:How do I install an RPM package into a different directory?Linux command to display package description, information, version and…Add a package group using up2date commandList installed packages on Linux or FreeBSD / OpenBSD systemFind out if package is installed in LinuxLinux rpm List Installed PackagesUbuntu Linux: How Do I install .deb Packages?Linux Duplicate packages when querying the rpm databasesyum Command: List The Contents (Files) Of A PackageFreeBSD Install .TBZ Package File{ 4 comments… add one } pr
& Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX how to install rpm package in different directory for Beginners Questions & Answers Search Forums Show Threads Show Posts
Rpm Prefix Install
Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn unix and linux commands yum prefix Can't install rpm package with --prefix in new path.Error: package is not relocatable UNIX for Dummies Questions & Answers Tags error, install, location, prefix, rpm Thread Tools Search this http://www.cyberciti.biz/faq/rpm-relocatable-packages/ Thread Display Modes #1 03-31-2012 g_p Registered User Join Date: Feb 2011 Last Activity: 31 March 2012, 7:29 PM EDT Posts: 7 Thanks: 1 Thanked 0 Times in 0 Posts 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 http://www.unix.com/unix-for-dummies-questions-and-answers/180874-cant-install-rpm-package-prefix-new-path-error-package-not-relocatable.html package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work Code: sudo rpm -i --prefix=/usr/local/hadoop-0.20.205 /usr/local/hadoop-0.20.205.0-1.amd64.rpm error: package hadoop is not relocatable 2nd try: Didn't work Code: sudo rpm -i /usr/local/hadoop-0.20.205.0-1.amd64.rpm --prefix /usr/local/hadoop-0.20.205 error: package hadoop is not relocatable What can i do in order to install the rpm package in a new location? Thanks, in advance Remove advertisements Sponsored Links g_p View Public Profile Find all posts by g_p #2 04-01-2012 jim mcnamara ...@... Join Date: Feb 2004 Last Activity: 13 October 2016, 10:00 PM EDT Location: NM Posts: 10,834 Thanks: 449 Thanked 970 Times in 901 Posts It doesn't like the -- in the directory name, I believe. Do one of these 1. pick another name like "prefix" with no dashes - this is a better long term idea, unix has issues with interpreting leading dashes in filenames 2. Use the full path to the -- : Code: command /full/path/to/--prefix Remove advertisements Sponsored Links jim mcnamara View Public Profile Find all posts by jim mcnamara &laqu
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring http://unix.stackexchange.com/questions/tagged/rpm?sort=unanswered&pageSize=50 developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question Tagged Questions info newest frequent votes active unanswered RPM is a package management system intended primarily for Linux distributions. learn more… | top users | synonyms 4 votes 0answers 582 views Centos 7 boot up with custom kernel problem I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files how to from: http://... centos kernel linux-kernel rpm asked Feb 24 '15 at 10:47 nyzsirt 214 4 votes 0answers 1k views Convert pacman package to deb or rpm? Given a pacman package (.pkg.tar.xz), is there a tool to convert it to a deb or rpm package? In other words, I'm looking for an equivalent to alien. So far, I got the impression that such a tool does ... arch-linux package-management rpm pacman deb asked Dec 21 '14 at 18:39 Philipp Claßen 73131022 2 error package oracle-xe votes 0answers 93 views Can capabilities for files be specified via cmake/cpack? Since RPM 4.7, there has been the ability to specify that a file in an RPM package should be installed with capabilities set (via %caps). Is there a way to specify something like this via cmake/cpack ... rpm capabilities cmake deb asked Sep 19 '14 at 15:28 BobDoolittle 886216 2 votes 0answers 56 views Best way to release an RPM that includes an independently version module I work on a server software that is targeted for RHEL/CentOS and is currently distributed via a standard RPM file. What brings me here is that it includes a downloadable client engine that users can ... rhel software-installation rpm asked Jun 11 '13 at 20:23 DXM 1113 2 votes 0answers 1k views How to edit rpm's HEADER and NAME-VERSION-RELEASE Is there's a way or a tool that can modify the HEADER and the NAME-VERSION-RELEASE for an existing rpm without installing/rebuilding it? package-management rpm asked Dec 27 '12 at 7:20 user29318 112 2 votes 0answers 1k views How to change metadata on an installed rpm I need to modify information for an rpm which is already installed. E.g. rpm -qi sip-section-call-1.0.19-1.noarch Name : sip-section-call Relocations: (not relocatable) ... linux rpm asked Dec 21 '11 at 5:28 user1081026 1 vote 0answers 22 views Installing RabbitMQ & Erlang without root So this client has a lot of internal regulations and has issues getting root access. While RabbitMQ
be down. Please try the request again. Your cache administrator is webmaster. Generated Wed, 12 Oct 2016 22:53:25 GMT by s_ac5 (squid/3.5.20)