Re: Compiling & installing RPMs
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 07/11/03
- Next message: Jim Fischer: "Re: Compiling & installing RPMs"
- Previous message: _at_(none): "Grub"
- In reply to: Vikas Agnihotri: "Compiling & installing RPMs"
- Next in thread: Jim Fischer: "Re: Compiling & installing RPMs"
- Reply: Jim Fischer: "Re: Compiling & installing RPMs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Jul 2003 22:20:23 GMT
Vikas Agnihotri <fornewsgroups@vikas.mailshell.com> writes:
]This might be a RPM FAQ but I wasnt able to find the answer to it.
]What is the best way to install software using RPM if I have
]1. a .tar.bg2 or .tar.gz file
You need to crete a .spec file which lists the rpm procedures to
compile, install etd. Then do
rpm -ba /usr/src/RPM/SPECS/nameofprogram.spec
(making sure you put the tar file in /usr/src/RPM/SOURCES
]2. a source RPM (srpm)
rpm --rebuild name.of.the.src.rpm
Then in both cases install the created arm by
rpm -Uhv /usr/src/RPM/RPMS/i?86/name.of.the.i?86.rpm
where ? is the processor you set it up for (eg 386 for redhat, 586 for
Mandrake, etc)
]In both cases, the software would need to be compiled and then installed. I
]was hoping that RPM has a automatic way to do the "./configure;make;make
]install" routine given either of the above packages?
Yes.
]Thanks for any help
- Next message: Jim Fischer: "Re: Compiling & installing RPMs"
- Previous message: _at_(none): "Grub"
- In reply to: Vikas Agnihotri: "Compiling & installing RPMs"
- Next in thread: Jim Fischer: "Re: Compiling & installing RPMs"
- Reply: Jim Fischer: "Re: Compiling & installing RPMs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|