yahooquote command not found

In this troubleshooting guide we learn how to fix yahooquote command not found error message

Introduction

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

yahooquote: command not found

or when using sudo you get the following error message

sudo: yahooquote: command not found

Solutions to yahooquote: command not found

How To Fix yahooquote: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu yahooquote is provided by libfinance-yahooquote-perl package.

libfinance-yahooquote-perl is:

This is a Perl module to retrieve one or more quotes for stocks, mutual funds, exchange rates, options, … from Yahoo! Finance, covering most (if not all) of the global Yahoo! Finance sites.

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

sudo apt-get -y install libfinance-yahooquote-perl

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

You can also use apt command to install libfinance-yahooquote-perl.

sudo apt -y install libfinance-yahooquote-perl

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

sudo aptitude install libfinance-yahooquote-perl

Summary

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