[SOLVED] How to upgrade software to a newer version?
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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to upgrade my software to newer version. since i do not have a yum repository what should i do? should i just change the path to a new location of installed version if 'Yes' please tell me how?
When asking a question it's always a good idea to mention the distro you use and it's version. What do you mean by not having a yum repository? Do you have an Internet connection available on your computer? Do you need help setting up yum? What software do you want t upgrade? The more information you provide, the sooner someone can help you answer your question(s) and solve your problem(s).
Extremely sorry for the mistake it won't be repeated in future. I am using Red Hat Linux 2.6.18-53.el5. I do have internet connection.I have downloaded nmap 5.50 and installed. Now i want to change the default path to the newer version just installed so that i can use it.Also i want to know is there any command which is used to directly upgrade software to a newer version. I tried using "yum update softwarename" but it didn't work. As far as repository is concerned i would like to know how to setup yum repository.
I'm guessing you have a redhat machine, but no redhat support contract.
I'm guessing you downloaded the nmap program manually, as a rpm, or even as source, but all this without a proper redhat support contract.
As you can see, I'm doing some guessing because you did not provide the necessary informations yourself.
So now you have 2 nmap executable, and you want to be sure that when you execute nmap, it launches the nmap version that you downloaded, but not the one that was installed before. Correct???
if I'm guessing correctly, then you need to use the PATH variable, and put in it the path to your new nmap before the directory where that old nmap command still is.
can you post the result of the command:
Also, if you're using redhat without a support contract, I strongly suggest you switch to centos. If you were using redhat with a contract, or centos without a contract, you could do: