The apt-cache command can be use to search for an existing APT package.

The snippet below uses apt-cache to search for an APT package containing the term libcurl

apt-cache search libcurl