Question: how to install package rpm in linux?
Answer: rpm -U filename.rpm. For example, to install the mlocate RPM used as an example in this chapter, run the following command:
rpm -U mlocate-0.22.2-2.i686.rpm. ... 
rpm -Uhv mlocate-0.22.2-2.i686.rpm. ... 
rpm –e package_name. ... 
rpm –qa. ... 
rpm –qa | more.