Pejman Moghadam / Slackware

Slackware 13.1 - Installing ncdu (with epkg)

Public domain


Installation

cd /usr/src
wget -c "http://pmoghadam.com/homepage/Pages/Deposit/Source-packages/ncdu-1.7.tar.gz"
su - install
cd /usr/src
tar xf ncdu-1.7.tar.gz
cd ncdu-1.7
./configure --prefix=/usr --mandir=/usr/man && make
make install DESTDIR=/usr/local/encap/ncdu-1.7
cd /usr/local/encap/
mkencap ncdu-1.7
logout
cd /usr/local/encap/
epkg ncdu-1.7

Usage

ncdu -x

-x     Only count files and directories on the same filesystem

BY: Pejman Moghadam
TAG: epkg, ncdu
DATE: 2011-02-06 12:35:09


Pejman Moghadam / Slackware [ TXT ]