Added HOW_TO_INSTALL.md

Moved out from README.md
This commit is contained in:
Valentino Orlandi 2023-10-08 20:12:34 +00:00
parent a2e7dedf42
commit c8ea0e703d
1 changed files with 61 additions and 0 deletions

61
HOW_TO_INSTALL.md Normal file
View File

@ -0,0 +1,61 @@
# How to install
<br/>
## From source
- Run the installation script
- Linux:
- `bash scripts/LINUX_build_install.sh`
- BSD:
- `bash scripts/BSD_build_install.sh`
- Windows:
- step inside the *scripts* folder
- run `WIN_build_install_1.bat` as normal user
- right-click on `WIN_build_install_2.bat` and select **Run as Administrator**
- Mac OS:
- `bash scripts/MAC_build_install.sh`
<br/><br/>
## From package
### Arch-based distributions
- Pre-made package:
- Step in the [Release](https://git.disroot.org/elB4RTO/LogDoctor/releases) page
- Download `logdoctor-<VERSION>-x86_64.pkg.tar.zst`
- Run `sudo pacman -U logdoctor-<VERSION>-x86_64.pkg.tar.zst`<br/><br/>
- From the AUR:
- Using **yay**:
- `yay -S logdoctor`<br/>
- Manually:
- `git clone https://aur.archlinux.org/logdoctor.git -b master --depth 1`
- `cd logdoctor`
- `makepkg -sci`
<br/>
### Debian-based distributions
- Pre-made package:
- Step in the [Release](https://git.disroot.org/elB4RTO/LogDoctor/releases) page
- Download `logdoctor_<VERSION>_amd64.deb`
- Run `sudo apt install ./logdoctor_<VERSION>_amd64.deb`<br/><br/>
<br/><br/>
## From binary
- Download a pre-compiled [Release](https://git.disroot.org/elB4RTO/LogDoctor/releases)
- Run the installation executable, or the installation script if you prefer it<br/><br/>
<br/><br/>
## As Docker
- Run the installation script
- Linux:
- `bash scripts/DOCKER_build_install.sh`
<br/>