To install the Slic3r dependencies as non-root (many people prefer not to touch their system directories), first download and unpack local::lib and execute the following commands within the newly unpacked local-lib directory:
Your environment is now set up for installing perl modules under ~/perl5/ (the above instructions assume you are using /bin/bash as your shell, please see the local::lib documentation for csh/zsh instructions). Next, execute the following commands to install the Slic3r dependencies: