forked from ThaUnknown/jassub
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Protected edited this page Dec 4, 2025
·
2 revisions
This method uses the original library's provided scripts and Dockerfile. git for windows must be pre-installed.
- Clone the git repository:
git clone https://github.com/Protected/jassub.git
cd jassub
git submodule update --init --recursive
git checkout feature/streamed-subtitles-
Install WSL with the Debian image, up to upgrading to version 2, if not yet installed. Full instructions
-
Run Debian WSL
-
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-
Restart WSL at this point to give the terminal docker group permissions.
-
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