

Go into that folder and create a script that, when executed, creates the Packages.gz, containing all the needed informationen about your deb-packages.ĭpkg-scanpackages. Or create that folder somwhere else and put a symlink in your Public folder: mkdir ~/deb-packages github) account with a public folder.Ĭreate a folder inside your Public-Dropbox-Folder where you put your *.deb Files: mkdir ~/Dropbox/Public/deb-packages

Requirement: dropbox (or anyother service, for ex. Removing package sudo apt-get remove zenity_helloĪs the OP wants a simple way to publish his packages I'm giving an easy hack. If the program correctly installed and everything OK you should see a gtk dialogue Īfter installing open a terminal and type zenity_hello. During installation you should see a gtk dialogue So I recommend to use gdebi package manager. You can open it with software-center but it may not allow you to install. Then you can upload it to Ubuntu Launchpad with dput ppa:/ packet-source.changes deb file with debuild -k'your GPG key here' -S Or your custom name dpkg-deb -build "$HOME"/create_deb "$HOME"/create_deb/b mkdir -p "$HOME"/create_deb/binĬp "$HOME/create_deb/pgmdir/zenity_hello.sh" "$HOME/create_deb/bin/zenity_hello"īuild the. Make package structure and copy programs, data, etc.Ĭreate a structure of your installed programs and its data. ' | zenity -text-infoĪnd make it executable chmod +x "$HOME/create_deb/DEBIAN/prerm" ' | zenity -text-infoĪnd make it executable chmod +x "$HOME/create_deb/DEBIAN/postinst"Ĭreate prerm script, that is executed before removal of the package #!/bin/shĮcho 'Removing program : zenity_hello.sh. Read more about the format of this file here and here.Ĭreate postinst script, that is executed immediately after installation of the package gedit "$HOME"/create_deb/DEBIAN/postinstĮcho 'Installing program : zenity_hello.sh. In Description new line start with a space. Make a file named control inside folder DEBIAN mkdir "$HOME"/create_deb/DEBIANĪnd paste following details Package: hellodebĭescription: This is my first debian package. Make the program executable chmod +x "$HOME/create_deb/pgmdir/zenity_hello.sh"Ĭreate control file for the debian package
#Yakyak ppa available for ubuntu. code#
Paste the following code into it #!/bin/bashĮcho 'HELLO FROM PROGRAM' | zenity -text-info Steps:Ĭreate a sample program in bash mkdir "$HOME/create_deb/pgmdir"

Then we create a control file for the program in order to make a debian installer. In this tutorial first we create a sample program in bash that just show 'HELLO FROM PROGRAM'.
