Has anybody successfully installed Duplicati on Almalinux or Rocky Linux?

Hi,
I come from CentOS world which “collapsed” recently and because of that I moved to Almalinux.
I have installed some server on Almalinux and would need backups now.
However I have a problem of installing Duplicati 2.0.6.3 there. Has anybody done that successfully?
Can you share some online guide or writen by you guide for installation?
I Googled it but nothing worked…
Thanks.

You can find some clues here:

I was able to install it on a clean installation of Rocky Linux 8.6. I first installed mono-complete by following instructions here (for CentOS/RHEL 8).

I then installed the duplicati rpm but had to use the --nodeps parameter (this avoids the libappindicator dependency problem):

rpm -ivh --nodeps ./duplicati-2.0.6.3-2.0.6.3_beta_20210617.noarch.rpm 

I did have to create a systemctl service file but used clues in the script mentioned in this post.

Hope this helps.

Hello :slight_smile:

Is there any news with this topic? I’m also on Almalinux with the same errors.

Thank you for your help.

I am wondering about this as well. Cannot get it installed?

yum install https://updates.duplicati.com/beta/duplicati-2.0.8.1-2.0.8.1_beta_20240507.noarch.rpm
Last metadata expiration check: 0:05:27 ago on Mon May 13 12:49:22 2024.
duplicati-2.0.8.1-2.0.8.1_beta_20240507.noarch.rpm 53 MB/s | 29 MB 00:00
Error:
Problem: conflicting requests

  • nothing provides libappindicator needed by duplicati-2.0.8.1-2.0.8.1_beta_20240507.noarch from @commandline
  • nothing provides mono(appindicator-sharp) needed by duplicati-2.0.8.1-2.0.8.1_beta_20240507.noarch from @commandline
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

I haven’t heard that EPEL has added libappindicator. If not, it’s still a workaround of some sort, maybe an install from .zip file and hand-assemble the systemd parts (or whatever). It’s not super difficult, and there possibly is a post on it somewhere. You won’t have a tray icon, but that might not matter to some people.

Other workarounds:

sounds like

but I’ve seen web posts saying this sort of thing can lead to big issues, and I have little opinion myself, beyond that some posts might be talking about big things, but here it “might” be just Duplicati affected.

It might come down to either more expert opinion, or someone willing to see what happens if they test.

There’s another recent avenue, which is that the libappindicator issue is being removed by removing it. There’s a newer way to do an indicator (which isn’t really essential, but the package doesn’t know that):

Canary builds aren’t for production either, but there are testers willing to run them. Feedback on it helps.
There seems to be a gaping hole in the Linux feedback on the debug channel early preview. Any takers?

Lack of tests on a wide range of OS and storage destinations is worrisome.

is the way I put it. Tests on Debian-based distros might be more likely. Anyone want to try an RPM now?
Further releases will likely be announced, but if nobody tests and finds bugs, they might not differ much.

So these two packages are the alternatives for supplying the desktop trayicon.
If they are not present the duplicati binary cannot run because it cannot show the tray-icon on the desktop.

You can still run the “headless” version, which is duplicati-server (aka mono Duplicati.Server.exe) that does almost the same as the tray-icon and starts a web-server.
If you are just looking for the commandline interface, duplicati-cli (aka mono Duplicati.CommandLine.exe) it also works without the mentioned libraries.

Both of these work with just the mono runtime installed. You can see the exact packages here:

Installing these packages (ignoring the libappindicator ones) you can run from the zip file.

As mentioned by @ts678 we are working on a new build that does not rely on this, and the new builds also have non-GUI packages to allow slimmer installs with fewer dependencies.

Yes here is the process to install Duplicati on Alma Linux 9
Run: yum install epel-release
Run: wget https://updates.duplicati.com/beta/duplicati-2.0.2.1-2.0.2.1_beta_20170801.noarch.rpm
Run: wget https://pkgs.sysadmins.ws/el8/base/x86_64/libappindicator-sharp-12.10.0-30.el8.x86_64.rpm
Run: dnf install libappindicator-sharp-12.10.0-30.el8.x86_64.rpm
Run: yum --nogpgcheck localinstall duplicati-2.0.2.1-2.0.2.1_beta_20170801.noarch.rpm
Go to the duplicati manual Installation - Duplicati 2 User's Manual and add nano 2 x files copy from the website manual.

@my-data Awesome instructions!

I would like to also bring attention to the new experimental release (soon the next beta), which does not rely on libappindicator or mono.

You can get the RPM packages from here:
https://updates.duplicati.com/experimental

With that is should be a matter of just running:

yum localinstall duplicati-2.1.0.0_experimental_2024-11-15-linux-x64-gui.rpm
1 Like

The new experimental rpm installs seamlessly on Alma Linux 9 without having to download and install any dependencies, great job!

1 Like