The following is the recipe I
believe I followed. (I I had success with it in an earlier install). But at this point I've tried other things like the suggestions offered here...
Replied by
rodw
on topic
Installing LinuxCNC 2.8 on Debian 11
Installing LinuxCNC 2.8 on Debian 11
Category:
Installing LinuxCNC
I changed my process and upgraded to the unstable branch by following some instructions on the Debian site
From a basic install of Debian 11 (Bullseye)
Code:
sudo apt install geany curl
sudo geany /etc/apt/sources.list
make sure any lines containing cd are commented out with a #
replace any reference to bullseye, buster or stable with unstable eg:
Code:
deb http://deb.debian.org/debian/ unstable main non-free contrib
deb-src http://deb.debian.org/debian/ unstable main non-free contrib
save and exit geany, then
Code:
sudo apt update
sudo apt full-upgrade
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
reboot
type uname -a
Last line is to check PREEMPT-RT kernel is running as its installed by the install
Linuxcnc should be in the menus or open a terminal and type:linuxcnc
If you need to update to the latest version of master, you need to install from source but there are far fewer dependencies to install.
Note I did not install the docs as thats quite time consuming and we already have a slightly earlier version of them on the system. If you want them, remove the no-docs flag to ./configure
Code:
cd ~
mkdir /dev
cd dev
git clone https::/github.com/linuxcnc/linuxcnc.git
cd linuxcnc/debian
./configure uspace no-docs
cd ..
sudo apt install debhelper-compat dh-python autoconf gettext intltool libboost-python-dev libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev libmodbus-dev libeditreadline-dev libusb-1.0-0-dev libxmu-dev python3-dev tcl8.6-dev tk8.6-dev yapps2
dpkg-buildpackage -b -uc
cd ..
sudo dpkg -i linuxcnc-uspace_ (tab)
Optionally install the dev package for mesaflash, halcompile, ethercat etc.
Code:
sudo dpkg -i linuxcnc-uspace-dev(tab)
This moved my version of QTplasmac from 1.222.178 when I did it.Note that opening an older sim version of QTplasmac generates an error with a missing .so file for the torch simulation.
The solution is to create a new sim by selecting from the Sample Configurations
To subsequently upgrade to the latest version of linuxcnc master[code]cd ~/dev/linuxcnc/src
git pull
cd ..
dpkg-buildpackage -b -uc
cd ..
sudo dpkg -i linuxcnc-uspace_ (tab)optionallysudo dpkg -i linuxcnc-uspace-dev(tab)[code]