monero-blockchain-prune command not found

In this troubleshooting guide we learn how to fix monero-blockchain-prune command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

monero-blockchain-prune: command not found

or when using sudo you get the following error message

sudo: monero-blockchain-prune: command not found

Solutions to monero-blockchain-prune: command not found

How To Fix monero-blockchain-prune: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu monero-blockchain-prune is provided by monero package.

monero is:

Full Monero client (a.k.a. Monero Core) is a full-node wallet for the Monero network.

Monero (XMR) is an open-source cryptocurrency that focuses on privacy and decentralization. Monero uses a public ledger to record transactions while new units are created through a process called mining. Monero aims to improve on existing cryptocurrency design by obscuring sender, recipient and amount of every transaction made as well as making the mining process more egalitarian.

This package provides the daemon monerod for Full Monero client, and command-line tools to interact with the daemon.

Beware that full global transaction history (blockchain) is stored locally, which may require very large amounts of disk space.

Disk space requirements (as of June 2018): ~40 gigabyte data, ~50 gigabyte on disk, growing ~2 gigabyte per month. More info at https://moneroblocks.info/stats/blockchain-growth.

To fix this problem, we can install more using the command below.

sudo apt-get -y install monero

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install monero.

sudo apt -y install monero

Or if you have aptitude installed you can use the following command.

sudo aptitude install monero

Summary

In this tutorial we learn how to fix monero-blockchain-prune command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.