Skip to content
ArminHaberl edited this page Apr 25, 2025 · 12 revisions

Installers

Deb file for beta 1.2.1 here.

Ubuntu (Debian) Manual Setup

Limitations

  • We do not currently provide a flatpack, snap or out of beta debian package. Installation and start via command line, but with the aTrain user interface.
  • Currently, only CPU transcription is supported reliably.
  • Installation of additional packages via apt from the Universe repository.
  • Currently tested on: Ubuntu 24.04 LTS

Setup

Update package lists:

sudo apt update

Install dependencies:

sudo apt install ffmpeg python3 python3-pip python3-venv git build-essential libgl1-mesa-dev libcairo2 libcairo2-dev libgirepository1.0-dev libwebkit2gtk-4.1-dev -y

Create a virtual environment in your home folder (or any other you prefer) and activate it.

cd ~

python3 -m venv atrain_venv

source atrain_venv/bin/activate

Now, install atrain from the github repository (currently only the bugfix branch works).

pip install git+https://github.com/JuergenFleiss/aTrain.git@develop --extra-index-url https://download.pytorch.org/whl/cu128

Next, you need aTrain to download all the necessary models for transcription and speaker detection. This has only to be done once when installing it.

aTrain init

You are now ready to start aTrain. The following command should open the user interface.

aTrain start

Start aTrain after installation

If you already installed aTrain, you can start it by:

cd ~

source atrain_venv/bin/activate

aTrain start

Depending on your Ubuntu version, you might need to install python 3.12 (the default one in 24.04) from a third party repository:

sudo add-apt-repository ppa:deadsnakes/ppa

sudo apt install python3.12

Then run the commands with python 3.12

Clone this wiki locally