How To Install python-libteam.x86_64 on Amazon Linux 2

In this tutorial we learn how to install python-libteam.x86_64 in Amazon Linux 2. python-libteam.x86_64 is Team network device library bindings

Introduction

In this tutorial we learn how to install python-libteam.x86_64 on Amazon Linux 2.

What is python-libteam.x86_64

The team-python package contains a module that permits applications written in the Python programming language to use the interface supplied by team network device library. This package should be installed if you want to develop Python programs that will manipulate team network devices.

We can use yum to install python-libteam.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-libteam.x86_64.

Install python-libteam.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 python-libteam.x86_64 using yum by running the following command:

sudo yum -y install python-libteam.x86_64

How To Uninstall python-libteam.x86_64 on Amazon Linux 2

To uninstall only the python-libteam.x86_64 package we can use the following command:

sudo yum remove python-libteam.x86_64

python-libteam.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/team
/usr/lib64/python2.7/site-packages/team-1.0-py2.7.egg-info
/usr/lib64/python2.7/site-packages/team/__init__.py
/usr/lib64/python2.7/site-packages/team/__init__.pyc
/usr/lib64/python2.7/site-packages/team/__init__.pyo
/usr/lib64/python2.7/site-packages/team/_capi.so
/usr/lib64/python2.7/site-packages/team/capi.py
/usr/lib64/python2.7/site-packages/team/capi.pyc
/usr/lib64/python2.7/site-packages/team/capi.pyo
/usr/lib64/python2.7/site-packages/team/core.py
/usr/lib64/python2.7/site-packages/team/core.pyc
/usr/lib64/python2.7/site-packages/team/core.pyo
/usr/share/doc/python-libteam-1.27
/usr/share/doc/python-libteam-1.27/COPYING
/usr/share/doc/python-libteam-1.27/examples
/usr/share/doc/python-libteam-1.27/examples/team_daemon.py
/usr/share/doc/python-libteam-1.27/examples/team_monitor.py

References

Summary

In this tutorial we learn how to install python-libteam.x86_64 on Amazon Linux 2 using yum.