You are not logged in.

#1 2008-06-18 19:07:44

windowbreaker
Member
Registered: 2008-06-18
Posts: 46

How to install the GNU 'strings' command?

I need the 'strings' command, which displays alphanumeric strings in a given file.  I am unable to find an arch package for it.

I've tried searching for it with

pacman -Ss strings

(not there).
I've searched the AUR packages for 'strings' http://aur.archlinux.org/packages.php?O … _Search=Go (not there).
I've also googled this to no avail.

Anyone know the answer?  Thanks in advance.

Offline

#2 2008-06-18 19:12:02

sniffles
Member
Registered: 2008-01-23
Posts: 275

Re: How to install the GNU 'strings' command?

You're looking for binutils.

Offline

#3 2008-06-18 19:12:03

ThomasAdam
Member
From: Southampton, England
Registered: 2005-10-26
Posts: 149

Re: How to install the GNU 'strings' command?

windowbreaker wrote:

I need the 'strings' command, which displays alphanumeric strings in a given file.  I am unable to find an arch package for it.

I've tried searching for it with

pacman -Ss strings

(not there).
I've searched the AUR packages for 'strings' http://aur.archlinux.org/packages.php?O … _Search=Go (not there).
I've also googled this to no avail.

Anyone know the answer?  Thanks in advance.

It's part of binutils, which is in the core -- so you should have it.

You can always check this yourself:

pacman -Qo /usr/bin/strings

-- Thomas Adam

Offline

#4 2008-06-18 19:13:08

sniffles
Member
Registered: 2008-01-23
Posts: 275

Re: How to install the GNU 'strings' command?

ThomasAdam: yikes beat you by 1 second!?

Offline

#5 2008-06-18 19:43:52

windowbreaker
Member
Registered: 2008-06-18
Posts: 46

Re: How to install the GNU 'strings' command?

which strings

which: no strings in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core)

pacman -Ql binutils

error: package "binutils" not found

I quickly installed it with

pacman -Sy binutils

Question:
I installed this system a week ago, selecting all packages from core.  Upon install, I updated with

pacman -Syu

Any idea why binutils was not installed? 

By the way, thanks for the quick responses!  I'm just curious why it wasn't loaded, and if anything else I may need is not loaded.

Thanks again.

Offline

#6 2008-06-18 19:50:10

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: How to install the GNU 'strings' command?

I assume that you'll notice it if you need something you haven't got, if you don't, what would you need it for wink
And if you're worried, check whether the whole base group is installed (pacman -S base).

Offline

#7 2008-06-18 20:25:06

windowbreaker
Member
Registered: 2008-06-18
Posts: 46

Re: How to install the GNU 'strings' command?

Ramses de Norre wrote:

I assume that you'll notice it if you need something you haven't got, if you don't, what would you need it for wink

Good point.  Thanks for the help.

Offline

Board footer

Powered by FluxBB