Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am 0xmohit on github.
  • I am magarwal (https://keybase.io/magarwal) on keybase.
  • I have a public key whose fingerprint is C8F6 9F5F 7059 C32B 3328 DFE4 8BE9 D15D 0B0D 06EB

To claim this, I am signing this object:

@0xmohit
0xmohit / ghc-ubuntu.bash
Last active June 30, 2016 11:39
Installing GHC on Ubuntu
#!/bin/sh
GHC_VERSION=8.0.1
CABAL_VERSION=1.24.0.0
CABAL_INSTALL_VERSION=1.24.0.0
CABAL_INSTALL_DIR=/usr/local/cabal
# Installing ghc
cd /tmp
sudo apt-get -y install libgmp-dev