How To Install sip.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install sip.x86_64
on Amazon Linux 2.
What is sip.x86_64
SIP is a tool for generating bindings for C++ classes so that they can be accessed as normal Python classes. SIP takes many of its ideas from SWIG but, because it is specifically designed for C++ and Python, is able to generate tighter bindings. SIP is so called because it is a small SWIG. SIP was originally designed to generate Python bindings for KDE and so has explicit support for the signal slot mechanism used by the Qt/KDE class libraries. However, SIP can be used to generate Python bindings for any C++ class library.
We can use yum
to install sip.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install sip.x86_64.
Install sip.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install sip.x86_64
using yum
by running the following command:
sudo yum -y install sip.x86_64
How To Uninstall sip.x86_64 on Amazon Linux 2
To uninstall only the sip.x86_64
package we can use the following command:
sudo yum remove sip.x86_64
sip.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/sip.so
/usr/lib64/python2.7/site-packages/sipconfig.py
/usr/lib64/python2.7/site-packages/sipconfig.pyc
/usr/lib64/python2.7/site-packages/sipconfig.pyo
/usr/lib64/python2.7/site-packages/sipdistutils.py
/usr/lib64/python2.7/site-packages/sipdistutils.pyc
/usr/lib64/python2.7/site-packages/sipdistutils.pyo
/usr/share/doc/sip-4.14.6
/usr/share/doc/sip-4.14.6/LICENSE
/usr/share/doc/sip-4.14.6/LICENSE-GPL2
/usr/share/doc/sip-4.14.6/LICENSE-GPL3
/usr/share/doc/sip-4.14.6/NEWS
/usr/share/doc/sip-4.14.6/README
References
Summary
In this tutorial we learn how to install sip.x86_64
on Amazon Linux 2 using yum.