Linuxcnc Jammy repository

More
3 years 5 months ago #270406 by Donno
Hi,

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 to join the conversation.

More
3 years 5 months ago #270439 by tommylight
Follow this
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 to join the conversation.

More
3 years 5 months ago #270492 by Donno
Replied by Donno on topic Linuxcnc Jammy repository
Thank you for the help !

I used the following commands

Code:
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 to join the conversation.

More
3 years 5 months ago #270493 by rodw
Replied by rodw on topic Linuxcnc Jammy repository
WHere it says 
Code:
> cd linuxcnc-dev/debian > ./configure uspace > cd ..
Try again with
Code:
[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 to join the conversation.

More
3 years 5 months ago #270495 by Donno
Replied by Donno on topic Linuxcnc Jammy repository
Code:
git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev cd linuxcnc-dev/debian ./configure uspace no-docs cd .. dpkg-buildpackage -b -uc

It compiled successfully and install linuxcnc-uspace_2.10.0~pre0_amd64 using discovery

Attachment not found



What is different between the normal and dev version of linuxcnc ?

Please Log in to join the conversation.

More
3 years 5 months ago #270517 by JPL
Replied by JPL on topic Linuxcnc Jammy repository

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 to join the conversation.

More
3 years 5 months ago #270523 by tommylight
Dev just add some stuff required for development/compiling/debuging of LinuxCNC components.
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 to join the conversation.

More
3 years 5 months ago #270527 by rodw
Replied by rodw on topic Linuxcnc Jammy repository

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.

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. 

Please Log in to join the conversation.

More
3 years 5 months ago #270528 by rodw
Replied by rodw on topic Linuxcnc Jammy repository
forgot to mention the RIP source will give you master branch (2.10). To use 2.9 , before make you just need to type: git checkout 2.9
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 to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum