Install the Adafruit FT232 Python GPIO Library and libFTDI in Fedora 25 26 27
Adafruit has a great write up on using the FT232 breakout board with Linux. Unfortunately, its not for our branch of Linux. Here’s how to get the FTDI and GPIO libraries installed on your machine.
Install libftdi
At this time, the GPIO library hasn’t been updated to accommodate the changes in libftdi 1.3 or greater.
# dnf update # dnf install libusb* swig cmake python-devel libconfuse-devel boost-devel # wget https://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.2.tar.bz2 # bzip2 -d -v libftdi1-1.2.tar.bz2 # tar -xvf libftdi1-1.2.tar # cd libftdi1-1.2 # cmake -DCMAKE_INSTALL_PREFIX="/usr" # make # make install
Install the Adafruit FT232 Python GPIO Library
Download the GPIO Library here # python setup.py install
Test the install
# python >>> import Adafruit_GPIO >>> import ftdi1
The interpreter shouldn’t complain. If it does, the corresponding library is not properly installed. Do it again.
>>> quit()
Leave a Reply