Linuxcnc Jammy repository
- Donno
- Topic Author
- Offline
- Premium Member
- Posts: 137
- Thank you received: 16
Is there any repository for LinuxCNC on Ubuntu22.04 ? I am using KUbuntu 22.04 and don't want a real time kernel it is only for GUI design and Playing around with ArduinoHAL
Or a easy way to install on existing system ?
Thanks in advance
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
- Posts: 19462
- Thank you received: 6529
linuxcnc.org/docs/html/code/building-lin...ding_debian_packages
Be sure to also check for build dependencies as stated there
Install the resulting deb file by double clicking on it.
This gets you simulator version that also forks for machine control just by installing a real time kernel and rebooting to it.
Please Log in or Create an account to join the conversation.
- Donno
- Topic Author
- Offline
- Premium Member
- Posts: 137
- Thank you received: 16
I used the following commands
git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev/debian
(install missing dependencies)
dpkg-buildpackage -b -uc
I get the following error compiling the .deb file
dh_installdocs: error: Cannot find (any matches for) "usr/share/doc/linuxcnc/LinuxCNC_Developer_de.pdf" (tried in ., debian/tmp)
I also looked at this thread but there is no solution forum.linuxcnc.org/9-installing-linuxcnc...3-compiling-linuxcnc for dpkg-buildpackage
Any help will be appreciated ?
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
- Posts: 10784
- Thank you received: 3551
> cd linuxcnc-dev/debian
> ./configure uspace
> cd ..
[code]
> cd linuxcnc-dev/debian
> ./configure uspace nodocs
> cd ..
or is that no-docs?
That tells lcnc to not build docs which should skip the error and save a lot of time
Please Log in or Create an account to join the conversation.
- Donno
- Topic Author
- Offline
- Premium Member
- Posts: 137
- Thank you received: 16
Attachments:
Please Log in or Create an account to join the conversation.
- JPL
- Offline
- Platinum Member
- Posts: 335
- Thank you received: 113
What is different between the normal and dev version of linuxcnc ?
I believe 'normal' is usually called deb version, while the dev version is called RIP (run in place). This being said most answers to your question are here : linuxcnc.org/docs/html/code/building-linuxcnc.html#_build_modes
Also, while experimenting with custom components I've found out that the deb (eg normal) version does not install all the files (dependency) that _may_ be required to develop a custom component. Most will say that if you are developing for linuxcnc you will want a RIP build.
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
- Posts: 19462
- Thank you received: 6529
RIP or Run In Place is a different way of running LinuxCNC, especially good for developing as it does not need to get installed any time you make any changes to the code, and can be updated or downgraded with git checkout.
RIP is compiled and run, the DEB versions are installed and run.
And there is always a deb package for any of the existing LinuxCNC deb.
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
- Posts: 10784
- Thank you received: 3551
If you've installed from the Bookworm repos, you can just do the check build dependencies step and just install the dependencies without building. But yes, being able to update to the latest change just by doing a git pull with RIP is much more convenient.
Also, while experimenting with custom components I've found out that the deb (eg normal) version does not install all the files (dependency) that _may_ be required to develop a custom component. Most will say that if you are developing for linuxcnc you will want a RIP build.
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
- Posts: 10784
- Thank you received: 3551
I have been doing this to stay in step with Bookworm
master 2.10 is the pointy end of development. 2.9 has been hived of pending a release of a later version of linuxcnc.
The current release 2.8 is so old as to not be terribly useful today once 2.9 is released, it will kind of drop off the map
Please Log in or Create an account to join the conversation.