How to Uninstall LinuxCNC

More
25 Aug 2024 08:40 - 25 Aug 2024 08:48 #308581 by shaying526
I have compiled LinuxCNC version 2.8.4 following a tutorial.
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
...
$ make
$ sudo make setuid
$ source ../scripts/rip-environment
...

It works very well.
Now, I need to use a newer version of LinuxCNC, such as 2.9, I need to use RTCP.
Should I perform make clean in the directory where LinuxCNC 2.8.4 is installed?
And then follow the installation process to compile version 2.9?

I'm asking this mainly because I'm concerned about potential conflicts with environment variables.
If I could keep two versions without conflict, that would be great. Can I switch them in some way? This is more conducive to my debugging.
Last edit: 25 Aug 2024 08:48 by shaying526.

Please Log in or Create an account to join the conversation.

More
25 Aug 2024 08:55 #308582 by cornholio
Replied by cornholio on topic How to Uninstall LinuxCNC
Here's how I do it:

~/linuxcnc-dev/2.8.4/
~/linuxcnc-dev/2.9/

Clone each repo into their respective dirs.

Do what you need.


to work on 2.9 open terminal, dive into the 2.9 directory, do what you need, source the rip-environment and run a session

to work on 2.8 close the first terminal, open a 2nd terminal, dive into the 2.8 directory, do what you need, source the rip-environment and run a session

If need to go back to to 2.9 close the terminal running 2.8 and go back to the first step.
Doing this way gives you a clean environment each time. Yeah you have to close a terminal between each run.

Please Log in or Create an account to join the conversation.

More
25 Aug 2024 09:03 #308584 by shaying526
thanks!
very clear. I will try it

Please Log in or Create an account to join the conversation.

More
25 Aug 2024 11:11 #308588 by cornholio
Replied by cornholio on topic How to Uninstall LinuxCNC
Thanks

Sometimes what I think is clear to myself doesn’t end being that way for others.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum