Skip to content

Latest commit

 

History

History
96 lines (77 loc) · 2.08 KB

INSTALL.md

File metadata and controls

96 lines (77 loc) · 2.08 KB

Installation

Simply run the following command to add cw-orchestrator to your rust crate:

cargo add cw-orch

Make sure all the prerequisites are met before building packages with cw-orch.

Prerequisites

Cw-orch relies on external libraries that need additional tools installed on your machine:

  • Rust
  • OpenSSL
  • Gcc + Clang (optional, only for osmosis-test-tube)
  • Go (optional, only for osmosis-test-tube)

Ubuntu

Fast way

  • Install the go compiler for osmosis-test-tube.

  • Other installs in one command:

        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; \
        sudo apt install build-essential \
        pkg-config \
        libssl-dev \
        clang

Detailed way

Install the following packages:

  1. The rust toolchain
  2. The gcc compiler.
        sudo apt install build-essential
  3. The pkg-config library
        sudo apt install pkg-config
  4. The open-ssl development library
        sudo apt install libssl-dev
  5. The go compiler for osmosis-test-tube
  6. The clang library for osmosis test tube
        sudo apt install clang

Arch Linux

Fast way

  • You can install all prerequisites in one command:
        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; \
        sudo pacman -Sy gcc \
        pkgconf \
        openssl \
        go \
        clang 

Detailed way

Install the following packages:

  1. The rust toolchain
  2. The gcc compiler.
        sudo pacman -Sy gcc
  3. The pkg-config library
        sudo pacman -Sy pkgconf
  4. The open-ssl development library
        sudo pacman -Sy openssl
  5. The go compiler for osmosis-test-tube
        sudo pacman -Sy go
  6. The clang library for osmosis test tube
        sudo pacman -Sy clang