loadrt: command not found (linuxcnc-2.8.2-buster)

More
18 Sep 2022 18:04 #252278 by DePrutser
Hi all,
I'm trying to install LiteX-CNC on LinuxCNC from here: github.com/Peter-van-Tol/LiteX-CNC
Here are the commands I've issued:
1) Install linuxCNC from this ISO: www.linuxcnc.org/iso/linuxcnc-2.8.2-buster.iso
2) Install packages:
# apt-get update
# apt-get install libjson-c-dev
# apt-get install git
# apt-get install build-essential
3) Get the source
$ git clone github.com/Peter-van-Tol/LiteX-CNC.git
4) replace halcompile
# whereis halcompile
halcompile: /usr/bin/halcompile /usr/share/man/man1/halcompile.1.gz
# cd /home/cedric/LiteX-CNC
# cp halcompile.py /usr/bin/halcompile
5) build LiteX-CNC
# cd /home/cedric/LiteX-CNC/driver/
# halcompile --install litexcnc.c litexcnc_eth.c litexcnc_debug.c
6) load the driver
# loadrt litexcnc
-bash: loadrt: command not found

I've tried to install linuxcnc-dev, but that does not work:
# apt-get install linuxcnc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linuxcnc-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linuxcnc-dev' has no installation candidate

What have i missed?
Cheers,
Cedric

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

More
18 Sep 2022 19:08 #252286 by PCW
loadrt is a hal command not a linux command so:

halcmd -kf
halcmd: loadrt litexcnc

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

Time to create page: 0.130 seconds
Powered by Kunena Forum