New Ubuntu prospect here. I am used to the NPM/Node.js ecosystem where you simply create a
package.json and do an
npm publish and your package is ready to
But then I look at the Ubuntu docs (and related Debian docs):
And it seems it’s not so easy. I read a lot about the "getting a mentor" part, where it sounds like you need to find someone to sponsor your project so you can publish it (somewhere) to be downloaded with
apt-get. But the hello world example in "Create ubuntu packages" link is a giant file, with
./configure being over 1000 lines long.
My question is, are there any "boilerplate" projects or templates to use for creating an Ubuntu package? I searched around on GitHub a bit but didn’t find anything.
- What is needed in the actual project directory structure?
- How do you make it so it can be
What is the simplest directory/folder structure you would need to get started making a package? What do those files need to contain at a bare minimum?
This is different from other questions on this site, because they just link to the documentation like I have, and don’t specify the exact folder structure required. What is the exact minimum file structure for creating a custom ubuntu package installable via "apt-get install mypackage"?