I just installed a package from Ubuntu software called gstreamer. Is there any general way that I can see what commands are run by the Ubuntu software center when installing a package so that we can regenerate them inside our scripts?
I am troubled finding the command line equivalent for these sort of installations.
I tried to grep a list of installed packages but it returns many packages with that keyword.
sudo apt list --installed | grep gstreamer
Does this mean that when we install gstreamer from Ubuntu software all these packages are installed automatically?
Is there a general solution for all packages? That is to see what commands are run behind the scene when we install a package using Ubuntu Software.
dbus-monitor
command...but it's machine talk, not trivial for humans to parse./var/log/apt/history.log
) to see what deb packages were installed; but Ubuntu Software allows you to install different types of packages, so that log for example will show only deb packages. – guiverc Feb 06 '22 at 04:17