Installation
PhotoNim is available and tested for Linux, MacOSX and Windows machines. To install it you can choose which approach you find the most fitting for you.
Prerequisites
To use PhotoNim you must have installed the Nim programming language (version 2.0 or higher) on your machine. To install the latest version on Unix you could run the following command:
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
To install it on other OSs or to install previous versions, please refer to the Nim installation guide. Most of Nim installation already install the official Nim package manager Nimble. You can verify it by running:
which nimble
Installing from Git
Choose the appropriate protocol (HTTPS or SSH) and clone the PhotoNim repository using the command
git clone https://github.com/Negrini085/PhotoNim.git # for HTTPS
git clone git@github.com:Negrini085/PhotoNim.git # for SSH
Installing from Tarball
Download the latest tarball from here and extract the tarball by running the command
tar -xzf PhotoNim-<version>.tar.gz
Installing using Nimble
Install PhotoNim using nimble by running
nimble install PhotoNim
Dependencies
PhotoNim depends on the following packages
which can be installed using Nimble
cd PhotoNim && nimble install
Other dependencies are used to generate animations:
Verifying the Installation
After installing PhotoNim and its dependencies, you can verify the installation by running PhotoNim test suites using Nimble:
nimble test