Debian 11¶
LinuxCNC¶
Open a terminal (Ctrl Alt t) and install libraries needed to build a deb
sudo apt install build-essential devscripts gdebi
Open a terminal (Ctrl Alt t) and clone LinuxCNC
git clone https://github.com/LinuxCNC/linuxcnc.git build
Download the po4a deb and install it with Gdebi.
Open a terminal and change to the emc directory
cd build
debian/configure
sudo apt install debhelper dh-python libudev-dev autoconf automake bwidget
sudo apt install intltool libboost-python-dev libepoxy-dev libgl1-mesa-dev
sudo apt install libglu1-mesa-dev libgtk2.0-dev libgtk-3-dev libmodbus-dev
sudo apt install libeditreadline-dev libxmu-dev netcat po4a python3-dev
sudo apt install python3-tk python3-xlib tcl8.6-dev tclx tk8.6-dev yapps2
sudo apt install asciidoc dblatex docbook-xsl dvipng groff imagemagick inkscape
sudo apt install python3-lxml source-highlight w3c-linkchecker xsltproc
sudo apt install texlive-extra-utils texlive-font-utils texlive-fonts-recommended
sudo apt install texlive-lang-cyrillic texlive-lang-french texlive-lang-german
sudo apt install texlive-lang-polish texlive-lang-spanish
sudo apt install texlive-latex-recommended asciidoc-dblatex texlive-xetex
sudo apt update
dpkg-checkbuilddeps
debuild -uc -us
Left click on linuxcnc-uspace_2.9.0~pre0_amd64.deb and open with Gdebi and install.
Left click on linuxcnc-uspace_dev_2.9.0~pre0_amd64.deb and open with Gdebi and install.
Left click on linuxcnc-doc_en_2.9.0~pre0_amd64.deb and open with Gdebi and install.
Mesaflash¶
Open a terminal (Ctrl Alt t) and clone Mesaflash
git clone https://github.com/LinuxCNC/mesaflash.git
Install required libraries
sudo apt install libpci-dev libmd-dev pkg-config
Change to the mesaflash directory and build and install
cd mesaflash
sudo make install