From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Creating your own packages

Creating your own packages - Linux Tutorial

From the course: Linux Tips

Creating your own packages

- [Instructor] In many cases, when we need software we can install it from repositories, but we can also distribute our own software by creating packages and sharing and installing them manually. In this episode, we'll take a quick look at a creating a package for the D Package package management software in order to bundle up and distribute a custom tool. To make a binary package for a Debian system, we need to create a folder structure that will be read by the packaging tool. This folder structure will specify both the location where included files will end up on the destination system and it contains the metadata for the packages as well. The first folder we need to create represents the name of the app and the version. I'll write mkdir myapp_1.0. Inside that folder, we'll need a folder called DEBIAN all caps and inside there, we'll have a control file which specifies the metadata for the package. I'll take a moment to add a few basic fields here. The first is called package, then…

Contents