Intsalling SIM LinuxCNC on Ubuntu 23.04

More
22 Apr 2023 17:22 - 16 May 2023 22:35 #269618 by tommylight
Download the Ubuntu 23.04 ISO
ubuntu.com/download
-Write to USB using Balena Etcher or Win32DiskImager, balena works on Linux also.
-Boot and install as usual, reboot when done.
-After reboot, open a terminal and type
sudo apt update
sudo apt upgrade
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
-
-This does not install the RT kernel, will add that later as Ubuntu uses some other type of real time that does not work for us
-
For the adventurous, RodW suggested using XanMod kernel, if you want to actually run machines with it:
forum.linuxcnc.org/9-installing-linuxcnc...otes?start=10#270585
If you do use it, please report back the results.
Thank you.
-
Enjoy.
Last edit: 16 May 2023 22:35 by tommylight. Reason: more info

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

More
22 Apr 2023 22:09 #269645 by RK
I'm getting an "unable to locate package" message when I try to install linuxcnc.

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

More
22 Apr 2023 22:28 #269647 by rodw

I'm getting an "unable to locate package" message when I try to install linuxcnc.

When I looked at this it was only in their development version. Is it Kinetic?
Ubuntu is Debian sid based so I would be surprised if preempt_rt was not available in their repos somewhere. look for linux-image-rt or steal it from Debian.

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

More
22 Apr 2023 23:27 #269650 by tommylight

I'm getting an "unable to locate package" message when I try to install linuxcnc.

Did you do
sudo apt update
and
sudo apt upgrade
?
If you did and are still getting the error, you have the wrong version, you have 22.04, not the 23.04 version of Ubuntu.

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

More
22 Apr 2023 23:30 #269651 by tommylight
@Rod,
They are not there, 23.04 comes with some type of Preempt-somethingoranother, forgot, not near the tablet where it is installed, so it does not have any RT in the repo.
I intentionally did not add the RT kernel before i do some testing, 6.2 works ok so far.
Will add more as soon as get a chance.

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

More
22 Apr 2023 23:56 #269653 by rodw
Yeh, thats right, they are trying to restrict it to their paid versions
You could try my pre compiled kernel  6.3 debs here
drive.google.com/drive/folders/1f3Gk1qDE...7IJ3Ws98?usp=sharing
They are compiled from kernel.org source so they will install ok with sudo dpkg -i
It improved latency by 265% over the  6.1 kernel in Bookworm and has been tested by a few now with similar results.
The following user(s) said Thank You: joekline9, tommylight

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

More
23 Apr 2023 00:45 #269663 by tommylight
That was the second on my list.
I do have it installed on another PC with Mint 21.1, works perfectly.
Also had it on this Acer Switch 5 tablet, worked perfectly, it even worked perfectly on a new-ish Lenovo P14 G3 with Ryzen 5 5500U processor and GPU with RealTek network. On the tablet i use it with a USB 1.1 to Eth adapter and a new USB Type C to Gig eth with RealTek network.

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

More
23 Apr 2023 13:50 #269685 by ytiuqibu
Is this all assuming MESA hardware?

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

More
23 Apr 2023 14:54 #269690 by tommylight

Is this all assuming MESA hardware?

Not exclusively, although the chat above is for Mesa hardware, i still use some PC's with parallel port, but mostly Mint 19.3 with 4.9 kernel on those.
This topic is mainly due to very simple installation, a single line.
For simulation that is it, for machine control it does also require the RT kernel, so another line.
-
As a side note, this installs a February build of LinuxCNC 2.9.
-
Just to be clear, this with the RT kernel, or RTAI if and when awailable, does work for parallel, Mesa, should also work for PICO Systems and everything normaly supported by LinuxCNC
The following user(s) said Thank You: joekline9

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

More
03 Jan 2024 15:27 - 03 Jan 2024 19:05 #289667 by warwickben
Any way to install on 22.04? I just want to be able to check out screens I changed in qt design. With out changing my dual boot setup on my laptop since I use 22.04 already. I tried to use 23 but had errors on the install etc . (Dual boot with windows) 
Last edit: 03 Jan 2024 19:05 by warwickben. Reason: Fixed some info.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum