Note: It you already have Rust installed, it is a good idea to update it with $ rustup update stable
before skipping to step 6. If you have any of the other things alredy installed, you can skip them as needed.
The only prerequisite to install Taruri on Ubuntu/Debian is Node.js with npm.
- First, install the required dependencies. This can be done with the following command:
$ sudo apt update && sudo apt install libwebkit2gtk-4.0-dev \
build-essential \
curl \
libssl-dev \
appmenu-gtk3-module \
libgtk-3-dev
- Next, install Yarn:
$ npm i yarn
- Then, install Rust with it's Cargo Manager:
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- And verify the installtaion:
$ rustc --version
- Then, lets install the Tauri Bundler via Cargo:
$ cargo install tauri-bundler --force
- Finally, install npx:
$ npm install -g npx
Thats it! The setup is complete. You can now jump to the building app section.