LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03: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, 03: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, 05: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



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 02:57 PM
Can I install and run other distro RPMs on Mandrake? Astral_Nomad Mandriva 8 12-18-2005 11:24 PM
Re:Unable to run RPMs rajaram1986 Fedora 3 09-10-2005 02:04 AM
After installing RPMs, what did it do? How to run the apps it installed? amOrpheus Linux - Newbie 4 01-01-2004 02:39 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM

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

All times are GMT -5. The time now is 09:46 PM.

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
Open Source Consulting | Domain Registration