Keeping Linuxcnc 2.9 current on Debian Bookworm

More
12 Jun 2023 01:55 - 19 Jun 2023 02:31 #273362 by rodw
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:
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]
Attachments:
Last edit: 19 Jun 2023 02:31 by rodw.
The following user(s) said Thank You: my1987toyota, Vector, DanRoscigno

Please Log in or Create an account to join the conversation.

More
12 Jun 2023 01:58 #273363 by rodw
If you have not yet installed linuxcnc from the repos, after the steps above, simply type these commands
sudo apt update
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev
The following user(s) said Thank You: tommylight, DanRoscigno

Please Log in or Create an account to join the conversation.

More
13 Jun 2023 20:16 #273512 by tommylight
Made this sticky for now.
Sorry for the delay, family health issues.
The following user(s) said Thank You: rodw, my1987toyota

Please Log in or Create an account to join the conversation.

More
13 Jun 2023 22:02 #273517 by my1987toyota
I hope things get better tommylight.
The following user(s) said Thank You: tommylight, rodw

Please Log in or Create an account to join the conversation.

More
13 Jun 2023 23:01 - 19 Jun 2023 02:36 #273522 by rodw

I hope things get better tommylight.
x 2


 

Please refer to this link instead. linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
Last edit: 19 Jun 2023 02:36 by rodw.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
14 Jun 2023 09:33 #273538 by xu
敬爱的 rodw
Debian Bookworm 全新安装后 网络安装 ethercat1.5 失败 您能查找下原因吗?

Please Log in or Create an account to join the conversation.

More
14 Jun 2023 20:36 #273552 by aabtech
sudo apt update
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev
please can you use the above command
To install LinuxCNC on Linuxmint 21.1

Please Log in or Create an account to join the conversation.

More
15 Jun 2023 00:15 #273560 by rodw

sudo apt update
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev
please can you use the above command
To install LinuxCNC on Linuxmint 21.1

I don't believe so. The instructions are for Debian Bookworm. This method may let you install from the Linuxcnc Buildbot on mint.with some modifications.

Please Log in or Create an account to join the conversation.

More
17 Jun 2023 22:00 #273753 by tommylight
@Rod,
There is the line with 99linuxcnc-uspace that fails since there is no info on creating that file.
The installation works without it, and updates work properly.
For anyone interested in creating that file, go to Rod's howto
vmnet.com.au/linuxcnc/getting-linuxcnc.h...an_bookworm_x86_only
-
On a side note:
I HATE DEBIAN! :)
Why the hell does it have (and insists on using) Raspberry Pi stuff???
To be clear, i used the Hybrid version with Mate desktop environment, so others versions might not have this issue.
The issue:
-Installs OK
-Updates and upgrades OK
-While installing LinuxCNC, it also installs the RT kernel.
-LinuxCNC installs and works OK
-It hangs on kernel install complaining about "raspi" stuff missing
Solution:
-Open terminal
-type sudo caja
-open /etc/ folder
-Press ctrl+f and type z50*
-it will find 3 files, delete all 3
-do a sudo apt upgrade again
Everything works, so far.

Please Log in or Create an account to join the conversation.

More
17 Jun 2023 22:29 #273754 by rodw
Thanks for the feedback Tommy. the file name with 99 in the line below is deliberate and apparently follows best practice.
sudo nano /etc/apt/preferences.d/99linuxcnc-uspace

Nano will create the file when you save it.

The old 2.8 docs included Pi installation so we retained it. I see  many people struggling with the Pi, yet Debian has a solution to install it and latency is acceptable. This has worked since the release of Bullsye so hardly new.
The pull request to put this in the 2.9 docs is here
github.com/LinuxCNC/linuxcnc/pull/2522

Yes, I am not too fond of the Debian desktop but have stuck with xfce which is what Linuxcnc has always used.

Please Log in or Create an account to join the conversation.

Time to create page: 0.205 seconds
Powered by Kunena Forum