Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to install dowloaded packages in Red Hat

Posted on 1997-12-13
2
Medium Priority
?
258 Views
Last Modified: 2013-12-15
i downloaded telnet package from redhat web site but can't find instructions about how to install it, i don't know if it possible to use RPM though the downloaded file is with .rpm suffix(telnet-0.10-2.src.rpm) and where is the best directory to install it?
0
Comment
Question by:smiley020999
2 Comments
 
LVL 2

Accepted Solution

by:
Resonance earned 150 total points
ID: 1631021
What you downloaded *appears* to be the RPM package for the *source code* to telnet (.src.rpm).  Unless you know how to compile things, installing it could be tricky.  If you want to do it the simple way, go to the FTP site (ftp.redhat.com) or one of its mirrors, check in /pub/redhat/redhat-5.0/i386/RedHat/RPMS and get the telnet-0.10-2.i386.rpm, which should be the matching precompiled binary.  In either case, you install with

rpm -i <package.rpm>.  It will choose its own default install path when you do this.  If you want to compile from source, do the rpm -i on the .src.rpm, change to the appropriate directory (you can see where the file will go with rpm -qlp <package.src.rpm>) and follow the instructions in the local readme or makefile to compile and install.

0
 

Author Comment

by:smiley020999
ID: 1631022
i tried the 'rpm -i ...' and get the message 'only packages major number <=2 is supported by this version of RPM, does this mean that i need to download new version RPM first? though the telnet rpm file is telnet-0.10-2-i386.rpm, which number is major number here? and if i download new RPM can i use old rpm command to install it?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question