I am trying to build inkscape (master) on Ubuntu 22.04. The list of dependencies is long, and for each of them I am "guessing" the package name I need to install in APT. Thanks to a tiny bit of experience, googling and APT autocompletion, this is possible, though it takes 10sec to a few minutes for each package. 

But I feel I am missing something. Is there no smarter way than this guessing?

Sincerely, Thomas