From 38a6ca8e586c7530c2ba8fdcf30b46854311f671 Mon Sep 17 00:00:00 2001 From: Valentino Orlandi Date: Sun, 8 Oct 2023 20:31:07 +0000 Subject: [PATCH] Added HOW_TO_UPDATE.md Moved out from README.md --- HOW_TO_UPDATE.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 HOW_TO_UPDATE.md diff --git a/HOW_TO_UPDATE.md b/HOW_TO_UPDATE.md new file mode 100644 index 00000000..b531f914 --- /dev/null +++ b/HOW_TO_UPDATE.md @@ -0,0 +1,64 @@ +# How to update + +
+ +*At the moment of writing, the only supported method is the manual update* + +

+ +## From source + +- Run the update script + - Linux: + - `bash LINUX_build_update.sh` + - BSD: + - `bash BSD_build_update.sh` + - Windows: + - run `WIN_build_update_1.bat` as normal user + - right-click on `WIN_build_update_2.bat` and select **Run as Administrator** + - Mac OS: + - `bash MAC_build_update.sh` + +

+ +## From package + +### Arch-based distributions + +- Pre-made package: + - Step in the [Release](https://git.disroot.org/elB4RTO/LogDoctor/releases) page + - Download `logdoctor--x86_64.pkg.tar.zst` + - Run `sudo pacman -U logdoctor--x86_64.pkg.tar.zst`

+- From the AUR: + - Using **yay**: + - `yay -S logdoctor`
+ - Manually: + - `git clone https://aur.archlinux.org/logdoctor.git -b master --depth 1` + - `cd logdoctor` + - `makepkg -sci` + +
+ +### Debian-based distributions + +- Pre-made package: + - Step in the [Release](https://git.disroot.org/elB4RTO/LogDoctor/releases) page + - Download `logdoctor__amd64.deb` + - Run `sudo apt install ./logdoctor__amd64.deb`

+ +

+ +## From binary + +- Download a pre-compiled [Release](https://git.disroot.org/elB4RTO/LogDoctor/releases)
+- Run the update script + +

+ +## As Docker + +- Run the update script + - Linux: + - `bash scripts/DOCKER_build_update.sh` + +