3# Work in progress: create a list of commands necessary to get Stackage
4# up-and-running on a freshly installed Debian-based system (including Ubuntu).
7# wget -O - https://raw.github.com/fpco/stackage/master/debian-bootstrap.sh | bash -ex
9# NOTE: Requires that GHC and Cabal are installed and on your PATH. For
11# http://www.stackage.org/install
15mkdir /home/stackage -p
18export DEBIAN_FRONTEND=noninteractive
20apt-get install -y software-properties-common python-software-properties git
22add-apt-repository ppa:hvr/ghc -y
23add-apt-repository -y ppa:zoogie/sdl2-snapshots
24add-apt-repository -y ppa:marutter/rrutter
25add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
28sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
29echo 'deb http://download.fpcomplete.com/ubuntu trusty main'|sudo tee /etc/apt/sources.list.d/fpco.list
46 libcurl4-openssl-dev \
54 libgirepository1.0-dev \
62 libgtksourceview-3.0-dev \
90 libwebkitgtk-3.0-dev \
109mkdir /tmp/nettle-build
112wget https://ftp.gnu.org/gnu/nettle/nettle-3.1.1.tar.gz
113tar zxf nettle-3.1.1.tar.gz
115./configure --prefix=/usr
119mkdir -p /usr/lib/x86_64-linux-gnu/
120ln -sfv /usr/lib/libnettle.so.6.1 /usr/lib/x86_64-linux-gnu/libnettle.so.6
122rm -rf /tmp/nettle-build
124# Buggy versions of ld.bfd fail to link some Haskell packages:
125# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
126# faster anyways and uses less RAM.
127update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20
128update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list