This article will focus on building and using the duperemove utility from the newest ('live') source code directly out of the git repository. An ebuild is in the main Gentoo repository. Those who would like to quickly install an older version can simply emerge the package.
Duperemove needs a kernel version equal to or greater than 3.13.
Install the following build time dependencies:
emerge --ask --update =dev-db/sqlite:3 =dev-libs/glib:2
Get the source
git clone https://github.com/markfasheh/duperemove.git
Compile and install
Compile the source using the make command:
At this point the dupremove utility can be ran from the current directory or it can be installed to typical locations on the operating system. To install use the make install command as root:
You did it! Duperemove should now be manually built and installed.