Skip to main content

Installation

Installation

LibreTranslate can be installed on various operating systems, including Linux, macOS, and Windows. The installation process typically involves the following steps:

Linux (Ubuntu/Debian)

  1. Install Docker

  2. sudo apt-get update sudo apt-get install -y http://docker.io

  3. Run the LibreTranslate Docker container

  4. docker run -d --name libretranslate -p 5000:5000 libretranslate/libretranslate

  5. Verify the installation by accessing the LibreTranslate API at http://localhost:5000

Windows (with Docker Desktop)

  1. Install Docker Desktop for Windows (https://www.docker.com/products/docker-desktop).

  2. Run the LibreTranslate Docker container

  3. docker run -d --name libretranslate -p 5000:5000 libretranslate/libretranslate

  4. Verify the installation by accessing the LibreTranslate API at http://localhost:5000