I recently tried installing a package(say foo) and i came across dependency issue for foo, anyways all i needed was the distribution so installed globally using --lega
--lega