How To Install python36-blessed on CentOS 7
Introduction
In this tutorial we learn how to install python36-blessed
on CentOS 7.
What is python36-blessed
Blessed is a thin, practical wrapper around terminal styling, screen positioning, and keyboard input. It provides - Styles, color, and maybe a little positioning without necessarily clearing the whole screen first. - Works great with standard Python string formatting. - Provides up-to-the-moment terminal height and width, so you can respond to terminal size changes. - Avoids making a mess if the output gets piped to a non-terminal outputs to any file-like object such as StringIO, files, or pipes. - Uses the terminfo(5) database so it works with any terminal type and supports any terminal capability tigetstr and tparm. - Keeps a minimum of internal state, so you can feel free to mix and match with calls to curses or whatever other terminal libraries you like. - Provides plenty of context managers to safely express terminal modes, automatically restoring the terminal to a safe state on exit. - Act intelligently when somebody redirects your output to a file, omitting all of the terminal sequences such as styling, colors, or positioning. - Dead-simple keyboard handling your system’s preferred locale and supports application/arrow keys. - Allows the printable length of strings containing sequences to be determined.
We can use yum
or dnf
to install python36-blessed
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python36-blessed.
Install python36-blessed on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python36-blessed
using yum
by running the following command:
Install python36-blessed on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install python36-blessed
using dnf
by running the following command:
How To Uninstall python36-blessed on CentOS 7
To uninstall only the python36-blessed
package we can use the following command:
References
Summary
In this tutorial we learn how to install python36-blessed
on CentOS 7 using yum
and dnf
.