RPM stands for RedHat Package Management, but is pretty universal and used in modern linux Distro's. In many cases a simple click on the RPM icon will open a GUI for easy installation. Sometimes you can even do a test-install to see if all dependencies are correct.
For the commandline we have: ( assuming we want to install samba-2.2.1a-4 )
# rpm -ihv samba-2.2.1a-4.rpm ( Will install the package )
# rpm -Uhv samba-2.2.1a-4.rpm ( Will upgrade the package )
# rpm -e samba-2.2.1a-4.rpm ( Delete the package )
# rpm -l samba-2.2.1a-4.rpm ( Will list the files in the package )
# rpm -ql samba-2.2.1a-4.rpm ( Will list the files and state the installed version of the package )
Imagine the install returns that there are some libs missing, and you know for sure that they are there: In most cases you can force an install, or tell it to ignore dependencies.
# rpm -ihv samba-2.2.1a-4.rpm --force
# rpm -ihv samba-2.2.1a-4.rpm --nodeps
Upgrading:
First have a look what's installed,
# rpm qa | grep samba
This will return,
samba-common-2.2.1a-4
samba-client-2.2.1a-4
samba-2.2.1a-4
uninstall. ( Leave the dependencies as they are )
# rpm -e samba-common-2.2.1a-4 --nodeps
# rpm -e samba-client-2.2.1a-4 --nodeps
# rpm -e samba-2.2.1a-4 --nodeps
install the upgrade, ( With or without --force or --nodeps )
# rpm -ihv samba-2.2.7-3.7.2.rpm
# rpm -ihv samba-client-2.2.7-3.7.2.rpm
# rpm -ihv samba-common-2.2.7-3.7.2.rpm
Search Engine
Loading
How to INSTALLING SOFTWARE RPM
Subscribe to:
Post Comments (RSS)
Powered by Blogger.
0 comments:
Post a Comment