# Ubuntu/Debian sudo apt install libgsl-dev libblas-dev brew install gsl Error 4: "cabal: Could not resolve dependencies" This is a version conflict. Use a fresh cabal project with a cabal.project file:
cabal get gtools This fetches the tarball and extracts it into a directory named gtools-x.y.z . This is the closest to a literal operation. Step 3: Download and Build (Install Locally) To actually install the library so you can use it in your projects: gtools cabal download
cabal install gtools-0.1.0.0 If you want to download and build gtools inside a project sandbox (to avoid dependency conflicts): # Ubuntu/Debian sudo apt install libgsl-dev libblas-dev brew