Installing Cahute on Linux distributions¶
In order to install Cahute’s library and command-line utilities on your Linux distribution, the following methods are available.
Installing Cahute on Archlinux and derivatives, using the AUR¶
Cahute and its command-line utilities are present on the Archlinux User Repository, you can pop up your favourite pacman frontend and install the cahute package:
Once installed, it is recommended to add your user to the uucp
group,
for access to serial and USB devices, by running the following command
as root then restarting your session:
usermod -a -G uucp <your-username>
Installing Cahute on any Linux distribution, using GiteaPC¶
Cahute and its command-line utilities are installable through GiteaPC, by running the following command:
giteapc install cake/cahute@0.6
Note
By default, the logging level is set to warning
, and the command-line
utilities are stripped.
If you wish to set the default logging level to info
and keep the
debug symbols, you can set the debug
configuration by using the
following command instead of the previous one:
giteapc install cake/cahute@0.6:debug
Warning
If you are using GiteaPC on Linux, it is likely that your system is using udev. If this is the case, you must move the udev rule from the user install directory to the system directory, by running the following command:
sudo mv ~/.local/lib/udev/rules.d/*.rules /etc/udev/rules.d/
From there, you must reload the rules to make sure they apply by running the following command:
sudo udevadm control --reload-rules
If your user isn’t already in the uucp
group, you must also make that
the case by running the following command:
sudo usermod -a -G uucp <your_username>
Then restart the login session or host to ensure that the new group applies to your new session.
Installing Cahute on other distributions¶
Note
This guide may not be exhaustive, and a package may exist for your distribution. Please check with your distribution’s package registry and/or wiki before proceeding!
If no package exists for your distribution, or you are to package Cahute for your distribution, you can build the project yourself.
See Building Cahute for Linux distributions for more information.