Install with RPM

install-rpm
[fusion_text]
RPM (RedHat Package Management) is pretty universal in the most linux distro’s.

Install the package
sander@linuxsource:~$ rpm -ihv package.rpm

Upgrade the package

sander@linuxsource:~$ rpm -Uhv package.rpm

Delete the package

sander@linuxsource:~$ rpm -e package.rpm

List the files in that package

sander@linuxsource:~$ rpm -l Apache.2.4.7.rpm

List the version of the files in that package

sander@linuxsource:~$ rpm -ql Apache.2.4.7.rpm
If you get an error, that is missing libs or any kind… (but your sure, that they are there?)
You can force the installatie and ignore the dependencies with:
sander@linuxsource:~$ rpm -ihv  package.rpm --force
sander@linuxsource:~$ rpm -ihv  package.rpm --nodeps
If you are upgrading, the look what you have got installed:
sander@linuxsource:~$ rpm -qa | grep package
You can uninstall it, and leave the dependencies)
sander@linuxsource:~$ rpm -e package.rpm --nodeps
Then do the upgrade (with or without –force or –nodeps)
sander@linuxsource:~$ rpm -ihv package.rpm
[/fusion_text][separator style_type=”none” top_margin=”5″ bottom_margin=”” sep_color=”” border_size=”” icon=”” icon_circle=”” icon_circle_color=”” width=”” alignment=”center” class=”” id=””]
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
md5-integrity-check

Integrity with MD5 or SHA-1

Next Post
linux-kernel

Delete old linux kernels

Related Posts