LinuxQuestions.org
Review your favorite Linux distribution.
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 06-19-2005, 11:17 AM   #1
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Rep: Reputation: 15
How do I install a new version of a software


I have installed Opera-7.54 in my mandrake 10.1 linux. I downloaded the 8.01 version. How I install the new version:

1. Should I run a "rpm -e" command for 7.54 and then "rpm -i" for 8.01? If affirmative what name I must specify in the "rpm -e" command? (Should I write down the exact names of rpm I install for unsintall them?)

2. Is there a way of make an upgrade with 8.01 over 7.54?

Regards

Ricardo
Sao Paulo - Brazil

Last edited by nightrider; 06-19-2005 at 11:18 AM.
 
Old 06-19-2005, 11:29 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
rpm -Uvh or the -U specifies you are upgrading versions with rpm.

man rpm for more details/options.
 
Old 06-19-2005, 11:30 AM   #3
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
To upgrade:

rpm -U nameofprog.rpm

Zack
 
Old 06-19-2005, 01:29 PM   #4
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Original Poster
Rep: Reputation: 15
Zack wrote:

>To upgrade:
>
>rpm -U nameofprog.rpm
>
>Zack

Then I have only a doubt...

Which is the "nameofprog" in the present trouble?

The name of the rpm file I've downloaded recently? If negative, which is the name I must specify to refer to the old opera? (Remember that the original Rpm name was diferent and don't remember it)

Thanks a lot
 
Old 06-19-2005, 01:50 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You only specify the name of the RPM you want to upgrade with, not necessary to specify the older RPM installed.. it's smart and knows what to upgrade. If you do actually do a -Uvh and its not installed or isn't found for some reason, rpm will just install the RPM instead of upgrading.
 
  


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
Version control software for writing? culturejam Linux - Software 2 12-08-2004 03:40 PM
How to tell which version of software you're running tensigh Linux - General 2 04-21-2004 09:31 PM
Info on software version 87stang Linux - General 2 03-03-2004 06:34 PM
uninstalling old software version and installing the new version RottenMutt Linux - Newbie 4 07-11-2003 12:32 AM
Checking Software Version Number Ezekiel Linux - Newbie 1 04-24-2002 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:19 AM.

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