dfc... Why this name?

Well... Short question, long answer.
As this tool is similar to df(1) I thought I should include df in the name. So, why append a c? Well, as dfc is written in C why not? I know, df(1) also is written in C so it does not make any sense. So let's say that c is for "color" as dfc(1) supports them and df(1) does not. Finally, dfc are 3 keys that are close to each another on the keyboard (at least on QWERTY, QWERTZ and AZERTY keyboard) so it makes it quick to type.

On which platform is dfc available?

dfc runs on those platforms:

  • DragonFly BSD (since version 3.0.0)
  • Linux
  • FreeBSD / PC-BSD (since version 2.4.0)
  • Mac OSX (since version 2.5.0)
  • NetBSD (since version 3.0.0)
  • OpenBSD (since version 3.0.0)
  • Solaris/Illumos (since version 3.1.0)

Why did you write this tool?

For fun mainly :-)

Which license does dfc use?

A BSD 3-clause license.

How do I install it?

  • Archlinux: from the community repository: pacman -S dfc
  • Debian: from the official repositories: apt-get install dfc or aptitude install dfc
  • DragonFly BSD: since version 3.6, it can be installed from dports (sysutils/dfc) or or pkg install dfc
  • FreeBSD: from the ports, under the sysutils category: cd /usr/ports/sysutils/dfc && make install clean or pkg install dfc
  • Frugalware: from the official repositories: pacman-g2 -S dfc
  • Gentoo: from the official portage tree
  • MacOS: available through homebrew: brew install dfc or manually compile and install it
  • Mageia: since Mageia 2, dfc is available in the core repository.
  • OpenBSD: pkg_add -v dfc or from the ports
  • Slackware: there is a slackbuild available at
  • SourceMage: from the stable grimoire
  • Ubuntu: dfc is available in Ubuntu repositories starting from Ubuntu 12.10. If you use an older version of Ubuntu (or want the latest version of dfc), you can install the appropriate unofficial deb created by Gauthier Malfait for Ubuntu version 10.04, 11.04, 11.10 and 12.04.

It might be already packaged for some other distributions as well.

If dfc(1) is not available in your distro's repositories you can still install it manually. Just read the README which is in the source tarball (you can find it here) and follow the instructions.
Best would be that you ask packagers of your distribution to include dfc(1) in the official repositories so you do not have to manually update.

If you know of any distribution that packages dfc(1), thanks to inform me so I can add it to this page.

How do I clone the git repository?

Use the following command:

git clone git://

Are there alternatives to dfc?

Yes, there are some actually. I was not even aware of them until version 2 of dfc was released!
So, if you want to compare the tools, here are the ones I found:

Updated by Robin Hahling over 3 years ago ยท 58 revisions