This is now superceded as its in the 2.9 documents now.
Please refer to this link instead.
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
Debian Bookworm is now the official stable release of Debian. Yay!!!
But the version of linuxcnc in Bookworm is not current due to the freeze policy leading up to the release.
Lets fix that so you can upgrade to the latest 2.9 at any time.
These steps assume you already have installed linuxcnc from the Debian Bookworm
1. Download the attached file.
2. Rename it to delete the .txt extension which is just there to fool the forum

3. Open a terminal window
4. Follow the steps in the comments at the top of the file repeated here for convenience:
Code:
cd ~/Downloads
wget http://buildbot2.highlab.com/buildbot-archive-key.gpg
sudo cp ./buildbot-archive-key.gpg /etc/apt/trusted.gpg.d
sudo cp ./99linuxcnc-uspace /etc/apt/preferences.d/
sudo echo "deb http://buildbot2.highlab.com/debian/ bookworm 2.9-uspace" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt upgrade
Anytime you want to update to the latest version of Linuxcnc 2.9 all you have to do is type
[code]sudo apt update
sudo apt upgrade
Note:
1. Bullsye users can also enjoy this method by substituting the 5th line with the Bullseye line above
2. You can update to Master branch Version 2.10 by changing 2.9-uspace to master-uspace in the 5th line above
3. If you have already used this method to install V 2.9, edit the /etc/apt/sources.list manually as it won't be cool to have duplicate lines in this critical linux config file.
3. Please take care to follow these steps precisely so you don't erase your sources.list file like I did!
[/code]