list of installed packages without using apt?

thufir hawat.thufir at gmail.com
Tue Nov 28 10:59:24 UTC 2017


On Mon, 27 Nov 2017 15:18:02 -0700, Stuart McGraw wrote:


> I dont want to use apt because: 1) I am using in a shell script and apt
> prints an annoying warning


Have you tried apt-cache?

I don't know how safe it is...just a suggestion.  I can't recall, but apt-
get and apt-cache don't display that warning, I *think*, when run in bash 
scripts.


-Thufir





More information about the ubuntu-users mailing list