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)
-
Install Docker
-
sudo apt-get update sudo apt-get install -y http://docker.io
-
Run the LibreTranslate Docker container
-
docker run -d --name libretranslate -p 5000:5000 libretranslate/libretranslate
-
Verify the installation by accessing the LibreTranslate API at http://localhost:5000
Windows (with Docker Desktop)
-
Install Docker Desktop for Windows (https://www.docker.com/products/docker-desktop).
-
Run the LibreTranslate Docker container
-
docker run -d --name libretranslate -p 5000:5000 libretranslate/libretranslate
-
Verify the installation by accessing the LibreTranslate API at http://localhost:5000