You need some background information about a package before installing it
You can use the dpkg command with the -I parameter.
Please note that you need a *.deb package as a parameter like:
dpkg -I <packagename.deb>
dpkg -I /var/cache/apt/archives/whois_4.7.20_amd64.deb
new debian package, version 2.0.
size 49384 bytes: control archive= 545 bytes.
596 bytes, 17 lines control
Depends: libc6 (>= 2.3.5-1), libidn11 (>= 0.5.18)
Replaces: bsdmainutils (<= 4.5.1), bsdutils (<< 3.0-0)
Maintainer: Marco d'Itri <firstname.lastname@example.org>
Description: the GNU whois client
This is a new whois (RFC 3912) client rewritten from scratch.
It is inspired from and compatible with the usual BSD and RIPE whois(1)
It is intelligent and can automatically select the appropriate whois
server for most queries.
The package also contains mkpasswd, a simple front end to crypt(3).
About the Author
Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.