Now I am using Haskel and investigating its package system.
I found that I can display the list of packages already installed in the environment by typing the command as follows.
pre>>
ghc-pkg list
<<--
And then I want to prepare cabal-install.
The tool might be found here
I had got it and extracted it. After that, I could build the module by this command.
pre>>
runhaskell Setup.hs configure
<<--
At this point, I got error messages like this:
pre>>
Setup.hs: At least the following dependencies are missing:
Cabal >=1.6&&<1.7,
network >=1&&<3,
HTTP >=4000.0.2&&<4001,
zlib >=0.4&&<0.6
<<--
It means I must get them in advance from the HackageDB.
After I got downloaded them all, I must do just runhaskell repeatedly. It's a simple job.
pre>>
runhaskell Setup.hs configure
runhaskell Setup.hs build
runhaskell Setup.hs install
<<--
If you are a Rubyist, you probably find the similarity between the command above and the usage of setup.rb.
Do you know which is the chicken or the egg? :-)
About 30 minutes went by...
Finally, I got the cabal command.
See Also