(This is all in the command line/prompt) Hi!
So, my problem is MOST BASIC in nature, and it's like this:
If I want, for an example, to install and run 'cowsay' -program, I assume I do it like:
sudo apt-get install cowsay
BUT now, if I just try to use it, like:
cowsay "Cow goes moo"
I get: command not found
So, ok, maybe the program is not installed..?
So I type:
dpkg -L cowsay
And, no, it is installed alright, maybe it's just not registered into some default library cache of programs...(if that even is a thing)?
In short, I have no idea how to proceed. The objects listed via dpkg
are a lot of files with .cow -format
, a few .gz -packages
and a README file
, aka no .exe
.bin
executables that I can find. The readme file has, as far as I can tell, nothing of use. It's just copyright information and short history of the program.
Thank you for your time! :)
which cowsay
and let me see the output! – George Udosen Oct 11 '17 at 13:12When I type:
root@l4126:/# which cowsay
It just gives me:
root@l4126:/#
As in empty line.
Sorry, I am having some issues with posting actual screen-captures.
– Antenni Oct 11 '17 at 13:20/usr/games/
folder. Checkecho $PATH
and see if that folder is in your path. – Terrance Oct 11 '17 at 13:23sudo dpkg -l cowsay
and post the results into your question. – George Udosen Oct 11 '17 at 13:34But this is what that path looks like, so this is not installed? I am very confused. :/

– Antenni Oct 11 '17 at 13:34echo $PATH | grep /usr/games
and post the result let see it's your path – George Udosen Oct 11 '17 at 13:37/usr/games/
to your path. One way to try this out is to run a commandPATH=$PATH:/usr/games
from the terminal then try to run cowsay. This is not permanent, it is just a test. – Terrance Oct 11 '17 at 13:41Thank you! :)
– Antenni Oct 11 '17 at 13:43