|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
#######
#
# E-scripts on ghcup.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
# (find-eev-quick-intro)
# http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/ghcup.e>
# or at <http://angg.twu.net/e/ghcup.e.html>.
# See also <http://angg.twu.net/emacs.html>,
# <http://angg.twu.net/.emacs[.html]>,
# <http://angg.twu.net/.zshrc[.html]>,
# <http://angg.twu.net/escripts.html>,
# and <http://angg.twu.net/>.
#
#######
# «.2021-jan» (to "2021-jan")
#####
#
# My first attempt (2021jan25)
# 2021jan25 / 2021may03
#
#####
# «2021-jan» (to ".2021-jan")
# https://www.haskell.org/ghcup/
# https://gitlab.haskell.org/haskell/ghcup-hs#manual-install
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
# (find-fline "/tmp/ghcup/")
rm -Rv /tmp/ghcup/
mkdir /tmp/ghcup/
cd /tmp/ghcup/
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org > ocurl.sh
# (find-fline "/tmp/ghcup/")
# (find-fline "/tmp/ghcup/ocurl.sh")
# https://downloads.haskell.org/~ghcup/
# https://downloads.haskell.org/~ghcup/0.1.9/
apti build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
sh ocurl.sh
# (find-angg ".zshrc" "cabal")
# (find-fline "~/.ghcup/bin/")
export PATH=$HOME/.ghcup/bin:$PATH
ghci
* (eepitch-shell2)
* (eepitch-kill)
* (eepitch-shell2)
# (find-fline "~/.ghcup/")
<maerwald> zzz: ghcup install cabal -u
https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.4.0.0/cabal-install-3.4.0.0-i386-unknown-linux.tar.xz
3.4.0.0
# https://github.com/haskell/ghcup
# ^ THIS PROJECT IS NOW DEPRECATED IN FAVOR OF ghcup-hs:
# https://gitlab.haskell.org/haskell/ghcup-hs
# Local Variables:
# coding: utf-8-unix
# End: