LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2006, 04:36 AM   #1
newbie_adm
Member
 
Registered: Jun 2006
Posts: 40

Rep: Reputation: 15
how to run rpms


I have downloaded a expect progarm. But i don't know how to run rpms? the example file that i got is expect-5.40.27.src.rpm

BtW the tcl are installed. It was installed during the Fedora Core installation.
Please help.

Thanks
 
Old 06-07-2006, 04:51 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
rpm files are packages (rpm = Redhat Package Manager) which are also usable in Fedora.
You'll need to install them.

However, the file you mentioned is a source rpm (*.src.rpm), which means that the package doesn't contain the
program (binary), just the source code.
You can install this source rpm and then compile the source code to get the program.
Or you can see if you can find the *.rpm file instead (for your platform), download it, and then install it via
Code:
rpm -i your_rpm_file
If you already have a package installed with the same name (check that with "rpm -q package_name"), then you may go for the "rpm -u your_rpm_file" (update) rather than the -i (install).

See also:
Code:
man rpm
 
Old 06-07-2006, 06:27 AM   #3
legolin
Member
 
Registered: Dec 2003
Location: munich
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
Hi,

if you are using fedora you can use yum to install the programm.

as root: yum install expect

note: if you don't find it, you can add more repostories to yum.

you can also use yumex, a frontend to yum.

bye

leg
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 03:57 PM
Can I install and run other distro RPMs on Mandrake? Astral_Nomad Mandriva 8 12-19-2005 12:24 AM
Re:Unable to run RPMs rajaram1986 Fedora 3 09-10-2005 03:04 AM
After installing RPMs, what did it do? How to run the apps it installed? amOrpheus Linux - Newbie 4 01-01-2004 03:39 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration