How To Install php-pecl-ncurses on CentOS 7
Introduction
In this tutorial we learn how to install php-pecl-ncurses
on CentOS 7.
What is php-pecl-ncurses
ncurses (new curses) is a free software emulation of curses in System V Rel 4.0 (and above). It uses terminfo format, supports pads, colors, multiple highlights, form characters and function key mapping. Because of the interactive nature of this library, it will be of little use for writing Web applications, but may be useful when writing scripts meant using PHP from the command line.
We can use yum
or dnf
to install php-pecl-ncurses
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-pecl-ncurses.
Install php-pecl-ncurses on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install php-pecl-ncurses
using yum
by running the following command:
Install php-pecl-ncurses 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 php-pecl-ncurses
using dnf
by running the following command:
How To Uninstall php-pecl-ncurses on CentOS 7
To uninstall only the php-pecl-ncurses
package we can use the following command:
References
Summary
In this tutorial we learn how to install php-pecl-ncurses
on CentOS 7 using yum
and dnf
.