Friday 3 June 2016

Haskell: cabal: Specify the version of package to install

‘cabal install pcakageDetails’ install the given package.


For example ‘cabal install 'directory-1.2.5.0' install directory package with version 1.2.5.0.

$ cabal install 'directory-1.2.5.0'
Resolving dependencies...
Downloading directory-1.2.5.0...
Configuring directory-1.2.5.0...
Building directory-1.2.5.0...
Installed directory-1.2.5.0
Updating documentation index
/Users/harikrishna_gurram/Library/Haskell/share/doc/x86_64-osx-ghc-7.10.3/index.html



Previous                                                 Next                                                 Home

No comments:

Post a Comment