How to Uninstall LinuxCNC

More
2 years 2 months ago #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.

Please Log in to join the conversation.

More
2 years 2 months ago #308582 by Cant do this anymore bye all
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 to join the conversation.

More
2 years 2 months ago #308584 by shaying526
thanks!
very clear. I will try it

Please Log in to join the conversation.

More
2 years 2 months ago #308588 by Cant do this anymore bye all
Thanks

Sometimes what I think is clear to myself doesn’t end being that way for others.

Please Log in to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum