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, ..
To install LinuxCNC and the real time kernel on Linux Mint 20 with Mate of XFCE desktop environment ( should also work for Ubuntu 20.4 ) some packages from the official Debian repositories have to be downloaded and installed, as follows:
- Download Linux Mint ISO from here:
Code:
https://www.linuxmint.com/download.php
- Write the ISO to a USB drive using win32imager on windows or DD on Linux
- Boot the PC from the USB, make sure that is set in BIOS or press F8 or F9 or F11 or F12 when booting and choose USB
- Install Linux Mint to the HDD or SSD
- Reboot
- Open a terminal from the menu or on the lower left side of the panel
- Copy and paste the following lines, one by one
Code:
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://ftp.us.debian.org/debian/pool/main/b/boost1.62/libboost-python1.62.0_1.62.0+dfsg-4_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/p/pygtk/python-glade2_2.24.0-5.1_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/p/pygtksourceview/python-gtksourceview2_2.10.1-3_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/p/pygtk/python-gtk2_2.24.0-5.1_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/p/python-gtkglext1/python-gtkglext1_1.1.0-9.1_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/g/gst-python1.0/python-gst-1.0_1.10.4-1_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/c/configobj/python-configobj_5.0.6-2_all.deb
-
Code:
sudo gdebi linux-image-4.9.0-13-rt-amd64_4.9.228-1_amd64.deb
sudo gdebi libboost-python1.62.0_1.62.0+dfsg-4_amd64.deb
sudo gdebi python-gtk2_2.24.0-5.1_amd64.deb
sudo gdebi python-glade2_2.24.0-5.1_amd64.deb
sudo gdebi python-gtksourceview2_2.10.1-3_amd64.deb
sudo gdebi python-gtkglext1_1.1.0-9.1_amd64.deb
sudo gdebi python-gst-1.0_1.10.4-1_amd64.deb
sudo gdebi python-configobj_5.0.6-2_all.deb
-
Code:
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/ stretch master-rtpreempt'
-OR, not both.
-For 2.8 version, stable, to be current release
sudo apt-add-repository 'deb http://buildbot.linuxcnc.org/ stretch 2.8-rtpreempt'
-
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.
-
WARNING : DO NOT INSTALL THIS!!!
ONLY In case you need to build other kernel modules the installation of the below listed packages is required.
After download, double click on each of the files and install as usual with Gdebi. The order of links might be off, so try the next and the next and.....