How to Install libpython3-dev in Ubuntu 18.04

Install libpython3-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install libpython3-dev


header files and a static library for Python (default)

Header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python in applications. . This package is a dependency package, which depends on Debian's default Python 3 version (currently v3.6).


Version: 3.6.5-3

Section: python