How do I install on CentOS 7?


So, after trying to follow various guides on the web, I ended up trying to install latest rpm and I’m being told that some items are missing. I installed Mono independently and confirmed that a trivial Hello.cs file runs properly.

The command below provides several suggestions after it fails but it’s unclear to me which is the best way forward.

Any hints would be appreciated.


[xxx@yyy repo]# yum --nogpgcheck localinstall duplicati-
Loaded plugins: fastestmirror, langpacks
Examining duplicati- duplicati-
Marking duplicati- to be installed
Resolving Dependencies
--> Running transaction check
---> Package duplicati.noarch 0: will be installed
--> Processing Dependency: libappindicator for package: duplicati-
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
--> Processing Dependency: mono(appindicator-sharp) for package: duplicati-
--> Finished Dependency Resolution
Error: Package: duplicati- (/duplicati-
           Requires: mono(appindicator-sharp)
Error: Package: duplicati- (/duplicati-
           Requires: libappindicator
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


I am no RPM pro, so I am not sure what is where in CentOS 7.

The package libappindicator is used to show the tray icon on the user desktop. If you do not plan on using the desktop, you can ignore it. If you do not install it, it should work anyway, using the GTK app indicator, which may or may not be hidden by default.

I can see that some versions of Fedora has the package:


I’d like to use the desktop if possible, I’m not a fan of CLI unless I really have to.


Am I correct in assuming this is a full install and not a Docker container?


OK – (for others in a similar bind) I solved the problem by first installing EPEL ( and then I was able to explicitly run

yum install libappindicator

Once I did that, I was then able to install Duplicati by first downloading it and then running

yum --nogpgcheck localinstall duplicati-

Installation on opensuse Leap 42.2 - is this supported?
RHEL/CentOS 6 Support

Thank for letting us know what worked for you!

I’m actually still trying to get a VM for Centos 7 installed so I could test…I chose minimal (kept getting errors downloading the full ISO) then had a to wait for Gnome to install… but I’m sure it will be great once I’m done. :slight_smile:


Actually, I’m running CentOS 7 on a physical box inside of which I’m running a CentOS 7 instance in a VM (VirtualBox) that contains only what’s needed to run my mail server. (Maybe someday I’ll switch to Docker for this but I don’t care enough about that)

The whole point is to be have a backup of the VM (independently of backing up the data inside it, which is what I’m doing now) so that if the hardware dies I can just bring up a new already configured turnkey mailserver on another machine and just restore the mail from Duplicati


How do I make duplicati run automatically? I found the following link in Github

which shows the name and location of the server so I could add this in myself but I don’t know what options are required?

Also, looking at permissions in my /usr/bin I see they are all installed as root but I got quite a few permission denied errors when I tried to do my first backup


Ahh, the joys of VMs. Once set up they can be very nice for that sort of quick recovery. :slight_smile:

BTW - I flagged your post (#5) as the solution. Please let me know if you disagree with that.


That’s fine. Sorry, I’m not completely focused on forum etiquette here yet.


No need to apologize - I was just excited to have such a clear cut solution I wanted everybody to easily be able to find it. :smiley:


No options are required, it should just run like that. If you place the service file in /usr/lib/systemd/system/ it should be possible to run:

sudo systemctl enable duplicati

And it will then auto-start as a service.

It does not matter who owns the files, it matters who runs the Duplicati server. If you set up the service as above, it will run as root.

You can then get the tray-icon to connect to the service with

duplicati --no-hosted-server --serverurl=http://localhost:8200

Managing Duplicati in Linux

Thanks - that worked.

However, should there be an ExecStop entry in that service file so that duplicati can be killed gracefully on demand or when machine is being shutdown/rebooted?


To install in CentOS 7 without dependence problems, just use “dnf install duplicati.rpm” instead of “rpm install”.

To run as a service, create the file /etc/systemd/system/duplicati.service

Description=Duplicati Backup software

ExecStart=/usr/bin/mono /usr/lib/duplicati/Duplicati.Server.exe


After that, just use:
systemctl start duplicati.service
systemctl enable duplicati.service

Installation on opensuse Leap 42.2 - is this supported?

Unfortunately neither dnf or the older yum was able to resolve the dependency on libappindicator, even after I installed the EPEL repo so I still ended up doing it manually.


I just tried building the RPM on Centos 7. I was unable to get it working without EPEL, but with EPEL it produces the RPM. Attempting to install the resulting RPM on Centos 7 gave this:

Installing for dependencies:
 libappindicator       x86_64 12.10.0-11.el7                    epel       36 k
 libappindicator-sharp x86_64 12.10.0-11.el7                    epel       28 k
 libdbusmenu           x86_64 16.04.0-2.el7                     epel      132 k
 libdbusmenu-gtk2      x86_64 16.04.0-2.el7                     epel       34 k
 libindicator          x86_64 12.10.1-5.el7                     epel       63 k

Is that similar to what you found?

Edit: I get the same if I try to install the RPM built on Fedora.

My install commands are (installs the build tools as well as the runtime tools):

yum -y install deltarpm 
yum -y upgrade
yum -y install epel-release
yum -y install yum-utils rpm-sign gnupg rpmdevtools
yum -y install mono-devel gnome-sharp-devel dos2unix git nuget


I don’t know about getting the service running, but here’s what worked for me to install the Duplicati tray icon from the terminal on a fresh install of CentOS 7 (Minimal):

  1. Run sudo yum install epel-release
    Note: I got a message about not being in the sudoers file so needed to do a full su to continue.

  2. Run wget

  3. Run sudo yum --nogpgcheck localinstall duplicati-

  4. Duplicati was then visible in the GUI under "Aplications -> System Tools -> Duplicati"
    Note: I’m not used to the Centos 7 graphical shell so didn’t realize the Tray Icon actually is in a hidden-by-default ‘ribbon’.