chroot
You can also use uniget
to install under an arbitrary directory. This is useful for creating chroot environments.
Specifying --prefix
will install the tools under the given directory:
PREFIX/usr/local
for toolsPREFIX/var/lib/uniget
for statePREFIX/var/cache/uniget
for cached data