Skip to content
Protected edited this page Dec 4, 2025 · 2 revisions

Instructions for building on Windows

This method uses the original library's provided scripts and Dockerfile. git for windows must be pre-installed.

  1. Clone the git repository:
git clone https://github.com/Protected/jassub.git
cd jassub
git submodule update --init --recursive
git checkout feature/streamed-subtitles
  1. Install WSL with the Debian image, up to upgrading to version 2, if not yet installed. Full instructions

  2. Run Debian WSL

  3. Install docker in Debian, if not yet installed:

sudo su -
apt-get update
apt-get install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
  $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
  tee /etc/apt/sources.list.d/docker.list > /dev/null

apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

exit
sudo usermod -aG docker $USER
  1. Restart WSL at this point to give the terminal docker group permissions.

  2. Run docker and build (building the library can take several minutes):

sudo service docker start
cd /mnt/DRIVE_LOWERCASE/PATH/TO/JASSUB
./run-docker-build.sh

Clone this wiki locally