Metadata-Version: 2.1
Name: ziion
Version: 1.0.1
Summary: ziion-cli provides an easy way to manage rust and solc packages for ARM and AMD.
Author: Halborn
Description-Content-Type: text/markdown

## Pre-Requisites

- Debian 11
- python3.10
- pip3.10
- cargo-update

## Install python3.10

1. Ensure that your system is updated and the required packages installed.

`sudo apt update && sudo apt upgrade -y`

1. Install the required dependencies:

`sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev`

1. get python3.10 tar.gz

`wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz`

`tar -xf Python-3.10.*.tgz`

`cd Python-3.10.*/`

`./configure --enable-optimizations`

`make -j4`

`sudo make altinstall`

## **Install Cargo and Solc prerequisites**

1. `sudo apt install lsb-release wget software-properties-common gnupg pkg-config libssl-dev build-essential cmake git libboost-all-dev libjsoncpp-dev jq`

## Install rust

1. `wget -O rustup.sh https://sh.rustup.rs`
2. `bash rustup.sh -y`
3. `source "$HOME/.cargo/env"`

## Install cargo-update

`cargo install cargo-update`

## Install ziion cli

`sudo pip3.10 install ziion`

## Upgrade ziion cli

`sudo pip3.10 install ziion -U`
