Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 397  / 1 Year ago, sat, february 4, 2023, 3:51:41

I have to versions of a software (Tecplot). When I write "tec360" in the terminal it brings me the old version. How can I change the program call directory so that it will bring me the new version?


More From » 12.04

 Answers
3

Move the new version you have installed to your /opt directory and replace the old one with the new one. Then have a system restart.



something like



sudo mv ~/tecplot /opt/


If you are not root , then do as follows in your terminal



gedit .bashrc


write a line at the end of the opened text file as



alias tec360="~/tp/bin/tec360"


Then save and close the text file.



Then in the terminal write as



source ~/.bashrc


now try again by calling your program.


[#29083] Sunday, February 5, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
byishted

Total Points: 469
Total Questions: 113
Total Answers: 113

Location: Tajikistan
Member since Sun, Aug 29, 2021
3 Years ago
;