help needed installing linuxcnc as a simulator on my debian buster laptop

More
26 May 2021 00:32 - 26 May 2021 03:18 #210290 by ericg
Hi all,
I must be getting old as I am struggling to install linuxcnc to use as a simulator on my debian buster laptop so I can sit and play with commands, pyvcp, halui etc in the comfort of my warm house instead of standing at my cnc machine in my cold shed.

I get the message The repository 'linuxcnc.org buster InRelease' is not signed.
Updating from such a repository can't be done securely, and is therefore disabled by default.' when I add it to sources.list

I get the message "no installation candidate" if I try to install from the debian repos

so, can someone explain to a 74year old geriatric the steps required to install a simulator on my laptop
TIA
eric

Edit: another question on this topic, if I installed debian buster preempt-rt over the top of my existing installation, what effect does it have? will it break my current O/S or just patch it to run linuxcnc in simulation, I need reassurance this will not break my system.
eric
Last edit: 26 May 2021 03:18 by ericg. Reason: more info requested

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

More
26 May 2021 18:21 #210373 by BigJohnT
It should be fairly simple to install just a sim but I'm not finding any recent info on it.

I install Debian (10 now) and use the LinuxCNC install method here . Installing the rt preempt kernel will not change anything else.

JT

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

More
26 May 2021 19:44 #210388 by andypugh

It should be fairly simple to install just a sim


You just install a "uspace" version of LinuxCNC on a standard Linux kernel and it runs with "POSIX non-realtime". There is no need for a dedicated sim build any more.

Did you add the archive signing key?

linuxcnc.org/docs/2.8/html/getting-start...th_preempt_rt_kernel

Section 7.1 step 7.

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

More
26 May 2021 22:52 #210399 by tommylight
Installing Real Time kernels on laptop is not advisable as it will cause the laptop to use more power and heat more.

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

More
26 May 2021 23:00 #210400 by andypugh

Installing Real Time kernels on laptop is not advisable as it will cause the laptop to use more power and heat more.


It can work, but is not what I was suggesting. I was saying to install LinuxCNC according to the instructions on top of a stock Debian. It will work perfectly happily. (it will, actually, even drive hardware, albeit rather badly)

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

More
26 May 2021 23:11 #210401 by tommylight

Installing Real Time kernels on laptop is not advisable as it will cause the laptop to use more power and heat more.


It can work, but is not what I was suggesting. I was saying to install LinuxCNC according to the instructions on top of a stock Debian. It will work perfectly happily. (it will, actually, even drive hardware, albeit rather badly)

I am sure it works, i have it on 4 or 5 laptops , at least, that is why i mentioned it so it does not shock the OP when his battery runs flat in half an hour ! :)
To install LinuxCNC sim on Linux Mint 19.3 is very easy:
sudo apt update
-

sudo apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-key EF1B07FEE0EE663E
-

-For 2.8 version, stable, current release
sudo apt-add-repository 'deb http://buildbot.linuxcnc.org/ stretch 2.8-rtpreempt'
-
sudo apt-get update
-
sudo apt-get -y install linuxcnc-uspace

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

More
26 May 2021 23:29 #210403 by ericg
Thanks for the replies everyone,
I had already tried the steps outlined in tommylight's last post but I ended up getting a pile of broken packages messages - here is a part of what I got -
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linuxcnc-uspace : Depends: libboost-python1.55.0 but it is not installable
Depends: python-gtksourceview2 but it is not installable
Depends: python-gst0.10 but it is not installable
Depends: gstreamer0.10-plugins-base but it is not installable
Recommends: linuxcnc-doc-en but it is not going to be installed
etc...
won't worry about it for now
Eric

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

More
26 May 2021 23:33 #210405 by andypugh

I am sure it works, i have it on 4 or 5 laptops , at least, that is why i mentioned it so it does not shock the OP when his battery runs flat in half an hour ! :)


I was trying to suggest installing LinuxCNC but _not_ installing the realtime kernel.

ie, _start_ at step 7 in the process, skipping the kernel install.

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

More
27 May 2021 00:01 #210407 by tommylight
@Andy,
I did get that, i just added to it.
Maybe i should have mentioned that in the post .... would have saved some typing ! :)

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

More
09 Jun 2021 05:54 #211591 by RDA
Hello,

So I tried to do something similar. I just want to run the UI test some things etc but I am unable to get "axis" to run. I have Debian buster in virtual box, just did some default configs with pnnconf. When I try to load I get this:
LINUXCNC - 2.9.0-pre0-4014-g28f3d59f0
Machine configuration directory is '/home/lcnc/linuxcnc/configs/LCNC'
Machine configuration file is 'LCNC.ini'
Starting LinuxCNC...
Found file(REL): ./LCNC.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_4i43: dlopen: /usr/lib/linuxcnc/modules/hm2_4i43.so: cannot open shared object file: No such file or directory
./LCNC.hal:9: waitpid failed /usr/bin/rtapi_app hm2_4i43
./LCNC.hal:9: /usr/bin/rtapi_app exited without becoming ready
./LCNC.hal:9: insmod for hm2_4i43 failed, returned -1
Shutting down and cleaning up LinuxCNC...
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/lcnc/linuxcnc_debug.txt
and
    /home/lcnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
uname -r
4.19.0-16-rt-amd64

What would be the easiest to just get "axis" running?

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

Time to create page: 0.110 seconds
Powered by Kunena Forum