At this moment Autodir is available in the main archive of Debian GNU/Linux and all its derivative distribution, including Ubuntu. Source repository is hosted on Github at https://github.com/fpl/autodir/.
After downloading the source, follow these simple steps to install :
Unpack the source.
$ tar zxvf <tar file name>
Move to the expanded directory and execute the following commands:
$ ./configure
$ make
# make install
The configure
script checks for the required libraries. If these are not present it will stop.