#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: | ||
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)
Change History (4)
comment:1 by , 7 years ago
Component: | - General → System |
---|
follow-up: 3 comment:2 by , 7 years ago
Resolution: | → no change required |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Replying to PulkoMandy:
pkgman install command_not_found
It is broken or something. Will report at HaikuPorts.
Note:
See TracTickets
for help on using tickets.
pkgman install command_not_found