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

More
7 years 4 months ago #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:
Code:
https://www.linuxmint.com/edition.php?id=276
OR, not both
XFCE version form here:
Code:
https://www.linuxmint.com/edition.php?id=278
-Install Linux Mint 19.3
-Copy and paste these lines in terminal, one by one:
-
Code:
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
-
Code:
sudo apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-key EF1B07FEE0EE663E
-
-For Master version, unstable, still under development
Code:
sudo apt-add-repository 'deb http://buildbot.linuxcnc.org/ buster master-rtpreempt'
-OR, not both.
-For 2.8 version, stable, to be current release
Code:
sudo apt-add-repository 'deb http://buildbot.linuxcnc.org/ buster 2.8-rtpreempt'
-
Code:
sudo apt-get update - sudo apt-get -y install linuxcnc-uspace

---
If the above keyserver does not work, try these:
Code:
sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key EF1B07FEE0EE663E
OR
Code:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-key EF1B07FEE0EE663E
OR
Code:
sudo apt-key adv --keyserver hkp://pgpkeys.eu --recv-key EF1B07FEE0EE663E
---
-
Editing the GRUB menu
Code:
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:
Code:
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.

Please Log in to join the conversation.

More
7 years 4 months ago #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 to join the conversation.

More
7 years 4 months ago #137185 by tommylight
Linux Mint 19.1 with mate desktop, normal version with everything included.

Please Log in to join the conversation.

More
7 years 4 months ago #137195 by pl7i92
Thank you there is the main link to the download
linuxmint.com/download.php

Please Log in to join the conversation.

More
7 years 1 month ago #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 to join the conversation.

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

Please Log in to join the conversation.

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

Please Log in to join the conversation.

More
7 years 3 days ago #148921 by Samuelx
Sorry, got it work, my mistake
clicked wrong packets
/linuxcnc-uspace-dev_2.9.0~pre0.768.ga8fe34c55_amd64.deb

Please Log in to join the conversation.

More
7 years 3 days ago #148929 by tommylight

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

Nice!

Please Log in to join the conversation.

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

Please Log in to join the conversation.

Time to create page: 0.268 seconds
Powered by Kunena Forum