Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
Do you have RHN account or not? –  warl0ck 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 –  warl0ck Oct 20 '12 at 14:19
1  
Also If you were just learning about RedHat, use CentOS instead, which is based on RedHat –  warl0ck Oct 20 '12 at 14:21
add comment

1 Answer 1

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>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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