Binary Installation
DeepLX can be installed as a standalone binary on Linux systems using the automated installation script or manual download.Automated Installation
The easiest way to install DeepLX is using the official installation script.Download and run the installation script
This script requires root/sudo access to install the binary to
/usr/bin/ and set up the systemd service.Verify installation
The script automatically:
- Detects the latest DeepLX version from GitHub releases
- Downloads
deeplx_linux_amd64to/usr/bin/deeplx - Makes the binary executable
- Downloads and installs the systemd service file
- Enables and starts the DeepLX service
Manual Installation
For more control over the installation process, you can manually download and install DeepLX.Download the latest release
Visit the GitHub Releases page or download directly:
Replace
deeplx_linux_amd64 with your platform’s binary if using a different architecture.Installation Script Details
Theinstall.sh script performs the following operations:
install.sh
Command-Line Options
DeepLX supports several command-line flags for configuration:| Flag | Short | Description | Default | Example |
|---|---|---|---|---|
--ip | -i | IP address to bind to | 0.0.0.0 | --ip 127.0.0.1 |
--port | -p | Port to listen on | 1188 | --port 8080 |
--token | - | Access token for /translate endpoint | - | --token mytoken |
-s | - | DeepL session for /v1/translate endpoint | - | -s session_id |
--proxy | - | HTTP proxy URL for requests | - | --proxy http://proxy:8080 |
Usage Examples
Environment Variables
Alternatively, you can configure DeepLX using environment variables:Command-line flags take precedence over environment variables if both are set.
Binary Locations
| Component | Path | Description |
|---|---|---|
| Binary | /usr/bin/deeplx | Main executable |
| Service File | /etc/systemd/system/deeplx.service | systemd service configuration |
| Working Directory | /usr/bin/ | Runtime working directory |
