Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to install dowloaded packages in Red Hat

Posted on 1997-12-13
2
Medium Priority
?
256 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 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

715 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