How To Install python3-pyserial on Fedora 36
Introduction
In this tutorial we learn how to install python3-pyserial
on Fedora 36.
What is python3-pyserial
This module encapsulates the access for the serial port. It provides backends for standard Python running on Windows, Linux, BSD (possibly any POSIX compliant system) and Jython. The module named “serial” automatically selects the appropriate backend.
We can use yum
or dnf
to install python3-pyserial
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pyserial.
Install python3-pyserial 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-pyserial
using dnf
by running the following command:
sudo dnf -y install python3-pyserial
Install python3-pyserial 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-pyserial
using yum
by running the following command:
sudo yum -y install python3-pyserial
How To Uninstall python3-pyserial on Fedora 36
To uninstall only the python3-pyserial
package we can use the following command:
sudo dnf remove python3-pyserial
python3-pyserial Package Contents on Fedora 36
/usr/bin/miniterm-3.10.py
/usr/bin/miniterm-3.py
/usr/bin/miniterm.py
/usr/lib/python3.10/site-packages/pyserial-3.4-py3.10.egg-info
/usr/lib/python3.10/site-packages/pyserial-3.4-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pyserial-3.4-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pyserial-3.4-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pyserial-3.4-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/serial
/usr/lib/python3.10/site-packages/serial/__init__.py
/usr/lib/python3.10/site-packages/serial/__pycache__
/usr/lib/python3.10/site-packages/serial/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/rfc2217.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/rfc2217.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/rs485.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/rs485.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialcli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialcli.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialjava.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialjava.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialposix.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialposix.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialwin32.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/serialwin32.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/win32.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/__pycache__/win32.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/rfc2217.py
/usr/lib/python3.10/site-packages/serial/rs485.py
/usr/lib/python3.10/site-packages/serial/serialcli.py
/usr/lib/python3.10/site-packages/serial/serialjava.py
/usr/lib/python3.10/site-packages/serial/serialposix.py
/usr/lib/python3.10/site-packages/serial/serialutil.py
/usr/lib/python3.10/site-packages/serial/serialwin32.py
/usr/lib/python3.10/site-packages/serial/threaded
/usr/lib/python3.10/site-packages/serial/threaded/__init__.py
/usr/lib/python3.10/site-packages/serial/threaded/__pycache__
/usr/lib/python3.10/site-packages/serial/threaded/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/threaded/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools
/usr/lib/python3.10/site-packages/serial/tools/__init__.py
/usr/lib/python3.10/site-packages/serial/tools/__pycache__
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/hexlify_codec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/hexlify_codec.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_common.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_linux.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_linux.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_osx.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_osx.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_posix.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_posix.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_windows.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/list_ports_windows.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/miniterm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/tools/__pycache__/miniterm.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/tools/hexlify_codec.py
/usr/lib/python3.10/site-packages/serial/tools/list_ports.py
/usr/lib/python3.10/site-packages/serial/tools/list_ports_common.py
/usr/lib/python3.10/site-packages/serial/tools/list_ports_linux.py
/usr/lib/python3.10/site-packages/serial/tools/list_ports_osx.py
/usr/lib/python3.10/site-packages/serial/tools/list_ports_posix.py
/usr/lib/python3.10/site-packages/serial/tools/list_ports_windows.py
/usr/lib/python3.10/site-packages/serial/tools/miniterm.py
/usr/lib/python3.10/site-packages/serial/urlhandler
/usr/lib/python3.10/site-packages/serial/urlhandler/__init__.py
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_alt.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_alt.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_hwgrep.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_hwgrep.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_loop.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_loop.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_rfc2217.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_rfc2217.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_serve-rfc2217.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_serve-rfc2217.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_socket.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_socket.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_spy.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/__pycache__/protocol_spy.cpython-310.pyc
/usr/lib/python3.10/site-packages/serial/urlhandler/protocol_alt.py
/usr/lib/python3.10/site-packages/serial/urlhandler/protocol_hwgrep.py
/usr/lib/python3.10/site-packages/serial/urlhandler/protocol_loop.py
/usr/lib/python3.10/site-packages/serial/urlhandler/protocol_rfc2217.py
/usr/lib/python3.10/site-packages/serial/urlhandler/protocol_serve-rfc2217.py
/usr/lib/python3.10/site-packages/serial/urlhandler/protocol_socket.py
/usr/lib/python3.10/site-packages/serial/urlhandler/protocol_spy.py
/usr/lib/python3.10/site-packages/serial/win32.py
/usr/share/doc/python3-pyserial
/usr/share/doc/python3-pyserial/CHANGES.rst
/usr/share/doc/python3-pyserial/LICENSE.txt
/usr/share/doc/python3-pyserial/README.rst
/usr/share/doc/python3-pyserial/examples
/usr/share/doc/python3-pyserial/examples/at_protocol.py
/usr/share/doc/python3-pyserial/examples/port_publisher.py
/usr/share/doc/python3-pyserial/examples/port_publisher.sh
/usr/share/doc/python3-pyserial/examples/rfc2217_server.py
/usr/share/doc/python3-pyserial/examples/setup-miniterm-py2exe.py
/usr/share/doc/python3-pyserial/examples/setup-rfc2217_server-py2exe.py
/usr/share/doc/python3-pyserial/examples/setup-wxTerminal-py2exe.py
/usr/share/doc/python3-pyserial/examples/tcp_serial_redirect.py
/usr/share/doc/python3-pyserial/examples/wxSerialConfigDialog.py
/usr/share/doc/python3-pyserial/examples/wxSerialConfigDialog.wxg
/usr/share/doc/python3-pyserial/examples/wxTerminal.py
/usr/share/doc/python3-pyserial/examples/wxTerminal.wxg
References
Summary
In this tutorial we learn how to install python3-pyserial
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).