How to Install Lura on macOS
Lura is an open-source software for compressing images and videos. In this tutorial, we will go through the steps to install Lura on macOS.
Prerequisites
Before we begin, make sure you have the following:
A macOS computer running macOS 10.13 or later.
Command line tools installed. You can install it by running the following command in your Terminal:
xcode-select --install
Steps
Open your Terminal by searching for "Terminal" in Spotlight.
Install Homebrew package manager by running the following command in the Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"After Homebrew has been installed, run the following command to update to the latest version of Homebrew:
brew updateInstall Rust by running the following command:
brew install rustVerify that Rust has been installed correctly by running the following command:
rustc --versionYou should see output that looks something like this:
rustc 1.53.0 (53cb7b09b 2021-06-17)Clone the Lura Git repository by running the following command:
git clone https://github.com/luraproject/luraNavigate to the Lura directory:
cd luraBuild Lura by running the following command:
cargo build --releaseThis will take some time to complete as it builds Lura from source.
Once the build has completed, you should see output that looks something like this:
Finished release [optimized] target(s) in 0.11sVerify that Lura has been installed correctly by running the following command:
./target/release/lura --versionYou should see output that looks something like this:
lura 0.1.0
Congratulations! You have successfully installed Lura on macOS. You can now use Lura to compress your images and videos.