Solved

how to install dowloaded packages in Red Hat

Posted on 1997-12-13
2
229 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 50 total points
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now