Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] How can I Install from source code, and execute to check the results in python, #1433

Open
debaditya22 opened this issue Feb 16, 2024 · 1 comment

Comments

@debaditya22
Copy link

new to this so if anyone can guide me step by step it would be great .
Trying on Ubuntu 22.04, thanks.

@lelegard
Copy link
Member

Hi @debaditya22

General build instructions are here: https://tsduck.io/doxy/building.html

For a Ubuntu system, the simplest procedure is the following:

  1. Get source code: git clone https://github.com/tsduck/tsduck.git
  2. Install prerequisites for build: tsduck/scripts/install-prerequisites.sh
  3. Build an installer: make -C tsduck installer
  4. Collect the .deb packages in tsduck/pkg/installers and install them

There are a few sample Python programs in tsduck/sample/sample-python.

The Python module for TSDuck is installed in directory /usr/share/tsduck/python. You need to add it in your PYTHONPATH environment variable.

The general TSDuck library is designed for C++ applications. Only a high-level subset is available for Python and Java applications. Overview here: https://tsduck.io/doxy/jpbindings.html

Documentation of Python bindings here: https://tsduck.io/doxy/group__python.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants