In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to install ncurses under Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install ncurses under Linux.
Ncurses (new curses) is a set of programming libraries that provide a series of functions for users to call to generate a text-based user interface. The n in the name ncurses means "new" because it is the free software version of curses. Because of AT&T 's "infamous" copyright policy, people had to replace it with ncurses later.
1) method 1: install the ncurses package of RPM
Here you can install either the manual RPM package command or the yum command, and we use the RPM package command to install. The installation commands are as follows:
[root@localhost] # rpm-ivh / mnt/cdrom/Packages/ncurses-5.7-3.20090208.el6.i686.rpm
[root@localhost] # rpm-ivh / mnt/cdrom/Packages/ncurses-devel-5.7-3.20090208.el6.i686.rpm
[root@localhost] # rpm-ivh / mnt/cdrom/Packages/ncurses-libs-5.7-3.20090208.el6.i686.rpm
[root@localhost] # rpm-ivh / mnt/cdrom/Packages/ncurses-base-5.7-3.20090208.el6.i686.rpm
[root@localhost] # rpm-ivh / mnt/cdrom/Packages/ncurses-term-5.7-3.20090208.el6.i686.rpm
[root@localhost ~] # rpm-ivh/mnt/cdrom/Packages/ncurses-static-5.7-3.20090208.el6.i686.rpm
But what you need to note here is that "ncurses-static" is on the second CentOS CD. After the installation is complete, you can proceed to install the next software MySQL.
2) method 2: install the source package of ncurses
The installation steps are as follows:
[root@localhost ~] # cd / usr/locai/src/ncurses-5.9# enter the ncurses extracted directory
[root@localhost ncurses-5.9] #. / configure\ # pre-compilation configuration-with-shared\ # generates shared libraries; without-debug\ # does not generate debug libraries; without-ada\ # does not compile to ada bindings, because you cannot use the ada-enable-overwrite # parameter to install the header files into the / tools/include directory instead of / tools/include/ncurses directory when you enter the chroot environment
[root@localhost ncurses-5.9] # make # compilation
[root@localhost ncurses-5.9) # make install # compile and install
At this point, I believe you have a deeper understanding of "how to install ncurses under Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.