Install elpa-dired-du by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-dired-du
Description:
dired with recursive directory sizes
This package defines a minor mode `dired-du-mode' to show the recursive size of directories in Dired buffers. If `du' program is available, then the directory sizes are obtained with it. Otherwise, the directory sizes are obtained with Lisp.
Homepage: https://elpa.gnu.org/packages/dired-du.html
Version: 0.5-1
Section: universe/lisp