7 Install
Emiliano Vavassori edited this page 2024-03-09 17:58:58 +01:00

Installation

The page describes how to install loaih to help build the AppImages.

From sources

You can build loaih from the sources in this same site.

  1. Clone the repository:

     git clone https://git.libreitalia.org/libreitalia/loaih.git
    
  2. Enter the directory with the sources:

     cd loaih
    
  3. Build sources and distribution files:

     python3 setup.py bdist
    
  4. If you have permissions (e.g. by elevating privileges with sudo), you can install loaih system-wide:

     sudo python3 setup.py install
    

From Releases

When a new version is released, a binary artifact of the package will be uploaded to this website in the Release section.

  1. Find the latest release in the Release page and download the relative .whl file (e.g. loaih-1.3.3-py3-none-any.whl);

  2. Ensure you have the wheel package installed in your system:

     pip install wheel
    
  3. Use pip to install the wheel you downloaded:

     pip install /path/to/loaih-1.3.3-py3-none-any.whl
    

From PyPI

Finally, the quickest way to have a working version of loaih is to install it directly from PyPI:

pip install loaih

Upgrading to new versions of loaih is easier with pip, also:

pip install --upgrade loaih

Test that loaih works

Just execute loaih from the command line with any further options:

loaih

HomePrerequisitesCore conceptsUsage - versionsUsage - manual buildUsage - batch build