How to install strings in Ubuntu server

I installed Ubuntu server 16.04.3 LTS but I cannot find the strings command:

$ sudo strings /data/storage
sudo: strings: command not found

$ man strings
No manual entry for strings

How am I supposed to install it?

Asked By: Asarluhi


You need to install binutils:

sudo apt-get install binutils

That should do the job.

Answered By: Nikolay Nikolov

It may be already installed but under the name strings-GNU instead of strings. You’ll need to create a link in /usr/bin.

ln -s strings-GNU strings
Answered By: Anon
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.