Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb

More
9 years 6 months ago #91722 by probamo
Yes I do. Deleted kernels from "grub-customizer" app I recovered back.

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

More
9 years 6 months ago - 9 years 6 months ago #92082 by cut2cut
Everything has gone great since I last posted here but now I am getting adventurous and appears I don't really understand what "master" and "branch" means.
from post 2:
git checkout 2.7 [what ever branch you want, or skip this step for master]
../debian/configure uspace ; debuild -uc -us

The reason I ask is because recently I started using Gmoccapy as my front end. It's version 1.5.7 and I have found that there is a newer version with some features related to a touch screen that I would enjoy.

I used the post 2 method to install linuxcnc and I don't recall what choice I made ( either branch or master ) but it resulted in linuxcnc version 2.7.8. Is there a way to upgrade my existing installation in whole or in part ( to get the new gmoccapy components ) or does it require a complete new installation of LinuxCnc?

This isn't anything urgent but I someday want to take advamtage of future revisions of Linux cnc , in this case Gmoccapy but I am sure there will be others :-) . It appears I should have gone the Rip route but got fixated on getting anything to work !! Lol :-) I will likely start with a new HD to be able to fall back on my current stable build.

Jake
Last edit: 9 years 6 months ago by cut2cut.

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

More
9 years 6 months ago #92091 by andypugh
The simple way to get LinuxCNC version 8 (master) as an installed system is to use the buildbot.

buildbot.linuxcnc.org

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

More
9 years 6 months ago #92108 by rodw
Jake,

Each version of the software is a branch. The current up to date branch is called Master and as its the development branch its unstable. Developers hive off copies into their own branch and work on stuff and if it is approved, it gets merged back into master. Every now and again, master gives birth to a stable branch certified for production. The current stable release is version 2.7. Master is version 2.8. The version is displayed on the splash screen on startup.

Because you have the source installed, you can navigate to the ~/linuxcnc-dev/src folder and type something like the following:
git checkout master
make clean
make -j8
sudo make setuid

make clean clears all of the generated code away so it compiles everything othjerwise it only compiles what it has to but sometimes it gets stuffed up
The -j8 is optional but uses more CPU cores so compilation is meant to be faster

using git checkout you can swap between branches at will and just recompile. I'm using a development branch (dgarr/external_offsets) and often swap back to master as laid out here.

The source code lives here github.com/LinuxCNC/linuxcnc
and there is a drop down in the top left that allows you to look at various branches.

If you are running as run in place you need to type . ~/linux-dev/src/scripts/rip-environment (must include the initial DOT) and after that typing linuxcnc on the command line will start Linuxcnc.
The following user(s) said Thank You: cut2cut

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

More
9 years 6 months ago #92177 by cncnoob1979
Hey Jake!

If you want to build master follow everything as before. Just do not give this command
Code:
git checkout 2.7

The build process will default to 2.8Pre~

If you are using your currently downloaded linuxcnc issue inside of the folder ; linuxcnc/src ; this will reset you to the newest source code ready to compile. As rodw previously mentioned;
Code:
make clean git pull git checkout master

Then do the deb build per the instructions.
The following user(s) said Thank You: cut2cut

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

More
9 years 6 months ago - 9 years 6 months ago #92179 by cut2cut
You guys are awesome! I'll try this in the coming weeks...
to be continued :)

Jake
Last edit: 9 years 6 months ago by cut2cut.

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

Time to create page: 0.139 seconds
Powered by Kunena Forum