CasaOS
CasaOS copied to clipboard
Arch based distros can no longer install casaOS due to udevil failing to compile. Need to update instructions.
This wiki https://wiki.casaos.io/en/guides/install-on-arch-linux needs some fixes.
- First you can then do
yay -S udevilto make sure you have everything you need.
2. Next you need to install fixed udevil version as one in aur and github are not compiling due to small bug. I made a pull request to what seems to be maintained version of it. You can install it by using cd ~; git clone https://github.com/adex345/udevil.git; cd udevil/; ./install; and remove folder by using cd..; rm -fr udevil/
- Then it is as in website.
Download the install script and just comment out two lines in the last of the script:
Step 5: Install Depends Update_Package_Resource Install_Depends
Enable docker:
sudo systemctl enable --now docker
Run install Script:
sudo bash install.sh
Thanks! Worked perfectly
CasaOS Installation – Fixing Missing udevil on Arch Linux
The udevil package is required for installing CasaOS, but it's not available in the official Arch Linux repositories. Additionally, trying to install it via an AUR helper like yay results in errors.
To resolve this, I manually cloned the package from the AUR:
git clone https://aur.archlinux.org/udevil.git
However, during compilation, I encountered build errors. To fix them, I edited the following file:
udevil/src/udevil-0.4.4/src/udevil.c
I located these two functions:
void command_monitor_finalize() { ... }
void command_interrupt() { ... }
And modified them to include an integer parameter:
void command_monitor_finalize(int sig) { ... }
void command_interrupt(int sig) { ... }
After saving the changes, I compiled the package with:
make
Then installed it with:
sudo make install
This resolved the issue, and I was able to proceed with the CasaOS installation successfully.
thanks! worked