LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Updating an RPM (https://www.linuxquestions.org/questions/mandriva-30/updating-an-rpm-87997/)

twinkers 09-01-2003 11:10 AM

Updating an RPM
 
I've installed quite a lot of software making use of RPM's. It's quite simple and not much can go wrong. Downside to rpm is that often updates of software are brought out and no rpm is made yet (with some what exotic software this can take quite long).

Is there a way (sure there is, but I have to understand it ;)) to update an installed rpm from a tar.gz? I managed to compile some software (which made me very happy) but I notice that if I install that it goes to a local dir and can't be found in the pakkage manager as with rpm. So can it be done and can the package manager be update aswell?

Other option is to install into local and leave the installed one alone untill a rpm of the new version is out. Then install the rpm and delete te local stuff. That's a waste of time I guess so I hope some one can help me out.

Regards

rolf 09-01-2003 07:02 PM

Take a look at checkinstall. In 9.1, at least, it is in the contrib/ directory on the mirrors. If you haven't already, you can add a contrib urpmi source with the Easy urpmi configurator at PLF Then,

urpmi checkinstall

as root, will get it installed. Read the docs, you can use checkinstall to build and install rpms or other package formats from source code.


All times are GMT -5. The time now is 03:59 PM.