From 2130fb4f72c8666c9d59e1ae094ccb1ed9ebb1ea Mon Sep 17 00:00:00 2001 From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr> Date: Mon, 20 Feb 2023 11:10:28 +0100 Subject: [PATCH] slides/slides.qmd README.qmd: update instruction on installation of dependencies --- README.qmd | 23 +++++++++++++++++++++++ slides/slides.qmd | 28 ++++++++++++++-------------- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/README.qmd b/README.qmd index 2fa40b4..08a2b8c 100644 --- a/README.qmd +++ b/README.qmd @@ -39,6 +39,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: diff --git a/slides/slides.qmd b/slides/slides.qmd index 2122311..a70140a 100644 --- a/slides/slides.qmd +++ b/slides/slides.qmd @@ -143,24 +143,24 @@ Available at: ```bash -$ # Install git -$ apt install git -$ # Install borg -$ apt install borgbackup -$ # install rust -$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +# 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 && \ +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 +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 +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 ``` <p><p> -- GitLab