How To Install python3-adb-shell on Rocky Linux 8

In this tutorial we learn how to install python3-adb-shell on Rocky Linux 8. python3-adb-shell is Python implementation for ADB shell and file sync

Introduction

In this tutorial we learn how to install python3-adb-shell on Rocky Linux 8.

What is python3-adb-shell

Python package implements ADB shell and FileSync functionality.

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

Install python3-adb-shell on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-adb-shell

Install python3-adb-shell on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-adb-shell

How To Uninstall python3-adb-shell on Rocky Linux 8

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

sudo dnf remove python3-adb-shell

python3-adb-shell Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/adb_shell
/usr/lib/python3.6/site-packages/adb_shell-0.1.3-py3.6.egg-info
/usr/lib/python3.6/site-packages/adb_shell-0.1.3-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/adb_shell-0.1.3-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/adb_shell-0.1.3-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/adb_shell-0.1.3-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/adb_shell-0.1.3-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/adb_shell/__init__.py
/usr/lib/python3.6/site-packages/adb_shell/__pycache__
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/adb_device.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/adb_device.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/adb_message.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/adb_message.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/adb_device.py
/usr/lib/python3.6/site-packages/adb_shell/adb_message.py
/usr/lib/python3.6/site-packages/adb_shell/auth
/usr/lib/python3.6/site-packages/adb_shell/auth/__init__.py
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/keygen.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/keygen.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/sign_cryptography.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/sign_cryptography.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/sign_pycryptodome.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/sign_pycryptodome.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/sign_pythonrsa.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/__pycache__/sign_pythonrsa.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/auth/keygen.py
/usr/lib/python3.6/site-packages/adb_shell/auth/sign_cryptography.py
/usr/lib/python3.6/site-packages/adb_shell/auth/sign_pycryptodome.py
/usr/lib/python3.6/site-packages/adb_shell/auth/sign_pythonrsa.py
/usr/lib/python3.6/site-packages/adb_shell/constants.py
/usr/lib/python3.6/site-packages/adb_shell/exceptions.py
/usr/lib/python3.6/site-packages/adb_shell/handle
/usr/lib/python3.6/site-packages/adb_shell/handle/__init__.py
/usr/lib/python3.6/site-packages/adb_shell/handle/__pycache__
/usr/lib/python3.6/site-packages/adb_shell/handle/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/handle/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/handle/__pycache__/base_handle.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/handle/__pycache__/base_handle.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/handle/__pycache__/tcp_handle.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/adb_shell/handle/__pycache__/tcp_handle.cpython-36.pyc
/usr/lib/python3.6/site-packages/adb_shell/handle/base_handle.py
/usr/lib/python3.6/site-packages/adb_shell/handle/tcp_handle.py
/usr/share/doc/python3-adb-shell
/usr/share/doc/python3-adb-shell/README.rst

References

Summary

In this tutorial we learn how to install python3-adb-shell on Rocky Linux 8 using yum and dnf.