How To Install python3-adb on Fedora 36

In this tutorial we learn how to install python3-adb in Fedora 36. python3-adb is Python implementation of the Android ADB and Fastboot protocols

Introduction

In this tutorial we learn how to install python3-adb on Fedora 36.

What is python3-adb

This module contains a pure Python implementation of the Android ADB and Fastboot protocols, using libusb1 for USB communications. This is a complete replacement and rearchitecture of the Android project’s ADB and fastboot code available at code is mainly targeted to users that need to communicate with Android devices in an automated fashion, such as in automated testing.

We can use yum or dnf to install python3-adb on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-adb.

Install python3-adb on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-adb using dnf by running the following command:

sudo dnf -y install python3-adb

Install python3-adb on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-adb using yum by running the following command:

sudo yum -y install python3-adb

How To Uninstall python3-adb on Fedora 36

To uninstall only the python3-adb package we can use the following command:

sudo dnf remove python3-adb

python3-adb Package Contents on Fedora 36

/usr/bin/pyadb
/usr/bin/pyfastboot
/usr/lib/python3.10/site-packages/adb
/usr/lib/python3.10/site-packages/adb-1.3.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/adb-1.3.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/adb-1.3.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/adb-1.3.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/adb-1.3.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/adb-1.3.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/adb-1.3.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/adb/__init__.py
/usr/lib/python3.10/site-packages/adb/__pycache__
/usr/lib/python3.10/site-packages/adb/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/adb_commands.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/adb_commands.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/adb_debug.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/adb_debug.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/adb_protocol.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/adb_protocol.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/common.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/common_cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/common_cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/fastboot.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/fastboot.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/fastboot_debug.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/fastboot_debug.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/filesync_protocol.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/filesync_protocol.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/sign_cryptography.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/sign_cryptography.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/sign_pycryptodome.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/sign_pycryptodome.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/sign_pythonrsa.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/sign_pythonrsa.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/usb_exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/adb/__pycache__/usb_exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/adb/adb_commands.py
/usr/lib/python3.10/site-packages/adb/adb_debug.py
/usr/lib/python3.10/site-packages/adb/adb_protocol.py
/usr/lib/python3.10/site-packages/adb/common.py
/usr/lib/python3.10/site-packages/adb/common_cli.py
/usr/lib/python3.10/site-packages/adb/fastboot.py
/usr/lib/python3.10/site-packages/adb/fastboot_debug.py
/usr/lib/python3.10/site-packages/adb/filesync_protocol.py
/usr/lib/python3.10/site-packages/adb/sign_cryptography.py
/usr/lib/python3.10/site-packages/adb/sign_pycryptodome.py
/usr/lib/python3.10/site-packages/adb/sign_pythonrsa.py
/usr/lib/python3.10/site-packages/adb/usb_exceptions.py
/usr/share/doc/python3-adb
/usr/share/doc/python3-adb/README.md
/usr/share/licenses/python3-adb
/usr/share/licenses/python3-adb/LICENSE

References

Summary

In this tutorial we learn how to install python3-adb on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).