Releases: grotius-cnc/debian_distro_live_build_post_tweaking
Distro-Dark-Theme
This dep package contains a few files and distro settings.
Dark-theme files /usr/share/themes/
Grey background /usr/backgrounds/
Desktop, panel, power manager configuration /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
Startup with dark-theme, add starter to /etc/xdg/autostart/change-theme.desktop
change-theme.desktop activates script : /usr/local/bin/theme-starter
Login screen background picture /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
This is also a template how to build .deb packages. See DEBIAN/control file for build command.
librecad-deb-package
Install : sudo dpkg -i librecad.deb
Remove : sudo apt-get remove librecad.deb && sudo rm -rf /opt/librecad
This will install librecad into the /opt/librecad/ folder.
freecad-deb-package
Install : sudo dpkg -i freecad.deb
Remove : sudo apt-get remove freecad.deb && sudo rm -rf /opt/freecad
Installs freecad in /opt/freecad/ directory and creates system menu launcher.
linuxcnc-ethercat-deb-package
Attached linuxcnc-ethercat.deb archive is designed to be used with linuxcnc installed in the opt folder.
Linuxcnc-ethercat is just like an addon for linuxcnc and therefore installed into the folder /opt/linuxcnc/addons/linuxcnc-ethercat
To install : sudo dpkg -i linuxcnc-ethercat.deb
To remove : apt-get remove linuxcnc-ethercat.deb && sudo rm -rf /opt/linuxcnc/addons/linuxcnc-ethercat
This archive depends on linuxcnc to be installed first.
To check if your lcec.so is functional and linked correctly to liblinuxcnchal & libethercat, perform a ldd like :
user@debian:/opt/linuxcnc/rtlib$ ldd lcec.so
linux-vdso.so.1 (0x00007ffd105c1000)
liblinuxcnchal.so.0 => /opt/linuxcnc/lib/liblinuxcnchal.so.0 (0x00007fa9251db000)
libethercat.so.1 => /usr/local/lib/libethercat.so.1 (0x00007fa9251b2000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa924fed000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa924fcb000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa92520e000)
qt-creator-deb-package
install : sudo dpkg -i qt-creator.deb
remove : sudo apt-get remove qt-creator.deb && sudo rm -rf /opt/qt-creator
build package, in toplevel dir : sudo dpkg-deb --build qt-creator
linuxcnc-deb-package
This is a linuxcnc deb package that will install Linuxcnc in the /opt/ directory of the filesystem.
This package is specially designed for kernels amd64 > 5.0.0
It is a git download including latest code, so no checkout is done. For info : git checkout 2.8, did not compile.
It creates a desktop launcher into the system menu.
To install : sudo dpkg -i linuxcnc.deb
To remove : sudo apt-get remove linuxcnc.deb && rm -rf /opt/linuxcnc
It is compatible and tested with :
Linux debian 5.10.0-4-rt-amd64 #1 SMP PREEMPT_RT Debian 5.10.19-1 (2021-03-02) x86_64 GNU/Linux
There is a interesting postinst code wich helps the command "sudo set setuid" setting the correct permissions in the /opt/ folder.
Somehow "sudo set setuid" fails to set correct permissions when the installation is done outside the /home directory.
For debian bullseye i used :
echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian buster main contrib non-free" >> /etc/apt/sources.list
echo "deb http://security.debian.org/debian-security buster/updates main contrib" >> /etc/apt/sources.list
echo "deb-src http://security.debian.org/debian-security buster/updates main contrib" >> /etc/apt/sources.list
sudo echo "deb http://ftp.de.debian.org/debian bullseye main contrib non-free" >> /etc/apt/sources.list
sudo echo "deb-src http://ftp.de.debian.org/debian bullseye main contrib non-free" >> /etc/apt/sources.list
sudo echo "deb http://security.debian.org/debian-security/ bullseye-security main" >> /etc/apt/sources.list
sudo echo "deb-src http://security.debian.org/debian-security/ bullseye-security main" >> /etc/apt/sources.list
apt-get update
apt-get install debhelper libudev-dev tcl8.6-dev tk8.6-dev libtk-img bwidget tclx
apt-get install asciidoc dblatex docbook-xsl dvipng ghostscript graphviz groff imagemagick inkscape python-lxml
apt-get install source-highlight w3c-linkchecker xsltproc texlive-extra-utils texlive-font-utils texlive-fonts-recommended
apt-get install texlive-lang-cyrillic texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish
apt-get install texlive-latex-recommended python-tk libxmu-dev libglu1-mesa-dev libgl1-mesa-dev
apt-get install libgtk2.0-dev gettext intltool libboost-python-dev netcat libmodbus-dev yapps2
apt-get install libreadline-gplv2-dev python2-dev python-gtk2
apt-get install python-gtk2 python-is-python2 python-dev-is-python2
apt-get install python3-tk wget
ethercat-master-deb-package
This is a ethercat-master 1.5 .dep package
It is compatible with newer linux kernels.
Linux debian 5.10.0-4-rt-amd64 #1 SMP PREEMPT_RT Debian 5.10.19-1 (2021-03-02) x86_64 GNU/Linux
To be informed, this is not a linuxcnc ethercat version, as therefore ec-debianize is required.
This package can be used to write stand-alone software with HAL (hardware abstract layer) & QT_C++
To install this : sudo dpkg -i ethercat-master.deb
The attached zip package is including the source code to build the actual .deb package.
To start ethercat , $ sudo /etc/init.d/ethercat start