Dar is an open source command-line utility for creating and managing backups on Linux platforms. It is a popular tool for creating compressed archives of files and directories. In this tutorial, we will be showing you how to install Dar on a Windows 10 machine.
To follow this tutorial, you will need the following:
Cygwin provides a Unix-like environment on Windows, including a terminal emulator and a collection of Linux tools. To install Dar on Windows, we need first to install Cygwin as follows:
With Cygwin installed, we can now download and install Dar as follows:
Open a terminal emulator in Windows, such as Cygwin Terminal.
Type the following command to download the Dar source code:
wget http://downloads.sourceforge.net/sourceforge/dar/dar-2.6.13.tar.gz
Extract the source code .tar.gz
file using the following command:
tar -xzf dar-2.6.13.tar.gz
Change into the extracted directory using the following command:
cd dar-2.6.13
Configure and compile the Dar source code using the following command:
./configure && make
Install the Dar executable file to the /usr/local/bin
directory using the following command:
sudo make install
To verify that Dar was installed successfully on Windows, run the following command:
dar
This command should display the Dar version and other usage instructions, indicating that the installation was successful.
In this tutorial, we have shown you how to install Dar on a Windows 10 machine with the help of Cygwin. You can now use Dar to create and manage backups of your files and directories on your Windows machine.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!