From ccdb04701b52faa9a015ff08df539db01fb8761f Mon Sep 17 00:00:00 2001
From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr>
Date: Mon, 20 Feb 2023 11:11:28 +0100
Subject: [PATCH] Readme.md: add instructions of dependencies installation

---
 Readme.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/Readme.md b/Readme.md
index d1bc082..a2e9446 100644
--- a/Readme.md
+++ b/Readme.md
@@ -40,6 +40,29 @@ You can optionally install [ImageMagick](https://imagemagick.org/script/index.ph
 
 If you want to share your borg folder whith gblk `clone`, `push` and `pull`, `rsync` must be installed on your computer and on remote machines where you want to store/share you results. `ssh` program must be installed to send the archived results to remote servers.
 
+Below some commands you can use to install gblk dependencies on ubuntu:
+
+```bash
+# Install git
+sudo apt install git
+# Install borg
+sudo apt install borgbackup
+# install rust
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+# Install delta (Ubuntu)
+wget https://github.com/dandavison/delta/releases/download/0.15.1/git-delta_0.15.1_amd64.deb && \
+ dpkg -i git-delta_0.15.1_amd64.deb.deb
+# Install Imagemagick
+sudo apt install imagemagick
+# Install Rsync (if not already installed)
+sudo apt install rsync
+# install gblk
+cargo install --git https://gitbio.ens-lyon.fr/LBMC/hub/git_borg_linker
+# Update your bashrc
+echo "export PATH=$PATH:/home/nicolas/.cargo/bin" > ~/.bashrc
+source ~/.bashrc
+```
+
 ## Installation
 
 To install gblk run the following command:
-- 
GitLab