I'm new in Ubuntu. I'm a web dev and have created html app using electron.
There are a lot of instruction how to create a deb package. So now I have built a .deb package and can install it. However I couldn't find some issues:
- How to make my package updatable via update manager? I have found here that I can command
sudo add-apt-repository deb http://something something
Is it a correct if I will run this command in postinstall script? and what means something and something
What should be a structure of files? I have found this this link is software updater. So the question is: is it a standard dir/files tree and where I can read the description of this structure?
How I can make my software installable via apt-get? I want to keep source on my server
What is a signature and how I can sign my software.
Thanks for any information, because I've spent 3 days and couldn't find needed info about it.
.install
files install the package files. That has to obey the File System Hierarchy. The structure of thedebian
folder is also important, detailed in the Debian New Maintainers / Packaging Guide. – Thomas Ward Jul 05 '16 at 17:56