| OS | Build (Pre-Release) | Test | Release | Bash Setup | Perl Setup |
|---|---|---|---|---|---|
| Windows | Unavailable | Currently Unavailable | |||
| MacOS | |||||
| Linux |
-
Download LibTorch
-
Unzip it somewhere you like. From now on we'll refer to this place as
%TORCH_DIR% -
Add it to
%PATH%. You can use GUI or insert next command into CMD:
setx PATH "%PATH%;%TORCH_DIR%\libtorch\lib"
Add /M flag to set it for all users (requires super user access)
- Download Windows release MSI installer (coming soon)
- Run script via Bash or Perl:
./scripts/setup.shperl scripts/setup.pl
- Download release installer (coming soon)
- Install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Install LibTorch:
brew install pytorch- Download MacOS release DMG installer (coming soon)
- Install all dependencies:
sudo apt-get update
# Basic
sudo apt-get install curl \
wget \
build-essential
# Tauri
sudo apt-get install libwebkit2gtk-4.0-dev \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev
# Additional
sudo apt-get install libxcb-shape0-dev \
libxcb-xfixes0-dev \
libxcb1-dev \
libxkbcommon-dev \
libwebkit2gtk-4.0 \
libudev-dev \
libsdl2-dev \
libasound2-dev- Install LibTorch
wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.13.0%2Bcpu.zip
unzip libtorch-cxx11-abi-shared-with-deps-1.13.0+cpu.zip- Add shared libraries (we'll refer the place where you have unzipped Torch as
$TORCH_DIR)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TORCH_DIR/libtorch/lib
sudo sh -c "echo $TORCH_DIR/libtorch/lib >> /etc/ld.so.conf"
sudo ldconfig
sudo ldconfig -p- Download Linux release Deb installer (coming soon)
