Running eDRUMin on Arch Linux

Post Reply
Sharkuel
Posts: 5
Joined: Tue Jul 02, 2024 8:02 pm

Running eDRUMin on Arch Linux

Post by Sharkuel »

Hello people!

So, as you are aware, the eDRUMin installer seeks out for the packages mentioned in the installation script (libxcb-cursor-dev and libusb-dev) that are Debian-based package names. This limits considerably its usage on Linux as a whole, as it is exclusive to Debian-based distros like Ubuntu. But not everyone uses Ubuntu, and actually there a lot of content creators/musicians and producers on Linux, from Fedora to OpenSUSE, to Arch Linux,

On Arch, the packages referenced on the install.sh script have different names (and are more up-to-date), therefore, here's what you need to install in Arch Linux for the same functionality:
    The development libraries for libxcb-cursor are included in the xcb-util-cursor package. You can install it with:

    Code: Select all

    sudo pacman -S xcb-util-cursor
      The development libraries for libusb in Arch Linux are provided by the libusb package. You can install it with:

      Code: Select all

      sudo pacman -S libusb
        Last but not least, the eDRUMin tool looks for libusb-0.1.so.4, which is part of the older libusb-compat package that provides backward compatibility for applications that still uses libusb 0.1.

        On Arch Linux, the libusb package you installed provides libusb-1.0, but not the legacy libusb 0.1 version. So, you need to install the libusb-compat package, which includes libusb-0.1.so.4.

        Code: Select all

        sudo pacman -S libusb-compat
        These packages contain the necessary headers and development files required for building software that depends on libxcb-cursor and libusb.
        10-17-2024, 19-37-26.png
        10-17-2024, 19-37-26.png (294.02 KiB) Viewed 450 times
        Previously, I would run this through Docker, with an Ubuntu installed container. I suggested Rob to use either the Flatpak or Appimage format instead, since it allows the app to run in any Linux distro, and got the typical "nobody uses Linux" response, so there ya go, to any of you lads that are running Arch, or an Arch-based distro (like Manjaro or EndeavorOS), then you are good to go.

        Again Rob, I believe you should consider a more universal format on Linux, since more and more people are jumping from Windows to Linux as Microsoft is making the most questionable decisions ever, and Windows 11 is an inferior OS to Windows 10 when released, as well as with the release of Pipewire, Linux became as reliable as MacOS for Recording and Sound/music production.

        You can host the installer package here on your site as well, if you aren't fond of the idea of having your software being distributed through external repos.
        User avatar
        Rob
        Site Admin
        Posts: 4681
        Joined: Sat Aug 01, 2009 2:04 pm

        Re: Running eDRUMin on Arch Linux

        Post by Rob »

        Great work. I'll see if I can get my installer script to detect Arch Linux and install the correct packages for it.
        Sharkuel
        Posts: 5
        Joined: Tue Jul 02, 2024 8:02 pm

        Re: Running eDRUMin on Arch Linux

        Post by Sharkuel »

        Glad I was of help, Rob.

        I may also look into this on Fedora and OpenSuse, and I believe that would cover all the major distros. When I have time, I will look into it aswell.

        For now, the container solution is an option, but can be a pain to setup for the less experienced.
        Post Reply