09-28-2001
"make" is used when compiling source packages
not binaries.
The rpm's work just fine. Why not use them?
9 More Discussions You Might Find Interesting
1. Red Hat
Hi all,
please advise.
i need to install Oracle 9i database on RHES4 and i've totally screwed up with RPMs trying to install the wrong (i386) on 64bit machine.
my question is: how do i can get back to the whole default bunch of RPMs and start from the beginning? (1 Reply)
Discussion started by: MarGur
1 Replies
2. Red Hat
Howdy all, I am trying to install dk-milter on a postfix mail machine, but am running up against some dependencies, and I don't know how to find out which rpms contain the required packages.
# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 9)
# uname -a ... (2 Replies)
Discussion started by: zefflyn
2 Replies
3. Red Hat
Can any one help me to know the command option that will update all rpms
Thanks in advance.. (2 Replies)
Discussion started by: RajendraKumar
2 Replies
4. Solaris
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
# pwd
/gani/gani-2.4.4
# ls
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I have to automate server installation. For this its needed to install 2 - 3 different RPMs. Is there any way of creating a single rpm from these two rpms?
How the spec file will look like?
thanks... (0 Replies)
Discussion started by: zing_foru
0 Replies
6. Red Hat
Hi there,
Is there a way to remove rpms installed after specific date? I was improvising on my unixacademy Linux training and messed up with installation options. Can I remove the rpms installed after specific date? (1 Reply)
Discussion started by: newlinuxuser1
1 Replies
7. Shell Programming and Scripting
Hello folks,
I want to download rpms from below link, but problem is that only able to download with wget command, but problem is that if internet delay or packet loss comes from remote site then it will break the download and download next file not continue the broken file, though i start from... (0 Replies)
Discussion started by: learnbash
0 Replies
8. Red Hat
Would you please give us the definition and usage of RPMs in linux?
thanks to reply.... (1 Reply)
Discussion started by: jaydul
1 Replies
9. Proxy Server
pardon the ed URL refs but I'm not allowed to post URLs yet.
and the misspelling in the original thread title, which I can't edit even in 'advanced'
greetings all, posting this here rather than in Web Development since I suspect this is rather AIX-specific and will need some arcane knowledge,... (2 Replies)
Discussion started by: maraixadm
2 Replies
LEARN ABOUT DEBIAN
alien::package::rpm
Alien::Package::Rpm(3pm) User Contributed Perl Documentation Alien::Package::Rpm(3pm)
NAME
Alien::Package::Rpm - an object that represents a rpm package
DESCRIPTION
This is an object class that represents a rpm package. It is derived from Alien::Package.
FIELDS
prefixes
Relocatable rpm packages have a prefixes field.
METHODS
checkfile
Detect rpm files by their extention.
install
Install a rpm. If RPMINSTALLOPT is set in the environement, the options in it are passed to rpm on its command line.
scan
Implement the scan method to read a rpm file.
unpack
Implement the unpack method to unpack a rpm file. This is a little nasty because it has to handle relocatable rpms and has to do a bit
of permissions fixing as well.
prep
Prepare for package building by generating the spec file.
cleantree
Delete the spec file.
build
Build a rpm. If RPMBUILDOPT is set in the environement, the options in it are passed to rpm on its command line.
An optional parameter, if passed, can be used to specify the program to use to build the rpm. It defaults to rpmbuild.
version
Set/get version.
When retreiving the version, remove any dashes in it.
postinst
postrm
preinst
prerm
Set/get script fields.
When retrieving a value, we have to do some truely sick mangling. Since debian/slackware scripts can be anything -- perl programs or
binary files -- and rpm is limited to only shell scripts, we need to encode the files and add a scrap of shell script to make it
unextract and run on the fly.
When setting a value, we do some mangling too. Rpm maintainer scripts are typically shell scripts, but often lack the leading shebang
line. This can confuse dpkg, so add the shebang if it looks like there is no shebang magic already in place.
Additionally, it's not uncommon for rpm maintainer scripts to contain bashisms, which can be triggered when they are ran on systems
where /bin/sh is not bash. To work around this, the shebang line of the scripts is changed to use bash.
Also, if the rpm is relocatable, the script could refer to RPM_INSTALL_PREFIX, which is set by rpm at run time. Deal with this by
adding code to the script to set RPM_INSTALL_PREFIX.
arch
Set/get arch field. When the arch field is set, some sanitizing is done first to convert it to the debian format used internally. When
it's retreived it's converted back to rpm form from the internal form.
AUTHOR
Joey Hess <joey@kitenet.net>
perl v5.14.2 2011-08-05 Alien::Package::Rpm(3pm)