LinuxCNC on Linux Mint 20 quick and nearly easy install
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
25 Jul 2020 23:27 - 27 Jun 2021 00:38 #175816
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, ..
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:- 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---
---
If the above keyserver does not work, try these:OROR---
-
Editing the GRUB menuHow 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.
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin..._4.9.228-1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin..._4.9.228-1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin..._4.9.228-1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin...rt_4.9.228-1_all.deb
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/i/isl...l15_0.18-1_amd64.deb
ftp.us.debian.org/debian/pool/main/m/mpf...r4_3.1.5-1_amd64.deb
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.....
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:
https://www.linuxmint.com/download.php
- 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
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
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
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:
sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key EF1B07FEE0EE663E
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-key EF1B07FEE0EE663E
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
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.
Warning: Spoiler!
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin..._4.9.228-1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin..._4.9.228-1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin..._4.9.228-1_amd64.deb
ftp.us.debian.org/debian/pool/main/l/lin...rt_4.9.228-1_all.deb
ftp.us.debian.org/debian/pool/main/g/gcc...-18+deb9u1_amd64.deb
ftp.us.debian.org/debian/pool/main/i/isl...l15_0.18-1_amd64.deb
ftp.us.debian.org/debian/pool/main/m/mpf...r4_3.1.5-1_amd64.deb
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.....
Last edit: 27 Jun 2021 00:38 by tommylight. Reason: More info
The following user(s) said Thank You: beatnic, akb1212, elovalvo, rodw, anfänger, riversvic, RoberCNC, hilo90mhz
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
26 Jul 2020 02:52 #175845
by BeagleBrainz
Replied by BeagleBrainz on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
Jolly good show Old bean, a Tip O' The Hat to you.
How long did you spend working it out ?
Sorry I've been a bit quiet of late, been into another couple of projects.
How long did you spend working it out ?
Sorry I've been a bit quiet of late, been into another couple of projects.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
26 Jul 2020 06:40 #175860
by Clive S
Now all you have to do is work your magic and turn it into an ISO
Replied by Clive S on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
Jolly good show Old bean, a Tip O' The Hat to you.
How long did you spend working it out ?
Sorry I've been a bit quiet of late, been into another couple of projects.
Now all you have to do is work your magic and turn it into an ISO
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
26 Jul 2020 09:14 #175872
by tommylight
Will add the 5.4 kernel and try to do a script as soon as i can.
Replied by tommylight on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
In total about 4 hours plus upgrade from beta, so not bad at all.
How long did you spend working it out ?
Will add the 5.4 kernel and try to do a script as soon as i can.
The following user(s) said Thank You: zack
Please Log in or Create an account to join the conversation.
03 Aug 2020 21:16 - 03 Aug 2020 21:17 #177096
by rootboy
Replied by rootboy on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
Thanks! I had a few hiccups, but it is running on both of my PCs.
I first installed it on my home PC (no mill attached to it) and ran into three problems. I just finished installing it on my friend's PC and had the first and last problem (the last not really being a problem so much as a requirement).
Installing python-gtk2 failed with a "Dependency is not satisfiable" error. This was fixed by going to pkgs.org/download/python-gtk2 and downloading the "Debian 9 (Stretch)" version. Installing the newer version will not work.
Download the file, let the installer do its thing including installing extra files that it requires to complete the installation.
Don't forget to run (or re-run) the "sudo gdebi python-glade2..." command.
This could probably be avoided by installing the python-gtk2 package first. But if not, this is how I fixed it.
I also had a "multiarch-support" issue with my Ryzen processor, but not with the Intel i5 on the target PC. I fixed this by installing multiarch-support_2.24-11+deb9... on my Ryzen PC.
And this is not a bug, just a friendly reminder. If your apt-get update fails on LinuxCNC buildbot, go to: buildbot.linuxcnc.org and add the signing key to your apt keychain.
I first installed it on my home PC (no mill attached to it) and ran into three problems. I just finished installing it on my friend's PC and had the first and last problem (the last not really being a problem so much as a requirement).
Installing python-gtk2 failed with a "Dependency is not satisfiable" error. This was fixed by going to pkgs.org/download/python-gtk2 and downloading the "Debian 9 (Stretch)" version. Installing the newer version will not work.
Download the file, let the installer do its thing including installing extra files that it requires to complete the installation.
Don't forget to run (or re-run) the "sudo gdebi python-glade2..." command.
This could probably be avoided by installing the python-gtk2 package first. But if not, this is how I fixed it.
I also had a "multiarch-support" issue with my Ryzen processor, but not with the Intel i5 on the target PC. I fixed this by installing multiarch-support_2.24-11+deb9... on my Ryzen PC.
And this is not a bug, just a friendly reminder. If your apt-get update fails on LinuxCNC buildbot, go to: buildbot.linuxcnc.org and add the signing key to your apt keychain.
Last edit: 03 Aug 2020 21:17 by rootboy. Reason: Missing punctuation
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
03 Aug 2020 21:23 #177104
by tommylight
Thanks for the report.
Replied by tommylight on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
Dang, i forgot to add that, will remedy immediately !If your apt-get update fails on LinuxCNC buildbot, go to: buildbot.linuxcnc.org and add the signing key to your apt keychain.
Thanks for the report.
Please Log in or Create an account to join the conversation.
04 Aug 2020 06:58 #177187
by rootboy
No problem! And thank you for the Mint 20 option.
Replied by rootboy on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
Dang, i forgot to add that, will remedy immediately !If your apt-get update fails on LinuxCNC buildbot, go to: buildbot.linuxcnc.org and add the signing key to your apt keychain.
Thanks for the report.
No problem! And thank you for the Mint 20 option.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
04 Aug 2020 12:21 #177225
by tommylight
Replied by tommylight on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
It has become an obsession !
You are welcomed.
You are welcomed.
Please Log in or Create an account to join the conversation.
07 Aug 2020 09:49 #177590
by Tady
Replied by Tady on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
Did anyone try compiling run in place? I wad unsuccessful. There seems to be a problem with python versions. Some packages require 2.7.15 but python 2.7.18 is installed. Everything brakes. I have downgraded to 19.3 and there was no problem.
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
07 Aug 2020 11:17 #177592
by tommylight
Everything is moving to Python 3 and that is causing some major headaches .
Replied by tommylight on topic LinuxCNC on Linux Mint 20 quick and nearly easy install
Not that i am aware of.Did anyone try compiling run in place?
Everything is moving to Python 3 and that is causing some major headaches .
Please Log in or Create an account to join the conversation.
Time to create page: 0.107 seconds