LogDoctor/HOW_TO_UPDATE.md

1.4 KiB

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 page
    • Download logdoctor-<VERSION>-x86_64.pkg.tar.zst
    • Run sudo pacman -U logdoctor-<VERSION>-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 page
    • Download logdoctor_<VERSION>_amd64.deb
    • Run sudo apt install ./logdoctor_<VERSION>_amd64.deb



From binary

  • Download a pre-compiled Release
  • Run the update script



As Docker

  • Run the update script
    • Linux:
      • bash scripts/DOCKER_build_update.sh