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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-02-2010, 11:38 AM
|
#1
|
Member
Registered: Jun 2009
Posts: 42
Rep:
|
Installing RPM package
In the past, I have installed rpm packages (third party application) but rarely do I upgrade/install a newer version on top of the old.
What is norm way of installing an updated package from the vendor (ie, EMC Networker).
Do I remove the old version first and installing the new version? My concern is removing will take some important files needed by the other application, etc.
John
|
|
|
08-02-2010, 11:41 AM
|
#2
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
|
|
|
08-02-2010, 04:40 PM
|
#3
|
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Rep:
|
You can also do a 'su -c yum update && su -c yum upgrade' if you want to have similar features to Debian/Ubuntu's apt-get.
|
|
|
08-02-2010, 08:58 PM
|
#4
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,702
|
most modern rpm based distros use yum
install the rpms using yum and NOT rpm
But with out knowing WHAT your distro is and WHAT rpm this is
and/or NOT knowing the name of said rpm and where you got said rpm ...
we can not help more
|
|
|
08-03-2010, 03:52 AM
|
#5
|
Member
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206
Rep:
|
Quote:
Originally Posted by Kenny_Strawn
You can also do a 'su -c yum update && su -c yum upgrade' if you want to have similar features to Debian/Ubuntu's apt-get.
|
Running yum update && yum upgrade is not needed, as yum upgrade does the same as yum update
man yum
Code:
Update:
If run without any packages, update will update every currently
installed package. If one or more packages or package globs are
specified, Yum will only update the listed packages. While
updating packages, yum will ensure that all dependencies are sat-
isfied. If the packages or globs specified match to packages
which are not currently installed then update will not install
them. update operates on groups, files, provides and filelists
just like the "install" command.
If the main obsoletes configure option is true (default) or the
--obsoletes flag is present yum will include package obsoletes in
its calculations - this makes it better for distro-version
changes, for example: upgrading from somelinux 8.0 to somelinux
9.
Upgrade:
Is the same as the update command with the --obsoletes flag set.
See update for more details
Other than that, I agree with John VV.
Which distro and which rpm are we talking about?
|
|
|
08-03-2010, 07:04 PM
|
#6
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,259
|
Use yum localupdate package.rpm
This will check the dependencies of the new version and get any necessary upgrades for them from your distro's repository.
|
|
|
All times are GMT -5. The time now is 05:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|