Search This Blog

Thursday, March 11, 2010

How to add a new rpm using repoman

I needed to install pdftk rpm in my RHEL 5 host using repoman. Here is one that I figured out.

1. Download a necessary rpm from any source.

2. Copy the rpm file to a sub-directory under /deport/. In my case, it is

3. Type and enter:


and follow instruction.

To manually update repository, type/enter:

repoman -r "Repo for rhel-5-x86_64" -u

Of course, contents in " " is specified for a given repository name. Option "-u" indicates update.

4. Select "next" in most sequential cases in repoman. Click the name of rpm that you want to install. And, finally enjoy using it.