Skip to content

Instantly share code, notes, and snippets.

@mahboobkarimian
Created November 14, 2024 13:03
Show Gist options
  • Save mahboobkarimian/99bb28b571f4edcd5f8d481a3f587b36 to your computer and use it in GitHub Desktop.
Save mahboobkarimian/99bb28b571f4edcd5f8d481a3f587b36 to your computer and use it in GitHub Desktop.
Install tsduck on Ubuntu 16.04 xenial
  1. clone tsduck git clone https://github.com/tsduck/tsduck.git
  2. Important checkout to older version of tsduck git checkout 761a21ed96ef66c609d031abd4667f6f37db348e
  3. 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
  1. 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
  1. 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
  2. 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
  3. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment