Entry
Operating system: Linux: Installer: File: Install: How to install a .rpm package?
Feb 27th, 2004 03:44
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 27 February 2004 - 12:24 am -------------------
Operating system: Linux: Installer: File: Install: How to install
a .rpm package?
---
The rpm program will check in its database before installing a package
and will not install a package that is already there, even if you
are trying to install a newer version.
---
You can do the installation by using the -i parameter:
---
To install, use the command:
rpm -i <your .rpm filename>
---
e.g.
rpm -i bison1-35.6.rpm
---
---
If you want to get information during the installation,
you can use:
rpm -ivh <your .rpm filename>
e.g.
rpm -ivh bison1-35.6.rpm
---
---
A typical sequence to install a .rpm package might be:
Steps: Overview:
1. -Open a console
2. -Login as root
1. su
2. supply your root password
3. -Get some information about the currently present packages
Operating system: Linux: Installer: File: Check: How to view
information about .rpm packages? [query]
http://www.faqts.com/knowledge_base/view.phtml/aid/26858/fid/445
4. -Type on the command line
rpm -ivh <your rpm packagename>
e.g.
rpm -ivh bison1.2.3-6
5. -Then installation will start and proceed further
usually automatically
---
---
Note:
If you want to override yourself the restrictions of the rpm
software (e.g. it does not let you install a package, because
it depends on another package which is not present), you
can use the commands (thus use this with caution):
rpm -ivh -nodeps <your package name>
e.g.
rpm -ivh -nodeps bison1.2.3-6
---
---
Tested in:
Linux Red Hat v9: OK
---
---
Internet: see also:
---
Operating system: Linux: Installation: File: Overview: Can you give me
an overview of installation?
http://www.faqts.com/knowledge_base/view.phtml/aid/29106/fid/107
----------------------------------------------------------------------