반응형

오늘은 ncurses 를 해보려고 한다.

 

환경은 아래와 같다.

OS : Rocky Linux release 9.3 (Blue Onyx)

 

우선 ncurses 패키지에 대해 검색해보았다.

[abc@abc demo]$ dnf search ncurses
Rocky Linux 9 - BaseOS                                                                          2.7 MB/s | 2.2 MB     00:00    
Rocky Linux 9 - AppStream                                                                       5.4 MB/s | 7.4 MB     00:01    
Rocky Linux 9 - Extras                                                                           23 kB/s |  14 kB     00:00    
=============================================== Name & Summary Matched: ncurses ================================================
ncurses.x86_64 : Ncurses support utilities
ncurses-c++-libs.x86_64 : Ncurses C++ bindings
ncurses-c++-libs.i686 : Ncurses C++ bindings
ncurses-devel.x86_64 : Development files for the ncurses library
ncurses-devel.i686 : Development files for the ncurses library
ncurses-libs.x86_64 : Ncurses libraries
ncurses-libs.i686 : Ncurses libraries
==================================================== Name Matched: ncurses =====================================================
ncurses-base.noarch : Descriptions of common terminals
ncurses-term.noarch : Terminal descriptions

 

CentOS 나 Redhat 은 yum 명령어를 dnf 명령어를 대체해서 사용하면 된다.

(yum search ncurses)

 

찾은 ncurses-devel.x86_64 를 설치하면 된다.

# Rocky linux
sudo dnf install -y ncurses-devel.x86_64

# CentOS / Redhat
sudo yum install -y ncurses-devel.x86_64

 

 

반응형

+ Recent posts