[fusion_text]
Upgrade the package
Delete the package
List the files in that package
List the version of the files in that package
[/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=””]
RPM (RedHat Package Management) is pretty universal in the most linux distro’s.
Install the package
Shell
1 | sander@linuxsource:~$ rpm -ihv package.rpm |
Shell
1 | sander@linuxsource:~$ rpm -Uhv package.rpm |
Shell
1 | sander@linuxsource:~$ rpm -e package.rpm |
Shell
1 | sander@linuxsource:~$ rpm -l Apache.2.4.7.rpm |
Shell
1 | 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:
Shell
1 | sander@linuxsource:~$ rpm -ihv package.rpm --force |
Shell
1 | sander@linuxsource:~$ rpm -ihv package.rpm --nodeps |
If you are upgrading, the look what you have got installed:
Shell
1 | sander@linuxsource:~$ rpm -qa | grep package |
You can uninstall it, and leave the dependencies)
Shell
1 | sander@linuxsource:~$ rpm -e package.rpm --nodeps |
Then do the upgrade (with or without –force or –nodeps)
Shell
1 | sander@linuxsource:~$ rpm -ihv package.rpm |