Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#14222 closed bug (no change required)

bash package installation recommendations

Reported by: kallisti5 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

One nice feature modern Linux desktops have is recommending installing packages for commands.

Here is an example on Fedora:

$ qemu-system-ppc
bash: qemu-system-ppc: command not found...
Install package 'qemu-system-ppc-core' to provide command 'qemu-system-ppc'? [N/y] 

We could do something extremely similar with pkgman:

/Code> meson
-bash: meson: command not found
/Code> pkgman search cmd:meson
Status  Name   Description                     
-----------------------------------------------
        meson  A High productivity build system
/Code> 

Mock up A "Let the user figure it out":

/Code> meson
-bash: meson: command not found

The following software packages provide cmd:meson...
Status  Name   Description                     
-----------------------------------------------
        meson  A High productivity build system

Mock up B (more automated + fedora like):

/Code> meson
-bash: meson: command not found
Install 'meson' package for cmd:meson? [N/y]:

Attachments (1)

command_not_found.txt (43.0 KB ) - added by miqlas 15 months ago.
command_not_found output

Download all attachments as: .zip

Change History (4)

comment:1 by kallisti5, 15 months ago

Component: - GeneralSystem

comment:2 by pulkomandy, 15 months ago

Resolution: no change required
Status: newclosed

pkgman install command_not_found

in reply to:  2 comment:3 by miqlas, 15 months ago

Replying to PulkoMandy:

pkgman install command_not_found

It is broken or something. Will report at HaikuPorts.

by miqlas, 15 months ago

Attachment: command_not_found.txt added

command_not_found output

Note: See TracTickets for help on using tickets.