본문 바로가기

개발일기/v1

ndctl 설치

$ git clone https://github.com/pmem/ndctl.git

 

pmem/ndctl

Helper tools and libraries for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel - pmem/ndctl

github.com

https://github.com/pmem/ndctl/blob/master/ndctl.spec.in 를 확인해서 필요한 거 설치
$ sudo apt install autoconf xmlto automake libtool keyutils pkg-config asciidoctor libkmod-dev libudev-dev uuid-dev libjson-c-dev libkeyutils-dev

 

$ ruby -v (루비있는지 확인 없으면 설치)

$ cd ndctl
$ ./autogen.sh
$ ./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
$ make
$ make check
$ sudo make install
$ cd
$ ndctl -v

'개발일기 > v1' 카테고리의 다른 글

ipmctl 설치  (0) 2021.05.27
DM-WC를 위한 LVM2 설치  (0) 2021.05.27