How To Install python3-aexpect on Fedora 36
Introduction
In this tutorial we learn how to install python3-aexpect on Fedora 36.
What is python3-aexpect
Aexpect is a python library used to control interactive applications, very similar to pexpect. You can use it to control applications such as ssh, scp sftp, telnet, among others.
We can use yum or dnf to install python3-aexpect on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-aexpect.
Install python3-aexpect 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-aexpect using dnf by running the following command:
sudo dnf -y install python3-aexpect
Install python3-aexpect 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-aexpect using yum by running the following command:
sudo yum -y install python3-aexpect
How To Uninstall python3-aexpect on Fedora 36
To uninstall only the python3-aexpect package we can use the following command:
sudo dnf remove python3-aexpect
python3-aexpect Package Contents on Fedora 36
/usr/bin/aexpect_helper
/usr/bin/aexpect_helper-3
/usr/bin/aexpect_helper-3.10
/usr/lib/python3.10/site-packages/aexpect
/usr/lib/python3.10/site-packages/aexpect-1.6.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/aexpect-1.6.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/aexpect-1.6.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/aexpect-1.6.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/aexpect-1.6.2-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/aexpect/__init__.py
/usr/lib/python3.10/site-packages/aexpect/__pycache__
/usr/lib/python3.10/site-packages/aexpect/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/client.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/remote.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/remote.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/remote_door.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/remote_door.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/rss_client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/rss_client.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/shared.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/__pycache__/shared.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/client.py
/usr/lib/python3.10/site-packages/aexpect/exceptions.py
/usr/lib/python3.10/site-packages/aexpect/remote.py
/usr/lib/python3.10/site-packages/aexpect/remote_door.py
/usr/lib/python3.10/site-packages/aexpect/rss_client.py
/usr/lib/python3.10/site-packages/aexpect/shared.py
/usr/lib/python3.10/site-packages/aexpect/utils
/usr/lib/python3.10/site-packages/aexpect/utils/__init__.py
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/astring.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/astring.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/data_factory.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/data_factory.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/genio.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/genio.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/path.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/path.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/process.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/process.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/wait.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/__pycache__/wait.cpython-310.pyc
/usr/lib/python3.10/site-packages/aexpect/utils/astring.py
/usr/lib/python3.10/site-packages/aexpect/utils/data_factory.py
/usr/lib/python3.10/site-packages/aexpect/utils/genio.py
/usr/lib/python3.10/site-packages/aexpect/utils/path.py
/usr/lib/python3.10/site-packages/aexpect/utils/process.py
/usr/lib/python3.10/site-packages/aexpect/utils/wait.py
/usr/share/doc/python3-aexpect
/usr/share/doc/python3-aexpect/README.rst
/usr/share/licenses/python3-aexpect
/usr/share/licenses/python3-aexpect/LICENSE
References
Summary
In this tutorial we learn how to install python3-aexpect on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).