By car, you can access the Internet:
- Run
cabal get pkg-name , where pkg-name is the required package. - Go to the Hackage package page and a
.tar.gz file will appear in the Downloads section, which you can download.
After you receive it, transfer it to another machine, remove it anywhere (sandbox, if you just want it in the sandbox). Then from this directory (where there is a .cabal file) run cabal install .
source share