[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash: which: command not found? + (E: Unable to locate package which? ...)



On 2022-07-08 at 07:48, Greg Wooledge wrote:

> On Fri, Jul 08, 2022 at 12:47:19PM +0100, mick crane wrote:
>
>> here on bookworm
>> mick@pumpkin:~$ ls -la /usr/bin |grep which
>> lrwxrwxrwx  1 root root          23 Jan 23 18:05 which ->
>> /etc/alternatives/which
>> -rwxr-xr-x  1 root root         946 May  1 17:47 which.debianutils
>> mick@pumpkin:~$
>> 
>> what are these "alternatives" ?
> 
> https://wiki.debian.org/DebianAlternatives

There's also

/etc/alternatives/README

which points you to the update-alternatives(1) man page, which provides
a reasonable level of documentation of the concept.

(Though I'll admit that that README may be a bit hard to notice, among
the many other items in that directory.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: