How to Install and Uninstall python-ctypeslib Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 28,2024

1. Install "python-ctypeslib" package

Please follow the guidance below to install python-ctypeslib on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-ctypeslib

2. Uninstall "python-ctypeslib" package

This tutorial shows how to uninstall python-ctypeslib on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-ctypeslib $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-ctypeslib package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-ctypeslib
Priority: optional
Section: universe/python
Installed-Size: 180
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 0.0.0+svn20100125-5
Depends: python, python:any (<< 2.8), python:any (>= 2.7.5-5~), gccxml
Filename: pool/universe/p/python-ctypeslib/python-ctypeslib_0.0.0+svn20100125-5_all.deb
Size: 43662
MD5sum: 01ba71f13e9e9bd2048bf2b40499425f
SHA1: c89b5888fd8ed8f9f24baa4bdade09d11a4e1e1a
SHA256: dff4658b856be0dc6109002c3eb7f7f751cb6aab1638d50fcf99b8f9482d38c6
Description-en: code generator to convert header files into ctypes interfaces
Ctypeslib is a code generator capable of converting C header files
into xml files (using gccxml), and then converting the xmlfiles into
Python modules which define a ctypes interface to the corresponding C
library.
.
Ctypeslib is not ctypes. Ctypes is included in python2.5+, while
ctypeslib is a lesser known add-on by the ctypes author. If you use
ctypes a lot and are tired of setting argtypes and restype of the
called functions, you should look into ctypeslib. Ctypeslib can also
set up data types and structures from C header files automatically.
Ctypeslib could be used to integrate Python with an existing C project,
or from the start with a new project to ease development of a Python/C
interface.
Description-md5: 2b7e98055bcff85fa080dca2872eed3c
Homepage: http://starship.python.net/crew/theller/ctypes/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu