I was installing the RedHat 5.5 64 bit. But in hurry I forgot to install the Packages needed. And I don't want to install RH again.

How can I install packages after installation?

  • Do you have RHN account or not? – daisy Oct 20 '12 at 14:11
  • No my dear. We had a lot of conversation on this topic in this thread unix.stackexchange.com/questions/50465/… – OmiPenguin Oct 20 '12 at 14:15
  • Wait, why do you ask here again...I think the solution is nearly the same, build a local repo or just do the rpm -ivh XXX.rpm – daisy Oct 20 '12 at 14:19
  • 1
    Also If you were just learning about RedHat, use CentOS instead, which is based on RedHat – daisy Oct 20 '12 at 14:21

You have to use yum command to install packages.

First after installing Redhat, follows following steps to install packages.

$ sudo yum update

Then install a package using the following command:

$ sudo yum install <package-name>

Note: "package-name" should be exact as the name of the package present in the redhat repository.

To search the exact name of the package using a keyword, use the following yum option:

$ yum search <keyword>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.