mirror of
https://github.com/vale981/apheleia
synced 2025-03-05 09:31:40 -05:00
11 lines
460 B
Bash
11 lines
460 B
Bash
# PPA recommended at https://www.haskell.org/cabal/download.html
|
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FF3AEACEF6F88286
|
|
echo "deb [arch=amd64] http://ppa.launchpad.net/hvr/ghc/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/brittany.list
|
|
|
|
apt-get update
|
|
apt-get install -y cabal-install-3.4 ghc
|
|
ln -s /opt/cabal/bin/cabal /usr/local/bin/
|
|
|
|
cabal v2-update
|
|
cabal v2-install brittany
|
|
cp -L "$HOME/.cabal/bin/brittany" /usr/local/bin/
|