How To Install python3-google-auth on Rocky Linux 8

In this tutorial we learn how to install python3-google-auth on Rocky Linux 8. python3-google-auth is Google Auth Python Library

Introduction

In this tutorial we learn how to install python3-google-auth on Rocky Linux 8.

What is python3-google-auth

Python client for the kubernetes API.

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

Install python3-google-auth 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-google-auth using dnf by running the following command:

sudo dnf -y install python3-google-auth

Install python3-google-auth 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-google-auth using yum by running the following command:

sudo yum -y install python3-google-auth

How To Uninstall python3-google-auth on Rocky Linux 8

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

sudo dnf remove python3-google-auth

python3-google-auth Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/google/auth
/usr/lib/python3.6/site-packages/google/auth/__init__.py
/usr/lib/python3.6/site-packages/google/auth/__pycache__
/usr/lib/python3.6/site-packages/google/auth/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_cloud_sdk.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_cloud_sdk.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_default.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_default.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_helpers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_helpers.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_oauth2client.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_oauth2client.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_service_account_info.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/_service_account_info.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/app_engine.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/app_engine.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/credentials.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/credentials.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/environment_vars.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/environment_vars.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/iam.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/iam.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/jwt.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/__pycache__/jwt.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/_cloud_sdk.py
/usr/lib/python3.6/site-packages/google/auth/_default.py
/usr/lib/python3.6/site-packages/google/auth/_helpers.py
/usr/lib/python3.6/site-packages/google/auth/_oauth2client.py
/usr/lib/python3.6/site-packages/google/auth/_service_account_info.py
/usr/lib/python3.6/site-packages/google/auth/app_engine.py
/usr/lib/python3.6/site-packages/google/auth/compute_engine
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__init__.py
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__pycache__
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__pycache__/_metadata.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__pycache__/_metadata.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__pycache__/credentials.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/compute_engine/__pycache__/credentials.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/compute_engine/_metadata.py
/usr/lib/python3.6/site-packages/google/auth/compute_engine/credentials.py
/usr/lib/python3.6/site-packages/google/auth/credentials.py
/usr/lib/python3.6/site-packages/google/auth/crypt
/usr/lib/python3.6/site-packages/google/auth/crypt/__init__.py
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/_python_rsa.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/_python_rsa.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/rsa.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/__pycache__/rsa.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/crypt/_python_rsa.py
/usr/lib/python3.6/site-packages/google/auth/crypt/base.py
/usr/lib/python3.6/site-packages/google/auth/crypt/rsa.py
/usr/lib/python3.6/site-packages/google/auth/environment_vars.py
/usr/lib/python3.6/site-packages/google/auth/exceptions.py
/usr/lib/python3.6/site-packages/google/auth/iam.py
/usr/lib/python3.6/site-packages/google/auth/jwt.py
/usr/lib/python3.6/site-packages/google/auth/transport
/usr/lib/python3.6/site-packages/google/auth/transport/__init__.py
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/_http_client.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/_http_client.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/grpc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/grpc.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/requests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/requests.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/urllib3.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/__pycache__/urllib3.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/auth/transport/_http_client.py
/usr/lib/python3.6/site-packages/google/auth/transport/grpc.py
/usr/lib/python3.6/site-packages/google/auth/transport/requests.py
/usr/lib/python3.6/site-packages/google/auth/transport/urllib3.py
/usr/lib/python3.6/site-packages/google/oauth2
/usr/lib/python3.6/site-packages/google/oauth2/__init__.py
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/_client.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/_client.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/credentials.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/credentials.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/id_token.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/id_token.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/service_account.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/google/oauth2/__pycache__/service_account.cpython-36.pyc
/usr/lib/python3.6/site-packages/google/oauth2/_client.py
/usr/lib/python3.6/site-packages/google/oauth2/credentials.py
/usr/lib/python3.6/site-packages/google/oauth2/id_token.py
/usr/lib/python3.6/site-packages/google/oauth2/service_account.py
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6-nspkg.pth
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6.egg-info/namespace_packages.txt
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/google_auth-1.1.1-py3.6.egg-info/top_level.txt
/usr/share/licenses/python3-google-auth
/usr/share/licenses/python3-google-auth/LICENSE

References

Summary

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