if rpm is not installed in your machine, follow below step
sudo apt-get install rpm
RPM is one of the tool for linux package installation. Below are some useful commands
1. Install to default folder
rpm -i packagename.rpm
2. Install with Relocation
rpm -i --prefix=/ur/path packagename.rpm
3. Check whether a rpm package can be relocated
rpm -qpi packagename.rpm | grep Relocations
4. Check for installed package in machine
rpm -qa | grep packagename
5. Uninstall a package
rpm -e packagename
6. Upgrade a package
rpm -U packagename.rpm
sudo apt-get install rpm
RPM is one of the tool for linux package installation. Below are some useful commands
1. Install to default folder
rpm -i packagename.rpm
2. Install with Relocation
rpm -i --prefix=/ur/path packagename.rpm
3. Check whether a rpm package can be relocated
rpm -qpi packagename.rpm | grep Relocations
4. Check for installed package in machine
rpm -qa | grep packagename
5. Uninstall a package
rpm -e packagename
6. Upgrade a package
rpm -U packagename.rpm
No comments:
Post a Comment