Answer the question
In order to leave comments, you need to log in
"Introduction" dependencies in deb package?
Good afternoon!
Is there a way to "shove" some dependencies into a deb package so that when deployed it will install them?
What for?
Ubuntu thinks that Qt 4.7.0 is enough for everyone, it's not. I need 4.7.1 (at least) on the target machine. At the same time, installation longer than 2 clicks is not acceptable. Can you advise something?
Answer the question
In order to leave comments, you need to log in
If we are talking about specifying dependencies for a package, then you need to go to the control. More details are here - habrahabr.ru/blogs/ubuntu/72633/
If you want to put two damn things in one package, then you can probably. Theoretically, you create the directory structure that you need in the end, put libraries and other necessary priblud there. Then create a DEBIAN folder next to it, make a control file in it, fill it. Then say
dpkg -b package_files_dir/ ./name_of_package_built.deb
I don't know if this would work correctly, but in theory it should.
You can do it differently: specify the necessary dependencies for the packages, then build the repository with all the packages needed for installation.
This option is almost 2 clicks away. You just need to connect the repository.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question