Chia cli install on ubuntu

a freshly installed ubuntu minimal/server (without GUI).

Lt. installation instructions


sudo apt-get install chia-blockchain-cli

users@chia:~$ sudo apt-get install chia-blockchain-cli
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 50.5 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 stable/main amd64 chia-blockchain-cli amd64 1.7.0 [50.5 MB]
Fetched 50.5 MB in 6s (8547 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package chia-blockchain-cli.
(Reading database ... 64209 files and directories currently installed.)
Preparing to unpack .../chia-blockchain-cli_1.7.0_amd64.deb ...
Unpacking chia-blockchain-cli (1.7.0) ...
Setting up chia-blockchain-cli (1.7.0) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/ line 78.)
debconf: falling back to frontend: Readline
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host. 

what am I doing wrong?

apt-get install dialog apt-utils -y

you need to set up the Chia repository. Afterward, you can install and update Chia Blockchain from the repository.

Set up the repository

  1. Update the apt package index and install packages to allow apt to use a repository over HTTPS:
sudo apt-get update

sudo apt-get install ca-certificates curl gnupg
  1. Add Chia’s official GPG Key:
curl -sL | sudo gpg --dearmor -o /usr/share/keyrings/chia.gpg
  1. Use the following command to set up the stable repository.
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/chia.gpg] stable main" | sudo tee /etc/apt/sources.list.d/chia.list > /dev/null

Install Chia Blockchain

  1. Update the apt package index and install the latest stable version of Chia Blockchain
sudo apt-get update

sudo apt-get install chia-blockchain

sudo apt-get install chia-blockchain-cli
1 Like