rolffokkens / bdsync

a fast block device synchronizing tool
GNU General Public License v2.0
109 stars 26 forks source link

Installation instructions? #22

Closed ndemou closed 4 years ago

ndemou commented 4 years ago

Hi and thanks for this very useful tool!

It would be nice to include minimum installation instructions for those that aren't used to building software.

Here's what works fine for Ubuntu 16.04 and 18.04 (I had the chance to test it):

# install utilities for building software (and wget and aunpack)
sudo apt install build-essential checkinstall wget
# install specific libraries that bdsync needs
sudo apt install libssl-dev pandoc 
# download and unzip bdsync
wget https://github.com/TargetHolding/bdsync/archive/master.zip
unzip bdsync.zip
# compile bdsync
cd bdsync-master/
make
# done -- you'll find bdsync in current path

And I guess that replacing the first two commands with these will work for CentOS/RedHat/Fedora:

sudo yum groupinstall 'Development Tools'
sudo yum install openssl-devel wget
error10 commented 4 years ago

And pandoc is required to generate the man page.

ndemou commented 4 years ago

Yes it is... But I've includef pandoc in my instructions.

ghost commented 4 years ago

Thanks! I included an initial COMPILING document