LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2013, 01:20 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
two version is exist


I have just instllaed rpm to my redhat EL system , the server originally have a old version in /usr/share , the new version that I have installed is in /usr/local/share , can advise if I want the default version that I use , that mean when I type the command , it will use the new version , what can I do ? thanks.
 
Old 01-16-2013, 01:48 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
1. what rpm did you install
2. how did you install it; give the exact cmd
 
Old 01-16-2013, 02:56 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
telnet

rpm -Uvh
 
Old 01-16-2013, 03:45 AM   #4
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 222

Rep: Reputation: 52
First: that command upgrades existing package.
Second, why would you want to install another telnet into your system?
 
Old 01-16-2013, 11:06 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by ust View Post
I have just instllaed rpm to my redhat EL system , the server originally have a old version in /usr/share , the new version that I have installed is in /usr/local/share , can advise if I want the default version that I use , that mean when I type the command , it will use the new version , what can I do ? thanks.
ust, you've been here, and have been using Linux for TEN YEARS now. If you're the administrator at your company, and you don't know how to remove an rpm package, or specify a path, you should consider another line of work.

Either remove the old package, or modify your path. AGAIN, you should call Red Hat support, since you're using RHEL AND you're paying for it.
 
1 members found this post helpful.
Old 01-16-2013, 11:24 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by TB0ne View Post
you should call Red Hat support, since you're using RHEL AND you're paying for it.
Paying for it does not equal referring to RHEL support for what can be considered common Linux admin knowledge. Please refer to RHEL admin documentation instead and please stop redirecting LQ members to RHEL support where it isn't really required.
 
Old 01-16-2013, 12:21 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by unSpawn View Post
Paying for it does not equal referring to RHEL support for what can be considered common Linux admin knowledge. Please refer to RHEL admin documentation instead and please stop redirecting LQ members to RHEL support where it isn't really required.
Quite true...that is an important distinction.

A good analogy would be directing someone to a car dealer, when they have basic questions about how to drive. Although in cases like this, one wonders how a delivery courier would get the job, if they didn't have the ability to drive.
 
Old 01-16-2013, 12:51 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
You could also say that "only useless things and those for use by skilled operators come without manual" ;-p
 
Old 02-05-2013, 04:23 AM   #9
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
thx reply,

In my server , there is a lsc v1.2 rpm is installed , I want to use v2.0 as the new features , however , I am afraid if I upgrade the existing version , it may remoke the configuration , therefore , I want to run these two different version parallel , can advise how can I do it ?

thanks
 
Old 02-05-2013, 07:55 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
0. Applications binaries and libraries are searched for and used in a "first match wins" way according to the $PATH environment variable. This means that if /usr/local/bin precedes /bin in the applications path it will use the one in /usr/local/bin. Obviously you can select any application by explicitly prefixing the right path. Libraries residing in paths outside of the caches scope (as in 'ldconfig -p') can have their paths dropped into /etc/ld.so.conf.d/ to be used. Obviously you can select any library by explicitly declaring them using the LD_LIBRARY_PATH environment variable. All of that can be put in a script making it a fire-and-forget exercise.
1. Well-tested packages the distribution provides use "%config(noreplace)" settings to backup old configuration files or create new configuration files with a ".rpmnew" extension. If unsure that behavior can be inspected and tested.
2. Unless you're doing unattended updates there's a Yum extension that allows you to review changes while installing packages and reject or unify them that instant.
3. If you have doubts about changes you could use a staging machine (could be a virtualization guest) to test changes before rolling them out in a production environment.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver version.h does not exist. yozh Linux - Software 2 12-23-2012 05:53 PM
ALSA 1.0.14rc4 SUSE 10.2 version.h does not exist gdblackthorn SUSE / openSUSE 13 05-25-2007 07:32 PM
Gentoo emerge is trying do download an old version that doesn't exist anymore svenwinkle Linux - Distributions 3 03-21-2007 11:10 PM
What email programs exist for any version of linux? addie Linux - Software 6 03-24-2004 06:23 PM
does a linux version exist for a 3Com Palm IV? Zamb Linux - General 3 01-24-2001 10:12 AM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration