Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

OSO add 1.14.x compile dependency #221

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion node-setup/000_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If we are using an AWS instance running Amazon Linux AMI 2 (see the [AWS walk-th

sudo yum update -y
sudo yum install git gcc gcc-c++ tmux gmp-devel make tar wget zlib-devel -y
sudo yum install systemd-devel ncurses-devel ncurses-compat-libs -y
sudo yum install systemd-devel ncurses-devel ncurses-compat-libs libsodium-devel -y
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't work out of the box for me, I had to add another source for the package, as it wasn't available at aws linux 2.

This is what I had to do:
First add the lux repo to yum:

sudo rpm -Uvh http://repo.iotti.biz/CentOS/6/noarch/lux-release-6-3.noarch.rpm
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-LUX

I then had to edit the .repo file to point to the right place for some reason. edit this file /etc/yum.repos.d/lux.repo to contain the following:

[lux]
name=CentOS $releasever - $basearch - Lux
baseurl=http://repo.iotti.biz/CentOS/6
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LUX  

source


For Debian/Ubuntu use the following instead:

Expand Down Expand Up @@ -138,6 +138,8 @@ Now we build and install the node with ``cabal``, which will take a couple of mi

cabal install cardano-node cardano-cli

#### Building 1.14.x has an added dependency. See [Cabal dependencies](https://github.com/input-output-hk/cardano-node/blob/master/README.md#dependencies) for instructions.

This will build and install `cardano-node` and `cardano-cli` into your `~/.cabal/bin` folder by default, so the remark about your `PATH` from above applies here as well: Make sure folder `~/.cabal/bin` is in your path or copy the executables to a folder that is. Alternatively you can run `cabal install cardano-node cardano-cli --installdir="$HOME/.local/bin"` to install the `cardano-node` and `cardano-cli` directly into your `~/.local/bin` folder.

__Note__: When using __cabal install__, make sure you have `overwrite-policy: always` in your `.cabal/config` or delete old versions of `cardano-node` and `cardano-cli` from `~/.cabal/bin`. Otherwise cabal install will not overwrite the old executables.
Expand Down