I want to make a simple Debian package to install a simple tool that depends on Qt4 libs.
In control file I have defined that it depends on Qt4 libs however, by the time
If you install it via dpkg
it won't work because dkpg
doesn't know where to find additional dependencies. You could do it via apt-get
if you build your own repo, but it's kind of time-consuming the first time (it's not difficult, just something "new" the first time that needs some time to be learnt).
On the other hand, and the solution you are probably looking for is gdebi
(you may need to install it: apt-get install gdebi-core
). It's a tool that checks the dependencies for a package and calls apt-get
to fetch and install them, and then calls dpkg
to install your package.