Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
fca68364
Commit
fca68364
authored
Mar 07, 2015
by
Franklin Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Linux installation script to not install ghc and cabal.
parent
469bda06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
19 deletions
+24
-19
linux-install.sh
linux-install.sh
+24
-19
No files found.
linux-install.sh
View file @
fca68364
...
...
@@ -3,31 +3,36 @@
# Installation for Linux (tested on Ubuntu 14.10) from IHaskell repo directory.
# TODO Split out setup for installation from Hackage released versions.
ghc
--version
>
& /dev/null
if
[
$?
]
;
then
true
else
echo
"Please install ghc."
fi
cabal
--version
>
& /dev/null
if
[
$?
]
;
then
true
else
echo
"Please install Cabal."
fi
# Install IPython.
# python-pip is out of date, causes problems, so we get the latest version.
# python-pip is out of date, causes problems, so we get the latest version
# using easy_install instead.
#sudo apt-get install python-pip
sudo
apt-get
install
-y
python-dev
easy_install
-U
pip
pip
install
-U
'ipython[all]'
# Install GHC, Cabal, Alex, Happy
# Adjust these as you desire.
CABALVER
=
1.22
GHCVER
=
7.8.4
# You will want to add this to your shell startup to pick up
# what gets installed by Cabal.
export
PATH
=
~/.cabal/bin:/opt/cabal/
$CABALVER
/bin:/opt/ghc/
$GHCVER
/bin:
$PATH
sudo
apt-get update
sudo
apt-get
install
-y
software-properties-common
sudo
add-apt-repository
-y
ppa:hvr/ghc
sudo
apt-get update
sudo
apt-get
install
-y
cabal-install-
$CABALVER
ghc-
$GHCVER
cabal
install
alex happy
sudo
apt-get
install
-y
python-dev
# Make sure to have basic tools installed.
cabal update
cabal
install
happy alex
cabal
install
cpphs
cabal
install
gtk2hs-buildtools
# C libraries
sudo
apt-get
install
-y
libtinfo-dev
sudo
apt-get
install
-y
libzmq3-dev
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment