Others have explained how to install Ubuntu's rsync
:
sudo apt install rsync
Here's why you don't need the Windows version. Your backup tool will be running under Wine, but Wine Is Not an Emulator; it will be running as a normal program on Ubuntu, and will be able to run other non-Wine programs normally if you add the contents of $PATH
to the Wine %PATH%
. (Remember to translate them to Wine filenames! /usr/bin
becomes Z:\usr\bin
, and so on.)
Unless you're running rsync.exe
, your program won't be able to tell the difference. If you are running rsync.exe
, a symbolic link (a type of shortcut) will do the trick; run:
ls -s /usr/bin/rsync rsync.exe
from a terminal (or a Run box) opened in a folder that's in the Wine %PATH%
.
Installing Wine
Ubuntu provides Wine 3.0, but the latest Wine (at time of writing) is Wine 6.x. This means you should install Wine from WineHQ.
Enable 32-bit support.
sudo dpkg --add-architecture i386
Add the Wine key. (Note the first capital -O
and the second lower-case -o
.)
wget -O - -- https://dl.winehq.org/wine-builds/winehq.key |
sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor -
Add the Wine repository.
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'
Check the Wine repository for new packages.
sudo apt update
Install Wine (stable) and its helper programs.
sudo apt install --install-recommends winehq-stable
Configure Wine for your user.
wine winecfg