- LinuxCNC on Linux Mint 20 quick and nearly easy install
- Candle cnc linux mint
- Установка LinuxCNC на Ubuntu 18.04
- Содержание
- Установка ОС
- Установка LinuxCNC
- Сборка и установка ядра
- Сборка и установка LinuxCNC
- Зависимости, что может понадобиться перед установкой
- (superseeded) Linuxcnc on Linux Mint 19.3 quick and easy installation
- Linux Mint 19 LinuxCNCВ¶
LinuxCNC on Linux Mint 20 quick and nearly easy install
- Posts: 11526
- Thank you received: 3822
Please use the official release found here:
linuxcnc.org/downloads/
Use this tutorial only if you have issues with dirvers, be it WiFi or graphic or else, ..
To install LinuxCNC and the real time kernel on Linux Mint 20 with Mate of XFCE desktop environment ( should also work for Ubuntu 20.4 ) some packages from the official Debian repositories have to be downloaded and installed, as follows:
— Download Linux Mint ISO from here:
Please Log in or Create an account to join the conversation.
- BeagleBrainz
—>
- Offline
- User is blocked
- Posts: 1440
- Thank you received: 568
Jolly good show Old bean, a Tip O’ The Hat to you.
How long did you spend working it out ?
Sorry I’ve been a bit quiet of late, been into another couple of projects.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
- Posts: 1980
- Thank you received: 414
Jolly good show Old bean, a Tip O’ The Hat to you.
How long did you spend working it out ?
Sorry I’ve been a bit quiet of late, been into another couple of projects.
Please Log in or Create an account to join the conversation.
- tommylight
Topic Author —>
- Away
- Moderator
- Posts: 11526
- Thank you received: 3822
How long did you spend working it out ?
Please Log in or Create an account to join the conversation.
- rootboy
—>
- Offline
- Senior Member
- Posts: 76
- Thank you received: 23
Thanks! I had a few hiccups, but it is running on both of my PCs.
I first installed it on my home PC (no mill attached to it) and ran into three problems. I just finished installing it on my friend’s PC and had the first and last problem (the last not really being a problem so much as a requirement).
Installing python-gtk2 failed with a «Dependency is not satisfiable» error. This was fixed by going to pkgs.org/download/python-gtk2 and downloading the «Debian 9 (Stretch)» version. Installing the newer version will not work.
Download the file, let the installer do its thing including installing extra files that it requires to complete the installation.
Don’t forget to run (or re-run) the «sudo gdebi python-glade2. » command.
This could probably be avoided by installing the python-gtk2 package first. But if not, this is how I fixed it.
I also had a «multiarch-support» issue with my Ryzen processor, but not with the Intel i5 on the target PC. I fixed this by installing multiarch-support_2.24-11+deb9. on my Ryzen PC.
And this is not a bug, just a friendly reminder. If your apt-get update fails on LinuxCNC buildbot, go to: buildbot.linuxcnc.org and add the signing key to your apt keychain.
Please Log in or Create an account to join the conversation.
Источник
Candle cnc linux mint
If you would like to test latest (yet already quite old) Candle on Linux machine, you could face the same problems as I did – so few tips how to make it work.
I still think UGS platform is a better choice in many cases – but sometimes Candle may be necessity (I have found problem with UGS and Fusion 360 gcode files)..
Anyway, you may face this kind of compilation errors and configuration problems with latest 1.2b source code:
First problem, in my case, was unknown optimization switch in Makefile (-Z7) – so erase it (three places in Makefile).
Second problem was compilation error because of language changes:
So you have to add “noexcept” to what() declaration
Change this (line 73):
Finally you can find something like this:
This is also something you can erase in Makefile in LFLAGS.
This changes will enable Candle to compile on recent Linux distros with GCC9.
But there is also one more annoying issue – Candle won’t write configuration file, if you place it on some usual path (like /usr/bin or /usr/local/bin) – because it want’s to write it there. And users can’t write to those paths.
So you can add those lines in frmmain.cpp:
Now your configuration file will be written in your home directory, under ”.config/Candle/” path.
And in case you are a bit lazy (like I would like be in this case 😉 ) – here is modified source code with compiled binary (perhaps it will work for you without compilation – if not, use “qmake; make” commands).
Источник
Установка LinuxCNC на Ubuntu 18.04
Содержание
Установка ОС
- Скачиваем Ubuntu 18.04 с http://cdimage.ubuntu.com/cdimage/daily-live/current/HEADER.html
- Устанавливаем на компьютер любым доступным способом
Установка LinuxCNC
Сборка и установка ядра
- Вначале необходимо собрать real-time ядро. Для этого скачиваем ядро и патч:
- https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.13.13.tar.gz ядро
- https://www.kernel.org/pub/linux/kernel/projects/rt/4.13/patch-4.13.13-rt5.patch.gz патч
- Создаем директорию с именем kernel. Для этого открываем терминал сочетанием клавиш ctrl+alt+t и пишем:
- Затем распаковываем архивы в эту директорию, в терминале пишем:
- Переходим в директорию linux-4.13.13, в терминале пишем:
- Меняем конфиг для сборки ядра, для этого в терминале:
- В открывшемся интерфейсе устанавливаем следующие настройки:
Затем нажимаем save и exit.
- Компилируем ядро, для этого в терминале:
Компиляция может занять продолжительное время.
- Компилируем модули ядра, для этого в терминале:
- Устанавливаем ядро, для этого в терминале:
- Обновляем загрузчик grub:
- Перезагружаем компьютер
- Для проверки в терминале написать,имя ядра должно измениться на устанавливаемое:
Сборка и установка LinuxCNC
- Устанавливаем git:
- Клонируем репозиторий
- Переходим в папку с исходниками
- Собираем
Зависимости, что может понадобиться перед установкой
Примерный список пакетов, которые могут понадобиться для сборки ядра или LinuxCNC
В инструкции по ссылке вверху есть больше пакетов, среди которых есть asciidoc — он один тянет на 800+Мб, в общем, некоторые пакеты убраны.
Источник
(superseeded) Linuxcnc on Linux Mint 19.3 quick and easy installation
- Posts: 11526
- Thank you received: 3822
Please use the official release found here:
linuxcnc.org/downloads/
Use this tutorial only if you have issues with dirvers, be it WiFi or graphic or else, ..
EDIT: Updated for Buster repo since Strech is not built any more.
—
This is an easy way to have LinuxCNC running very quickly on Linux Mint 19.3, Mate and XFCE edition work, Cinnamon might not.
Download Mate version from here:
Please Log in or Create an account to join the conversation.
- pl7i92
—>
- Offline
- Platinum Member
- Posts: 1897
- Thank you received: 351
-Install Linux Mint 19.1
is this the standard dektop or only the low level minimum install you requirer
Please Log in or Create an account to join the conversation.
- tommylight
Topic Author —>
- Away
- Moderator
- Posts: 11526
- Thank you received: 3822
Please Log in or Create an account to join the conversation.
- pl7i92
—>
- Offline
- Platinum Member
- Posts: 1897
- Thank you received: 351
Please Log in or Create an account to join the conversation.
- tommylight
Topic Author —>
- Away
- Moderator
- Posts: 11526
- Thank you received: 3822
Please Log in or Create an account to join the conversation.
- pmconsulting
- Offline
- Senior Member
- Posts: 70
- Thank you received: 4
This is really terrific! After days of bumbling with hopelessly complicated approaches & endless dead ends, I was able to install the kernel, linuxcnc, reboot & go.
One really dumb question, though: Where doe it install the linuxcnc configurations? I’ve backed up all of my old configurations from a prior, Debian system and want to restore them to the linuxcnc directory structure, but can’t find it in my own home directory.
Where does this approach put the linuxcnc configurations?
Answered my own, dumb question: I launched Pncconf & made a config. It created the linuxcnc directory & substructure in my home directory. Bingo!
Again, after all I’ve struggled with & tried over & over again, this is an amazingly simple approach that worked in a few clicks.
Please Log in or Create an account to join the conversation.
Источник
Linux Mint 19 LinuxCNCВ¶
Open a terminal from Menu > System Tools > Terminal
First lets make sure we have the Preempt RT kernel loaded
Should report back the following with PREEMPT RT being the important part.
Now we will clone LinuxCNC
Do not close this Terminal we will use it again.
Pick the branch you want to build 2.7, 2.8, or for Master (2.9pre) skip this step.
Enable Source Code Repositories
Menu > Administration > Synaptic Package Manager
Settings > Repositories > Enable Source Code Repositories
After enabling the Source Code Repositories just close that window without updating and close the Synaptic Package Manager.
In the same Terminal we will update the cache and make sure Linux Mint is up to date.
In the same Terminal we will install the dependencies
In the same Terminal we will build configure and check for missing dependencies.
If your missing any dependencies install them as above.
In the same Terminal we will build the debs (deb is a compressed file that contains a program that can be installed)
Open the file manager from Menu > System Tools > File Manager and in your home directory right click on linuxcnc-uspace_2.8.0
pre1_amd64.deb and select Open with GDebi Package Installer then click Install Package . It will install a few more dependencies.
For the documents install linuxcnc-doc-en_2.8.0
pre1_all.deb in the same manner.
Go to Menu > Preferences > Main Menu click on CNC on the left side then uncheck each item on the right then recheck them or they don’t show up for some reason. You can delete the Vietnamese menu item. Close the Main Menu and now LinuxCNC can be ran from Menu > CNC > LinuxCNC
Open a new terminal and issue the following to stop LinuxCNC from being a PIA about quitting.
If you’re using a Mesa Ethernet card go to the Linux Mint 19 Ethernet page and set up the NIC
Источник