Success: Install LinuxCNC-sim on debian butster?
05 Apr 2020 19:19 #162789
by mane
Install LinuxCNC-sim on debian butster? was created by mane
I installed a debian10.3 (buster) a few days ago. The installation is mainly for CAD purpose. It would be convenient to have also linuxcnc-sim installed. I don t need RT kernel and it would be sufficient to test and play a bit.
Is there a easy way to install it? Tried to find a linuxcnc-sim deb package, i was not successful.
Many thanks
Manfred
manfred@desktop-buero:~$ uname -a
Linux desktop-buero 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
manfred@desktop-buero:~$ cat /etc/debian_version
10.3
Many thanks
Manfred
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19204
- Thank you received: 6437
05 Apr 2020 22:54 #162815
by tommylight
Replied by tommylight on topic Install LinuxCNC-sim on debian butster?
Try linuxcnc-userspace, that should work, at least it did on Mint.
Please Log in or Create an account to join the conversation.
06 Apr 2020 11:49 #162889
by mane
Replied by mane on topic Install LinuxCNC-sim on debian butster?
Puh, i tried to install 2.7 stable for pecisce platform, same as on my rt linuxcnc installation.
Downloaded on LinuxCNC buildbot page as deb package.
But there are so many missing packages and some of these are no longer supported at debian. It seems there is no easy way for the moment to have linuxcnc-sim on my debian buster installation.
Would it be possible to compile it on my system? But this is something i did never before.
Downloaded on LinuxCNC buildbot page as deb package.
But there are so many missing packages and some of these are no longer supported at debian. It seems there is no easy way for the moment to have linuxcnc-sim on my debian buster installation.
Would it be possible to compile it on my system? But this is something i did never before.
Please Log in or Create an account to join the conversation.
06 Apr 2020 12:00 #162892
by rodw
Replied by rodw on topic Install LinuxCNC-sim on debian butster?
I would take the time to learn how to build from source. But I would use master branch (V 2.9)
Start here:
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
Start here:
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
06 Apr 2020 12:29 #162896
by BeagleBrainz
Replied by BeagleBrainz on topic Install LinuxCNC-sim on debian butster?
forum.linuxcnc.org/gmoccapy/36942-debian-10-dependencies
May help in installing on Buster, I went through the process no issues
May help in installing on Buster, I went through the process no issues
Please Log in or Create an account to join the conversation.
06 Apr 2020 12:32 #162897
by mane
Replied by mane on topic Install LinuxCNC-sim on debian butster?
Thanks for the link.
In want to have the same linuxcnc version as on my milling machine. This is the only reason to install 2.7.
In want to have the same linuxcnc version as on my milling machine. This is the only reason to install 2.7.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19204
- Thank you received: 6437
06 Apr 2020 12:33 - 06 Apr 2020 12:35 #162899
by tommylight
Replied by tommylight on topic Install LinuxCNC-sim on debian butster?
Use the Stretch 2.8 version or 2.9, that works in almost any distro.
Be sure to enable partner and source repositories before trying to install.
Be sure to enable partner and source repositories before trying to install.
Last edit: 06 Apr 2020 12:35 by tommylight. Reason: more info
Please Log in or Create an account to join the conversation.
06 Apr 2020 21:02 #162963
by rodw
Replied by rodw on topic Install LinuxCNC-sim on debian butster?
One of the beauties of compiling from source is you can use whatever branch you want
git checkout 2.7
will select the branch you need
But you are probably still going to get caught resolving dependencies.
git checkout 2.7
will select the branch you need
But you are probably still going to get caught resolving dependencies.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
07 Apr 2020 01:13 #162992
by BeagleBrainz
Replied by BeagleBrainz on topic Install LinuxCNC-sim on debian butster?
Here's how I got around the deps, just an overview.
As a temp measure added on the stretch repos for the src repos.
used apt-get to update.
used apt get to get the source for python-gtksourvceview2 (do not do this as superuser as the build will fail)
used apt get again to get the build deps for the package.
used debuild to build the packages
installed said built packages.
Did the same for the other required packages. Now everything is built against the Buster libs.
Marked the manually installed packages as hold, ie not to be updated.
Then installed from buildbot.
I haven't tried a build from source but I'm sure that this method will work. When building the required debs as mentioned above the matching dev packages are built as well.
If anyone wants detailed instructions speak up and I can install on a clean VM and properly document it.
As a temp measure added on the stretch repos for the src repos.
used apt-get to update.
used apt get to get the source for python-gtksourvceview2 (do not do this as superuser as the build will fail)
used apt get again to get the build deps for the package.
used debuild to build the packages
installed said built packages.
Did the same for the other required packages. Now everything is built against the Buster libs.
Marked the manually installed packages as hold, ie not to be updated.
Then installed from buildbot.
I haven't tried a build from source but I'm sure that this method will work. When building the required debs as mentioned above the matching dev packages are built as well.
If anyone wants detailed instructions speak up and I can install on a clean VM and properly document it.
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
07 Apr 2020 18:48 #163085
by mane
Replied by mane on topic Install LinuxCNC-sim on debian butster?
Today i compiled some linuxcnc software deb packages. I followed the discription of this site which helped me a lot.
www.myheap.com/cnc-stuff/linuxcnc-emc2.html
Now i have these files created:
There are also some *.build, *.buildinfo, *.changes files.
Then i tried to install with
I have some linuxcnc starters in my menu structure, but linuxcnc does not start. By starting it in a shell i get
linuxcnc wants a realtime system, but i don t have one installed ( i only want a linuxcnc-sim to install).
I left out the section "Compiling LinuxCNC for the RIP Environment" because i wanted to build a deb package.
Therefore i did not the ./configure part.
www.myheap.com/cnc-stuff/linuxcnc-emc2.html
Now i have these files created:
linuxcnc-doc-en_2.7.15_all.deb
linuxcnc-doc-es_2.7.15_all.deb
linuxcnc-doc-fr_2.7.15_all.deb
linuxcnc-uspace_2.7.15_amd64.deb
linuxcnc-uspace-dbgsym_2.7.15_amd64.deb
linuxcnc-uspace-dev_2.7.15_amd64.deb
Then i tried to install with
sudo dpkg -i linuxcnc-uspace_2.7.15_amd64.deb
I have some linuxcnc starters in my menu structure, but linuxcnc does not start. By starting it in a shell i get
manfred@desktop-buero:~$ linuxcnc
LINUXCNC - 2.7.15
Machine configuration directory is '/home/manfred/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
/usr/bin/linuxcnc: Zeile 711: /etc/init.d/realtime: Datei oder Verzeichnis nicht gefunden
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
/usr/bin/linuxcnc: Zeile 606: /etc/init.d/realtime: Datei oder Verzeichnis nicht gefunden
LinuxCNC terminated with an error. You can find more information in the log:
/home/manfred/linuxcnc_debug.txt
and
/home/manfred/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
linuxcnc wants a realtime system, but i don t have one installed ( i only want a linuxcnc-sim to install).
I left out the section "Compiling LinuxCNC for the RIP Environment" because i wanted to build a deb package.
Therefore i did not the ./configure part.
./configure --with-realtime=uspace --enable-build-documentation
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds