Linuxcnc package repos for Mint 19.x Ubuntu 18.04 aka Bionic Beaver & Mint ISO

More
26 Apr 2020 08:13 - 18 Sep 2020 04:20 #165631 by BeagleBrainz
Linuxcnc repository is now available for Uspace aka RT_PREEMPT. No RTAI packages nor images are available at this time.
64 Bit only ie: amd64 no i386 nor i686
The plan is to update the Linuxcnc packages on a Saturday night or Sunday Australian\Sydney time

Setting up the repository is as follows

Import the key:
old key was 60DE9F5F42214E43
Use NEW key below
Some idiot forgot their gpg password
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C9F836336AAD909E 

ATM there is an UEFI installation issue..working on that and will have a replacement soon


Add the source:
sudo add-apt-repository 'deb http://cnc.beaglebrainz.net/mintcnc/ bionic 2.8-rtpreempt'

Finally update the package lists:
sudo apt-get update

To install on a Mint 19.x: installation without Linuxcnc
sudo apt-get install linux-image-4.19.106-rt44-lcnc linux-headers-4.19.106-rt44-lcnc
sudo apt-get install linuxcnc-uspace linuxcnc-uspace-dev linuxcnc-doc-en
sudo apt-get install mesaflash hostmot2-firmware-all

Optionally:
linuxcnc-doc-en can be replaced by linuxcnc-doc-es linuxcnc-doc-fr

For those that wish to install from a Live image pre installed with Linuxcnc:
ISO:
cnc.beaglebrainz.net/cdimage/cnc-19.2.0-...ate-uspace-64bit.iso
md5:
cnc.beaglebrainz.net/cdimage/cnc-19.2.0-...ate-uspace-64bit.md5

For Mint 19.3 with updated kernel & Official V2.8.0 Linuxcnc:
ISO:

cnc.beaglebrainz.net/cdimage/cnc-19.3.0-...lus-uspace-64bit.iso
md5:
cnc.beaglebrainz.net/cdimage/cnc-19.3.0-...lus-uspace-64bit.md5

All packages were upgraded during creation of the image.
No extras for qtvcp have been installed.
No scripts to download dependencies for building Linuxcnc have been included.
I've attempted to make this as plain as possible.
Included on the ISO in addition to the standard Mint packages are:

Midnight Commander aka mc
Geany
GParted

All Package: glade3
All Version: 3.8.6-1

All Package: hostmot2-firmware-all
All Version: 0.8.21.g5be856c

All Package: mesaflash
All Version: 3.3.0~pre0+dfsg-0

Mint 19.2
Package: linux-headers-4.19.106-rt44-lcnc
Version: 4.19.106-rt44-lcnc-1

Package: linux-image-4.19.106-rt44-lcnc
Version: 4.19.106-rt44-lcnc-1

Package: linuxcnc-doc-en
Version: 1:2.8.0~pre1.5821.g7525a152

Package: linuxcnc-uspace
Version: 1:2.8.0~pre1.5821.g7525a152

Package: linuxcnc-uspace-dev
Version: 1:2.8.0~pre1.5821.g7525a152


Mint 19.3
Realtek 8125B drivers for Odroid H2+ added
UEFI Installation fixed

Image is suitable for:
PC Legacy boot installation
PC UEFI boot wnstallation
Odorid H2+ (this board supports UEFI boot only)

Package: linux-headers-4.19.106-rt46-lcnc
Version: 4.19.106-rt46-lcnc-1

Package: linux-image-4.19.106-rt46-lcnc
Version: 4.19.106-rt46-lcnc-1

Package: linuxcnc-doc-en
Version: 1:2.8.0

Package: linuxcnc-uspace
Version: 1:2.8.0

Package: linuxcnc-uspace-dev
Version: 1:2.8.0

Package: Realtek-r8125-dkms
Version: 9.003.05-1
Last edit: 18 Sep 2020 04:20 by BeagleBrainz. Reason: Link to new ISO for x86 & Odroid
The following user(s) said Thank You: Mike_Eitel, billykid, tommylight, Clive S, tivoi, emilvv, johnmc1, Plasmaguy, JohnnyCNC, berntmartin and 2 other people also said thanks.

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

More
26 Apr 2020 13:43 #165664 by tommylight

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

More
28 Apr 2020 06:10 #165909 by BeagleBrainz
For those of you who want to build your own RIP installation or packages:

After setting up the repo & importing the key in the first post
sudo apt-get update
sudo apt-get install -y devscripts equivs build-essential --no-install-recommends
sudo apt-get install -y linuxcnc-build-deps --no-install-recommends --no-install-suggests 

Grab a coffee\tea\keg of beer and take a break for a bit. After this has finished every thing is ready to clone the Linuxcnc sources, checkout the version you want and build (RIP is best before making packages and doing a full install).
The following user(s) said Thank You: tommylight

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

More
28 Apr 2020 13:08 #165975 by AndrejsA
Firstly, thanks. So far I've tested it only on virtual machine, but I had less issues with it than with wheezy.

I've opted for ISO and RIP installation since I need 2.9 linuxcnc. But I'm having some python2 and python3 related issues.
So what I'm doing, I'm loading linuxcnc with 3axis-tutorial.ini config file, trying to learn about vismach.
but it always crashes on import tkinter. First it was update-ini file, I went in and manually changed to:
"from Tkinter import *
import tkMessageBox" and then went and changed in code few places, so update-ini worked, but then vismach.py crashed also because of tkinter import.
I was thinking to purge python2.7 so that it uses python3, but decided to ask if it makes any sense. Or shall I just rewrite all the files refering to tkinter to use Tkinter instead?

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

More
28 Apr 2020 13:14 #165977 by tommylight
You do not need run in place to use 2.9, it is ready on the buildbot site
buildbot.linuxcnc.org/dists/

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

More
28 Apr 2020 13:20 - 28 Apr 2020 13:23 #165979 by AndrejsA
Is it with Mesa 7I95 support? I did not specify it before, but i need RIP to be able to patch it for 7I95 support
Last edit: 28 Apr 2020 13:23 by AndrejsA.

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

More
28 Apr 2020 13:57 #165980 by tommylight

AndrejsA wrote: Is it with Mesa 7I95 support? I did not specify it before, but i need RIP to be able to patch it for 7I95 support

I am not sure it is there, so you do need RIP just to be sure.
Did not know you needed it for 7i95.

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

More
28 Apr 2020 14:00 #165981 by tommylight

tommylight wrote:

AndrejsA wrote: Is it with Mesa 7I95 support? I did not specify it before, but i need RIP to be able to patch it for 7I95 support

Just did a quick check on Mesanet.com, that is a nice board, now i need one to play with! :)

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

More
28 Apr 2020 15:19 #165986 by AndrejsA

I am not sure it is there, so you do need RIP just to be sure.
Did not know you needed it for 7i95.

My bad, I forgot to mention it.
My work around for now was just to add some if: else: statements to load the correct tkinter libraries and it lead to creating a tk window with vismach config. For now it works, till I figure out how to get rid of python2 and use only python3
The following user(s) said Thank You: tommylight

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

More
28 Apr 2020 17:12 #165996 by BeagleBrainz
I thought Linuxcnc still relied on python 2.7 and going to 3.0 needed some reworking due to the differences.

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

Time to create page: 0.113 seconds
Powered by Kunena Forum