- clone tsduck
git clone https://github.com/tsduck/tsduck.git
- Important checkout to older version of tsduck
git checkout 761a21ed96ef66c609d031abd4667f6f37db348e
- You need Ruby version >3. Do the following:
wget http://ftp.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz
tar -xzvf ruby-3.3.6.tar.gz
cd ruby-3.3.6
./configure --disable-install-doc
make -j
sudo make install
- You also need g++ > 8, do the following:
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt-get install gcc-8 g++-8
- Set the default gcc and g++ to 8.
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8
- Run tsduck script to install required packages:
scripts/install-prerequisites.sh NOSRT=1 NORIST=1 NODOXYGEN=1 NOTEST=1 NOPCSC=1 NOJAVA=1 NOHWACCEL=1 NOVATEK=1 NOHIDES=1 NODEKTEC=1 NOEDITLINE=1
- Compile tsduck:
make -j4 default NOSRT=1 NORIST=1 NODOXYGEN=1 NOTEST=1 NOPCSC=1 NOJAVA=1 NOHWACCEL=1 NOVATEK=1 NOHIDES=1 NODEKTEC=1 NOEDITLINE=1