On Sat, 25 Jan 2025, Jude DaShiell wrote:

By way of example, installing the ghc compiler:
sudo apt install ghc|tee ghc.sug
answer no to install packages.
You get ghc.sug on your drive and can then look over the suggested packages to 
install.
If a problem happens later since you declined to install one of the suggested 
packages when you actually do install ghc, you at least have a list you can use 
to get the necessary packages to install on your drive.

You can always run:

apt show ghc

or

apt-cache show ghc

which will list the suggested packages along with the other package information.

If the package is installed, you can also run:

dpkg -s ghc

HTH,
Geoff.

Reply via email to