2009年2月16日星期一

how to kickstart pugs learning with ubuntu hardy?

now we can add a new file named /etc/apt/sources.list.d/seereason.list
with 2 lines inside:

deb http://deb.seereason.com/ubuntu hardy-seereason main
deb-src http://deb.seereason.com/ubuntu hardy-seereason main

the network speed is not good, but still better than manual upgrading to ghc6.10 :)
then we can invoke this command:

sudo apt-get install cabal libncurses-dev

the keyring of that site seems not work, so not very safe feeling at this feedback:
WARNING: The following packages cannot be authenticated!

anyway it will give us something like cpan, which is named cabal.

cabal update
cabal install pugs

run your local pugs with this command:
.cabal/bin/pugs

没有评论: