Sponsored Content
Operating Systems OS X (Apple) Installing RPM built on CentOS on Mac OS X Post 302606780 by jschnitter on Monday 12th of March 2012 06:35:08 PM
Old 03-12-2012
Disclaimer: I am not an RPM expert and what I am trying to do is not recommended. I am a build engineer and wanted to run a test install of an RPM. I found a solution that worked for me.

I ran this query to get the platform value of the rpm:
Code:
rpm -qp --queryformat "%{PLATFORM}\n" test.rpm

I then added the platform value to /etc/rpm/platform and was able to install the RPM.
 

9 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

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

7. Red Hat

Installing rpm in centos 6

hi, i am try to install a package in centos 6.2 x86-64 but unable to find any package in centos media iso. In RHEL we have a product folder which contain all the list of rpm but in centos i cant found that. I have use yum command but it also cant work show me the message no module named yum.... (1 Reply)
Discussion started by: zeeshan047
1 Replies

8. 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

9. 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
jpackage-utils(7)						RPM Java packaging						 jpackage-utils(7)

NAME
jpackage-utils - Utilities, macros and other files for the JPackage Project <http://www.jpackage.org/>: SYNOPSIS
build-classpath build the Java classpath in a portable manner build-jar-repository build a jar repository in a portable manner rebuild-jar-repository rebuild a jar repository in a portable manner (after a jvm change...) build-classpath-directory build the Java classpath from a directory diff-jars show jar content differences jvmjar install jvm extensions create-jar-links create custom jar links clean-binary-files remove binary files from sources check-binary-files check for presence of unexpected binary files DESCRIPTION
The JPackage Project has two primary goals: - To provide a coherent set of Java software packages for Linux, satisfying all quality requirements of other applications. - To establish an efficient and robust policy for Java software packaging and installation. We focus on free and open source software whenever possible. For convenience, we also provide non-free packages without the restricted source code. Our RPMs are generic in that they should work on any RPM based Linux distribution (Mandriva, Red Hat, SuSE, others). Other packaging format suggestions are welcome too. FILES
/use/share/java-utils/java-functions shell script functions library for Java applications /etc/java/jpackage-release string identifying the currently installed JPackage release /etc/java/java.conf system-wide Java configuration file ~/.java/java.conf user's Java configuration /etc/rpm/macros.jpackage RPM macros for Java packagers and developers SEE ALSO
Regular Manual Pages build-classpath(1) build-classpath-directory(1) build-jar-repository(1) check-binary-files(1) clean-binary-files(1) create-jar-links(1) diff-jars(1) find-jar(1) jvmjar(1) rebuild-jar-repository(1) rebuild-security-providers(1) java.conf(5) Documentation Following files are located in your standard documentation directory HEADER.JPP A standard header with license for spec files of JPackage Project clean-binary-files.txt A further documentation for check-binary-files(1), clean-binary-files(1) and create-jar-links(1) commands httpd-javadoc.conf Example JPackage javadoc configuration snippet for Apache jpackage-1.5-policy.xhtml JPackage Java infrastructure design and packaging policy jpackage-utils-policy JPackage packaging (naming) policy AUTHOR
Written by the JPackage Project REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/) jpackage-utils 1.7.5 February 2009 jpackage-utils(7)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy