Linuxcnc Jammy repository

  • Donno
  • Donno's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
01 May 2023 12:42 #270406 by Donno
Linuxcnc Jammy repository was created 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 or Create an account to join the conversation.

More
02 May 2023 00:29 #270439 by tommylight
Replied by tommylight on topic Linuxcnc Jammy repository
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.
The following user(s) said Thank You: Donno

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

  • Donno
  • Donno's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
02 May 2023 16:45 - 02 May 2023 16:50 #270492 by Donno
Replied by Donno on topic Linuxcnc Jammy repository
Thank you for the help !

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 ?
Last edit: 02 May 2023 16:50 by Donno. Reason: Typo

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
02 May 2023 16:51 #270493 by rodw
Replied by rodw on topic Linuxcnc Jammy repository
WHere it says 
> cd linuxcnc-dev/debian
> ./configure uspace
> cd ..
Try again with
[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
The following user(s) said Thank You: Donno

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

  • Donno
  • Donno's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
02 May 2023 17:44 - 02 May 2023 17:44 #270495 by Donno
Replied by Donno on topic Linuxcnc Jammy repository
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



What is different between the normal and dev version of linuxcnc ?
Attachments:
Last edit: 02 May 2023 17:44 by Donno.

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

More
02 May 2023 22:48 - 02 May 2023 22:52 #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.
Last edit: 02 May 2023 22:52 by JPL.

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

More
02 May 2023 23:25 #270523 by tommylight
Replied by tommylight on topic Linuxcnc Jammy repository
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 or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
02 May 2023 23:52 #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. 
The following user(s) said Thank You: JPL

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
02 May 2023 23:57 #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 or Create an account to join the conversation.

Time to create page: 0.155 seconds
Powered by Kunena Forum