Solved

how to install dowloaded packages in Red Hat

Posted on 1997-12-13
2
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
Resonance earned 50 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

734 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