How to Create .deb Packages for Debian, Ubuntu and Linux Mint

Video is ready, Click Here to View ×


How To Create Debian Packages

1. Create the directory to hold the project:

shell) mkdir /home/USER/debpkgs/my-program_version_architecture

2. Create a directory called “DEBIAN” inside the project directory:

shell) mkdir /home/USER/debpkgs/my-program_version_architecture/DEBIAN

3. Copy files into project root directory and include the final paths:

/usr/bin/ would be /home/USER/debpkgs/my-program_version_architecture/usr/bin/

/opt/ would…


7 thoughts on “How to Create .deb Packages for Debian, Ubuntu and Linux Mint”

  • RDE Lutherie

    April 25, 2019 at 4:40 pm

    I love your channel, but do you have a clone of yourself who is into Arch instead of Debian?

    Reply
  • Serge

    April 25, 2019 at 4:40 pm

    Hello Joe As the debpkgs directory normally doesn't exist you need to give the -p option to step 1.
    You could also type cd ../share at 13:47
     Cheers

    Reply
  • George Trepas

    April 25, 2019 at 4:40 pm

    I think this is the first video i ever see in youtube for creating packages in Linux systems

    Reply
  • RAM vs ROM

    April 25, 2019 at 4:40 pm

    You are the best

    Reply
  • Antonio Couto

    April 25, 2019 at 4:40 pm

    A new Debian version is going to be release with /usr merge. What’s your take on this?

    Reply
  • philip cardin

    April 25, 2019 at 4:40 pm

    I will keep your video in my references for sure, thanks!
    Next, how to create or modify an AUR package for Arch systems!

    Reply
  • Too Safe

    April 25, 2019 at 4:40 pm

    Thank you for the video, i've been looking for this.
    Thank: command not found

    edit: no sarcasm btw, very usefull <3

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*