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 have yum and rpm, and I really only how to install packages using these commands. When I tried to yum install figlet on a new CentOS6 virtual machine it couldn't find it in the mirrors list. I tried to localinstall a figlet package but it wasnt signed and yum wouldnt install it.

OR

better yet how do you got about adding a package (or a mirror?) if the .rpm youre looking for isnt availabe in your VM build of CentOS?

In this case I want to add figlet and toilet!

UPDATE If I install a package manually, do I need to do it from a particular directory? or does Yum/RPM have a dir they always use automagically?

share|improve this question
    
Find the RPM, download it manually, and use rpm -i (as I recall; it's been a long time since I've used redhat.) –  Kevin Dec 3 '11 at 21:44
    
I did download it locally and did yum localinstall but it complained that the package wasnt signed. –  qodeninja Dec 3 '11 at 22:13
add comment

1 Answer

up vote 3 down vote accepted

Here you can download the figlet packge and install it with rpm -U or rpm -ivh package.rpm, or do yum localinstall --nogpgcheck packgename.

You don't need to run the yum command from a particular directory.

As a general recommendation, I encourge you to add the RpmForge repos to you centos installation, since it includes a lot of programs.

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.