Installing LinuxCNC 2.8 on Debian 11

More
4 years 9 months ago - 4 years 9 months ago #232695 by RJ11
Replied by RJ11 on topic Installing LinuxCNC 2.8 on Debian 11
Just to be clear - these are instructions on how to install 2.9, NOT 2.8 as it says in the title
Last edit: 4 years 9 months ago by RJ11.

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

More
4 years 9 months ago #232946 by BigJohnT
Replied by BigJohnT on topic Installing LinuxCNC 2.8 on Debian 11
The original question was how to install 2.8 on Debian 11...

JT

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

More
4 years 7 months ago #236199 by taticelo
Replied by taticelo on topic Installing LinuxCNC 2.8 on Debian 11
I'm sorry, it wasn't intentional, can you help me?

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

More
4 years 7 months ago - 4 years 7 months ago #236229 by RJ11
Replied by RJ11 on topic Installing LinuxCNC 2.8 on Debian 11
Hahhaha, I felt the same way I first took a look at this LinuxCNC stuff.  Everybody is like screw you RTFM. That's why you won't get any actual answers.  Here's the juicy secret that nobody tells you:

1) you CAN'T install linuxcnc 2.8 on Debian 11. Dependencies are broken.

2) You CAN install linuxcnc 2.9 on Debian 11. Unfortunately, v2.9 is bleeding edge and so the only way to install it is to compile it from source code. If you are not used to compiling software from source, it's gonna be EXTREMELY PAINFUL

So, to answer your question, <sarcasm> NO THERE IS NO STEP BY STEP FOR THIS, RTFM!!! Go play in with your toys in the sandbox and just download the ISO image for 2.8 and Debian 10 and install it like this:</sarcasm>


P.S., if you want a sure-fire way to get an actual answer to any forum anywhere, just post something that sounds like you totally know what you are doing but could be completely wrong.  If it's wrong, it will be in the very next post.  If it's right, you'll hear crickets.  Let's see what the next post is in response to number 1) above.....
 
Last edit: 4 years 7 months ago by RJ11.

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

More
4 years 7 months ago #236266 by robertspark
Replied by robertspark on topic Installing LinuxCNC 2.8 on Debian 11
1) you CAN'T install linuxcnc 2.8 on Debian 11. Dependencies are broken.
how do you get that idea?

I must admit I forgot that the question was how to install linux2.8 on Debian 11 (Bullseye).

In short.... you can't. Its not because the dependancies are broken but Debian has moved on from Python2 >> Python 3 so I don't believe that you can install Python2 on debian 11 (bullseye).
wiki.debian.org/Python


Just install 2.8.2 from the ISO if you are new to linuxcnc and it WILL work just fine. If you want to be one the bleeding edge of linuxcnc then yet you will need to compile linuxcnc.... not it's not difficult or complicated.
Here is how to do it.... but yes you do need to RTFM.... or else you won't actually learn how linuxcnc actually works and what it needs to make it work.
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html

first open up a terminal

and install git and dpkg-dev
Code:
sudo apt install -y git dpkg-dev

then download linuxcnc from git:
Code:
git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev

then find out the missing dependancies:
Code:
cd ~/dev/linuxcnc-dev/debian

then run:
Code:
./configure uspace

then change to the linuxcnc-dev directory:
Code:
cd ..

then run the following to find all missing build dependancies and install them:
Code:
dpkg-checkbuilddeps

Once you have installed all the missing dependencies then re-run
Code:
dpkg-checkbuilddeps
in order to check that there are no more missing dependancies. If anything is missing, install it or linuxcnc won't build.

then I would recommend building the debs to install....
linuxcnc.org/docs/devel/html/code/buildi...ding_debian_packages
then run each of the following lines.
Code:
cd linuxcnc-dev/debian ./configure no-docs uspace cd .. dpkg-buildpackage -j4 -b -uc

once the build is complete then:
Code:
cd ls sudo dpkg -i linuxcnc_____.deb

there are many links on the forum as to how to install linuxcnc so really you do need to RTFM

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

More
4 years 7 months ago #236290 by rodw
Replied by rodw on topic Installing LinuxCNC 2.8 on Debian 11
I have never thought of V 2.9 as bleeding edge. I have used master branch since my very first build becasue it had features I needed.

A shortcut to the installation Robert provided is to use Joco's script to install and build linuxcnc on a bullseye PC
github.com/joco-nz/lcnc-bullseye-installer

The other possibly even quicker way might be to install the brand new deb file on the debian repositories
packages.debian.org/sid/linuxcnc-uspace
Not sure if it will work with bullseye
In a few days it will be in  the yet to be released Debian 12 Bookworm (also known as testing). From that point on I won't be bothering with Bullseye/Debian 11 and will go straight to Bookworm

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

Time to create page: 0.996 seconds
Powered by Kunena Forum