Really I want to ask, "how do I get apt search
to show up more like Mint apt search
?"
When I use Mint to search packages, they're shown on one line and my search terms are highlighted (colored) as in grep --color=auto
. Also, there's a package state at the front of the line with a character describing the package's installed state, as in "i" if it's installed (see screenshot), or "v" or "p" (which have other meanings than it's installed).
Is there a setting I can change so that all my apt searches show on one line? With a short summary of the package's installed state, like "i"? With the search terms highlighted in the highlight color like grep? Is there a command line flag, or (better) a config file that I can edit so the results are always shown (as described above) without passing command line flags?
man apt-cache
has no mention of "color" or "highlight" or ("line" as it relates to one-line output)

user@computer:~# apt show apt
Package: apt
Version: 2.4.8
...
user@computer:~# apt-file search $(which apt)
mintsystem: /usr/local/bin/apt
user@computer:~# apt-file show mintsystem
mintsystem: /usr/local/bin/apt
user@computer:~# grep search $(which apt)
...
elif argcommand == "search":
command = ["aptitude", "-w", columns, argcommand] + argoptions
--
user@computer:~# apt help search apt
"apt search apt" is equivalent to "aptitude -w 104 search apt"