Upgrade LinuxCNC 2.7.14 Debian 7 Wheezy to LinuxCNC 2.8

More
09 Feb 2020 11:03 #156859 by captain chaos
I would like to upgrade to LinuxCNC 2.8 on debian Wheezy, is this possible?

I had router gantrykins running on Ubuntu 10.04 Linunx cnc 3 but with all the problems of trying
to recompile my original files, some still emc3 the whole thing became a bit of a mess.

I have now decided to rather go with a new up to date install as advised by:-

Replied by tommylight on topic What alternatives to gantrykins?
Upgrade to 2.8 or 2.9, it has joints/axis feature so you can have 2 or more joints configured as axis natively.


I have:-
Linux gantry 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux

on
Architecture: i686
CPU op-mode(s): 32-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 15
Model: 4
Stepping: 1
CPU MHz: 2799.837
BogoMIPS: 5599.67
L1d cache: 16K
L2 cache: 256K

I was keen to stay with Ubuntu 10.04 Linunx cnc 3 as I had max jitter of 25,000
I tried stretch uspace i386 but got max jitter of 137,000 so decided on 2.7.14
Debian 7 Wheezy and have max jitter of 35,560.

I have looked at andypugh's github.com/andypugh/RTAI/releases but those are for amd 64 bit.
I have been here ..... buildbot.linuxcnc.org/
and gone as far as:-
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
but don't understand :-
Then put one of these stanzas in your /etc/apt/sources.list.d/linuxcnc-buildbot.list:
I have :- /etc/apt/sources.list.d ....do I make another directory /linuxcnc-buildbot.list
and if so what stanza do i put in it.
I have minimal computer programming skills and would appreciate some help with this please.
That is to say if I'm even on the right track.
Thanks Paul

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

More
09 Feb 2020 22:14 #156914 by phillc54
If you are more comfortable with a GUI then you could do the first bit in a terminal then the remainder in the Synaptic GUI

To use the buildbot packages on your computer, first add the buildbot archive signing key to your apt keychain by running this command from a terminal:
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
If you get an error downloading the key it may be caused by being behind a firewall or a proxy server. In this case it may be worthwhile specifying port 80 rather than using the default of 11371:
sudo apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-key E0EE663E
Close the terminal, then from the Main Menu, open Synaptic Package Manager.

Select Search in the menu bar and do a search using linuxcnc as the search term. Right click on any linuxcnc results and then click Mark for Removal. When all installed results are selected click Apply on the menu bar and these will be deleted.

Click Settings from the menu and select Repositories.

You can then either edit or delete existing LinuxCNC entries from the repositories list. You need to end up with the following set of stanzas as the only references to LinuxCNC:
deb     http://buildbot.linuxcnc.org/ <distro> <branch>-<rt_type>
deb-src http://buildbot.linuxcnc.org/ <distro> <branch>-<rt_type>
Where:

<distro> is stretch or wheezy

<branch> is master or 2.8

<rt_type> is rtpreempt or rt

So if you installed the wheezy version and wanted 2.8 branch then you would have:
deb     http://buildbot.linuxcnc.org/ wheezy 2.8-rt
deb-src http://buildbot.linuxcnc.org/ wheezy 2.8-rt
When this is completed Synaptic should do a package reload, if not do a manual Reload from the menu bar.

Now do a Search with linuxcnc as the search term and the result should be a list of newly available LinuxCNC packages

Right click on the package you want to install and then select Mark for Installation.

For rtpreempt you would select linuxcnc-uspace and for rt it would be linuxcnc.

You may also select the documentation if you want it installed locally and/or the -dev package if you intend to build new realtime components and/or alternate front-ends for linuxcnc.

When you have made all your selections, click Apply on the menu bar and the selected packages will be installed.
The following user(s) said Thank You: captain chaos, AndrewL

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

More
09 Feb 2020 23:45 #156918 by captain chaos
Absolutely fantastic mate thank you so much for your time and effort.
Good clear easy to follow instructions your post should be put up as a tutorial.
With your sort of instructions I could go the terminal no probs.
Just done latency test, Youtube running + glx gears and could not get another glx gears to load with You tube stalling Latency at 41229 just a little up from the 35560 I had on 2.7.
Thanks again
cheers Paul
The following user(s) said Thank You: phillc54

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

More
29 Apr 2020 20:02 #166137 by AndrewL
Thank you phillc54 for your very clear instructions.

when following these instructions, pyserial failed to fetch. In order to get linuxcnc-uspace-dev, I also had to go to:
archive.debian.dists.mirror.naxonet.net/...ool/main/p/pyserial/

download:
python-serial_2.5-2.1_all.deb

then open up a terminal:
sudo dpkg -i /home/<name>/Downloads/python-serial_2.5-2.1_all.deb
sudo apt-get install -f

hopefully that helps someone
The following user(s) said Thank You: phillc54

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

More
29 Apr 2020 20:40 #166143 by tommylight

then open up a terminal:
sudo dpkg -i /home/<name>/Downloads/python-serial_2.5-2.1_all.deb
sudo apt-get install -f

As general info, the use of dpkg is no adviseable as it does not check for dependencies or version suitability, instead use gdebi with GUI by double clicking on the downloaded file, or in terminal:
sudo gdebi /home/<name>/Downloads/python-serial_2.5-2.1_all.deb
And no need to force the install as with dpkg.
The following user(s) said Thank You: phillc54, AndrewL

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

More
29 Apr 2020 22:27 #166152 by phillc54
You can use apt on deb packages as well.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.149 seconds
Powered by Kunena Forum