diff --git a/README.qmd b/README.qmd index 2fa40b45afd5664ad0bbf7c415077572c8c3103b..08a2b8c4f7b861f741312c3c54d59785e9625e9a 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 2122311d59ac39f633f29a5efad73ee98fc5cbc3..a70140a6d1149dc171d18c451a94d830a9ec3dac 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>