LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to run rpms (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-rpms-452330/)

newbie_adm 06-07-2006 03:36 AM

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

timmeke 06-07-2006 03:51 AM

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

legolin 06-07-2006 05:27 AM

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


All times are GMT -5. The time now is 07:54 PM.