Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 548  / 2 Years ago, tue, july 19, 2022, 8:38:56

I downloaded and installed a program from source. Now I want to install a newer version, again from source. In both cases I have to add PATH to bashrc. I am a afraid from upcoming problems, because I think when I type NS (my program) in the terminal, Linux will not know which one to expose? Is it a correct criteria?


More From » 12.04

 Answers
1

When you install two softwares having same name into two different directories, one in /usr directory is called.



If both are installed in places other than usr, the one which is located first is used(that's what I think)



In your case, you must change name of either package in bashrc, for ex change to NS2 which will point to one of the app you will compile.The other will be pointed by NS.This will solve your problem.


[#26297] Tuesday, July 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ronicod

Total Points: 71
Total Questions: 111
Total Answers: 111

Location: Montenegro
Member since Fri, Dec 10, 2021
2 Years ago
;