Linux - NewbieThis 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.
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.