CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

Arch based distros can no longer install casaOS due to udevil failing to compile. Need to update instructions.

Open adex345 opened this issue 6 months ago • 2 comments
trafficstars

This wiki https://wiki.casaos.io/en/guides/install-on-arch-linux needs some fixes.

  1. First you can then do yay -S udevil to 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/

  1. 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

adex345 avatar May 13 '25 17:05 adex345

Thanks! Worked perfectly

alvitodev avatar Jun 08 '25 19:06 alvitodev

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.

devrim-1283 avatar Jun 17 '25 09:06 devrim-1283

thanks! worked

enesehs avatar Sep 03 '25 22:09 enesehs