How do I force an RPM to install?

Giao Linh

New member
How do I force an RPM to install?
Answer
To install or upgrade a package, use the -U command-line option:
  1. rpm -U filename.rpm. For example, to install the mlocate RPM used as an example in this chapter, run the following command:
  2. rpm -U mlocate-0.22.2-2.i686.rpm. …
  3. rpm -Uhv mlocate-0.22.2-2.i686.rpm. …
  4. rpm –e package_name. …
  5. rpm –qa. …
  6. rpm –qa | more.
 

Tìm kiếm

Back
Top