Programster's Blog

Tutorials focusing on Linux, programming, and open-source

CentOS 7 - Install Pydf

Pydf is an alternative to the df command that I find is much easier to quickly read and understand due to it's use of text-based graphs like below:

Filesystem       Size  Used Avail Use%             Mounted on
/dev/centos/root  13G 1332M   12G 10.0 [#........] /         
/dev/vda1        497M  150M  347M 30.1 [###......] /boot

Unfortunately it is not available for CentOS in the epel repositories, however you can install through pythons package management system.

sudo yum install -y python-pip
sudo pip install --upgrade pip
sudo /usr/local/bin/pip install pydf
Last updated: 8th January 2023
First published: 16th August 2018