(superseeded) Linuxcnc on Linux Mint 19.3 quick and easy installation

More
17 Jun 2019 20:46 - 21 Jul 2021 23:43 #137159 by tommylight
Please use the official release found here:
linuxcnc.org/downloads/
Use this tutorial only if you have issues with dirvers, be it WiFi or graphic or else, ..


EDIT: Updated for Buster repo since Strech is not built any more.

-
This is an easy way to have LinuxCNC running very quickly on Linux Mint 19.3, Mate and XFCE edition work, Cinnamon might not.
Download Mate version from here:
https://www.linuxmint.com/edition.php?id=276
OR, not both
XFCE version form here:
https://www.linuxmint.com/edition.php?id=278
-Install Linux Mint 19.3
-Copy and paste these lines in terminal, one by one:
-
sudo apt update
-
wget http://ftp.us.debian.org/debian/pool/main/l/linux/linux-image-4.9.0-13-rt-amd64_4.9.228-1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-10/gcc-10-base_10.3.0-1ubuntu1~20.04_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-10/libgcc-s1_10.3.0-1ubuntu1~20.04_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/b/boost1.67/libboost-python1.67.0_1.67.0-17ubuntu8_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libm/libmodbus/libmodbus5_3.1.6-2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0_1.0.23-2build1_amd64.deb
-
sudo gdebi linux-image-4.9.0-13-rt-amd64_4.9.228-1_amd64.deb
sudo gdebi gcc-10-base_10.3.0-1ubuntu1~20.04_amd64.deb
sudo gdebi libgcc-s1_10.3.0-1ubuntu1~20.04_amd64.deb
sudo gdebi libboost-python1.67.0_1.67.0-17ubuntu8_amd64.deb
sudo gdebi libmodbus5_3.1.6-2_amd64.deb
sudo gdebi libusb-1.0-0_1.0.23-2build1_amd64.deb
-
sudo apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-key EF1B07FEE0EE663E
-
-For Master version, unstable, still under development
sudo apt-add-repository 'deb http://buildbot.linuxcnc.org/ buster master-rtpreempt'
-OR, not both.
-For 2.8 version, stable, to be current release
sudo apt-add-repository 'deb http://buildbot.linuxcnc.org/ buster 2.8-rtpreempt'
-
sudo apt-get update
-
sudo apt-get -y install linuxcnc-uspace

---
If the above keyserver does not work, try these:
sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key EF1B07FEE0EE663E
OR
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-key EF1B07FEE0EE663E
OR
sudo apt-key adv --keyserver hkp://pgpkeys.eu --recv-key EF1B07FEE0EE663E
---
-
Editing the GRUB menu
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

How to use:
itsfoss.com/grub-customizer-ubuntu/
It is for Ubuntu, same applies for Mint.
--
-For LinuxCNC dev, this package is also needed:
wget http://ftp.br.debian.org/debian/pool/main/y/yapps2/python-yapps_2.2.1-3_all.deb
sudo gdebi python-yapps_2.2.1-3_all.deb
sudo apt install linuxcnc-uspace-dev
----Reboot, enjoy.
Last edit: 21 Jul 2021 23:43 by tommylight. Reason: updated to Buster repo, added dev
The following user(s) said Thank You: BigJohnT, bevins, akb1212, Clive S, tjmarch, tivoi, Nitram, ytiuqibu, JohnnyCNC, macsddau@linuxcnc and 8 other people also said thanks.

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

More
18 Jun 2019 05:33 #137172 by pl7i92
-Install Linux Mint 19.1

is this the standard dektop or only the low level minimum install you requirer

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

More
18 Jun 2019 13:35 #137185 by tommylight
Linux Mint 19.1 with mate desktop, normal version with everything included.

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

More
18 Jun 2019 15:20 #137195 by pl7i92
Thank you there is the main link to the download
linuxmint.com/download.php
The following user(s) said Thank You: tommylight, macsddau@linuxcnc

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

More
21 Sep 2019 18:53 #145777 by tommylight
This also works with 19.2 Mate version of Linux Mint, tested last night.
Install Mint, install Linux image, install Linux headers, install Linuxcnc, reboot.
It is as simple as that, and yes you Can install everything and then reboot.

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

More
16 Oct 2019 18:37 - 16 Oct 2019 18:45 #148033 by pmconsulting
This is really terrific! After days of bumbling with hopelessly complicated approaches & endless dead ends, I was able to install the kernel, linuxcnc, reboot & go.

One really dumb question, though: Where doe it install the linuxcnc configurations? I've backed up all of my old configurations from a prior, Debian system and want to restore them to the linuxcnc directory structure, but can't find it in my own home directory.

Where does this approach put the linuxcnc configurations?

Answered my own, dumb question: I launched Pncconf & made a config. It created the linuxcnc directory & substructure in my home directory. Bingo!

Again, after all I've struggled with & tried over & over again, this is an amazingly simple approach that worked in a few clicks.
Last edit: 16 Oct 2019 18:45 by pmconsulting.

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

More
16 Oct 2019 18:44 #148034 by tommylight
Start Linuxcnc from the meny and choose whatever config, it will ask to save it so say yes, it makes the Linuxcnc folder in the home directory, inside there should be the config folder so copy your config there.
The following user(s) said Thank You: pmconsulting

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

More
27 Oct 2019 19:45 - 27 Oct 2019 20:03 #148921 by Samuelx
Sorry, got it work, my mistake
clicked wrong packets
/linuxcnc-uspace-dev_2.9.0~pre0.768.ga8fe34c55_amd64.deb
Attachments:
Last edit: 27 Oct 2019 20:03 by Samuelx.
The following user(s) said Thank You: tommylight

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

More
27 Oct 2019 20:44 #148929 by tommylight

Sorry, got it work, my mistake
clicked wrong packets
/linuxcnc-uspace-dev_2.9.0~pre0.768.ga8fe34c55_amd64.deb

Nice!

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

More
31 Oct 2019 01:35 - 31 Oct 2019 02:25 #149248 by Nitram
Thanks for everyone's input on this, I have found the above is really a very easy pathway to get a system going for LinuxCNC.

One thing which may assist, in my situation, I had very slow boot times with the 4.16.12-rt5-kona-rt_amd64 kernel.

Using the 4.14.28-rt23-kona-rt_amd64 from the same page resolved this.

Latency testing results are unchanged.
Last edit: 31 Oct 2019 02:25 by Nitram.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.448 seconds
Powered by Kunena Forum