I want to do an automatic installer for deb installation. Manually we are using:
dpkg -i --force-overwrite xxx.tar .
But how to do it in wxpython? I have GUI ready and with 1 click on button it has to run
that command. any suggestions?
Along with that I do not know how to save dependencies file in other directory.
You can shell out from python to execute arbitrary shell commands. See subprocess. But you will need the user running your program to have sufficient sudo rights to install the package.