Wine List .... Interesting

I was just checking my listing on Flatpak and Wine ..... and this came up on Wine ..... never saw this message listing the command to download Wine before ?????? ....

Yeah, if you enter a command for which a program exists but which isn't installed, it'll pop up instructions on how to install that program.

sudo apt search command-not-found

Sorting... Done
Full Text Search... Done
command-not-found/focal-updates,focal-updates,now 20.04.6 all [installed,automatic]
  Suggest installation of packages in interactive bash sessions

python3-commandnotfound/focal-updates,focal-updates,now 20.04.6 all [installed,automatic]
  Python 3 bindings for command-not-found.

Other relevant commands:
tput rev;read -p "Action? " in;tput sgr0;apropos $in # List of commands for action taken

tput rev;read -p "Command? " in;tput sgr0;sudo dpkg -S */$in$* # Show which package a command belongs to

tput rev;read -p "Package? " in;tput sgr0;sudo dpkg -L $in | xargs which # Show which commands belong to a package

2 Likes

Thank you ...... I just found it curious as any other time I have used 'wine list' it never gave me the commands to install it ..... just said something else like .... 'wine not found' ..... but not 'sudo apt install wine' ... or .... 'sudo apt install wine-development' .....

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.