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

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch