You are viewing a single comment's thread from:

RE: EOS Build Guide on Ubuntu (Updated)

in #eoskorea7 years ago

hello @clayop,

I am building it on amazon linux machine. I can run easily upto below command
DEBIAN_FRONTEND=noninteractive yum install -y sudo wget net-tools ca-certificates unzip
(and note I have to use yum)

but next command - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main" >> /etc/apt/sources.list.d/llvm.list

gives following error

-bash: /etc/apt/sources.list.d/llvm.list: No such file or directory

what to do?? yr help is much appreciated.

Sort:  

If Amazon/EC2 is still based on CentOS/Fedora, maybe you could try something like this:

$ echo 'HOME_DIR=/home/$(whoami)' >> .bashrc; source .bashrc ; curl -O http://releases.llvm.org/4.0.1/clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25.tar.xz; tar xvf clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25.tar.xz; echo 'export PATH=$HOME_DIR/clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25:$PATH' >> .bashrc; source .bashrc; cd ~

OR

$ echo 'HOME_DIR=/home/$(whoami)' >> .bashrc
$ source .bashrc
$ curl -O http://releases.llvm.org/4.0.1/clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25.tar.xz
$ tar xvf clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25.tar.xz
$ echo 'export PATH=$HOME_DIR/clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25:$PATH' >> .bashrc
$ source .bashrc
$ cd ~

Coin Marketplace

STEEM 0.28
TRX 0.28
JST 0.047
BTC 95915.35
ETH 3577.15
SBD 3.64