In this context, packaging refers to the creation and maintenance of Debian packages. Whether you are looking to update a package for your personal use or wondering how to get your software into the hands of Ubuntu users, this tag is for you.

learn more… | top users | synonyms

87
votes
6answers
32k views

What is the simplest Debian Packaging Guide?

I went to the Ubuntu wiki but got confused,there were too many ways. Please tell me an easy guide to Debian packaging.
86
votes
6answers
7k views

How to get my software into Ubuntu?

As a developer of free software, I want to get my application into Ubuntu. Should I provide a source tarball and ask for packaging? Or should I create a package myself? Should I target Ubuntu ...
58
votes
5answers
17k views

How do I create a deb package for a single python script?

I have a single python script that I want to distribute as a deb package. It is a indicator which shows local date in Unity panel. I did follow create a .deb Package from scripts or binaries but I ...
54
votes
1answer
24k views

create a .deb Package from scripts or binaries

I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package ...
43
votes
1answer
7k views

How to create a meta-package that automatically installs other packages?

I'd like to be able to create a package that doesnt contain any code or programs itself, but instead installs other packages that exist in the repositories onto a computer, sort of how the ubuntu-...
36
votes
9answers
13k views

Upgrading to latest stable Mono

Mono 2.8 was recently released boasting a couple of large performance improvements. It's far too late for it to make it into Maverick and I'm fairly inpatient. I don't use Mono for anything mission-...
30
votes
2answers
3k views

PPA & Packaging: Having versions of packages for multiple distros

(quote from chat) Got a PPA on launchpad for source packages for an IRC bot project I'm associated with (since its all the intermediate packaging for the stuff between releases, it's classified as ...
22
votes
2answers
759 views

How does Application Review Board work?

According to https://wiki.ubuntu.com/AppReviews the Application Review Process is good both for upstream software developers and Ubuntu packagers. The point seems to be that the upstream developers ...
20
votes
2answers
2k views

Why do some packages have extra numbers on the front of their version string?

I have just noticed that Wine (and a number of other packages) have shifted their versioning scheme to something like: 1:1.6.2-0ubuntu3 I understand everything after the 1:... But what does the 1: ...
20
votes
3answers
1k views

How do I propose my project to be part of Debian too?

I have a new project hosted at launchpad.net. My project can be useful for both: Ubuntu and Debian. However, I can't find a documentation to start host my project at launchpad.net and get my package ...
19
votes
2answers
6k views

Why use sbuild over pbuilder?

There are numerous ways to build Debian packages in a clean and reproducible environment. Two of the most frequently used are pbuilder and sbuild. Personally, I've always used pbuilder. I find ...
19
votes
1answer
492 views

How to apply a changelog file to packages in a PPA when building from recipe?

When my package gets build by launchpad using a recipe, it ignores the ./debian/changelog file I provide, and it generates a useless one like following: harmonyseq (0.14~natty1) maverick; urgency=low ...
19
votes
1answer
907 views

Confused about building OpenStack Packages?

I found OpenStack build task on Ubuntu QA site, but I am a little confused about the build steps. Here's the link for build steps: https://jenkins.qa.ubuntu.com/view/Openstack_Testing/view/Grizzly/...
18
votes
5answers
494 views

How to get more people involved in improving X.org for Ubuntu? [closed]

In Ubuntu, X is one of the more critical pieces in the stack. As such, we get a TON of questions and bug reports about it, probably about 100 times as many as we have manpower to handle. Canonical ...
16
votes
3answers
4k views

What is an “AppImage”? How do I install it?

I just read Meet Etcher, A Stylish Open-Source USB Image Writer Tool. It talks about downloading an AppImage. Yes, Linux; the Linux packages is distributed as an .appimage for 32-bit and 64-bit ...
16
votes
4answers
22k views

Compiling source into a DEB package

I have always had a problem installing and removing compiled software, so I have decided I would like to build software from source into a .deb package for easier installation/removal. I would like ...
16
votes
2answers
1k views

What is the Snap packaging format?

I have a very little knowledge about the 'Snap packaging format'. What I know is that 'Snap' is an alternative packaging format like .deb. What I don't know is Why did Canonical chose it? What ...
16
votes
7answers
6k views

Graphical tool for creating Deb packages

Are there any graphical tools for creating ubuntu/debian packages?
15
votes
2answers
154 views

Is is possible to get a patch included in the current release? If so, how?

So a while back I reported a bug in Compiz's Place Window plugin. It's a fairly major regression for people affected by it: mainly those using Gnome-Fallback, judging by the reports. A patch ...
15
votes
0answers
606 views

How do I put a package into the Ubuntu repositories? [duplicate]

Possible Duplicate: How to get my software into Ubuntu? I've created a Python application for Ubuntu. How do I package it and submit it for possible inclusion in the universe repository?
14
votes
1answer
846 views

How can GIMP 2.8 have two different icons together?

In Unity dash GIMP 2.8.10 has a icon and uses a different one in launcher. GIMP in Dash GIMP in Launcher I searched for GIMP in "File System" and got this. How can this be done while ...
13
votes
2answers
5k views

How and why to create -dbg, -dev, -doc packages?

I'm writing an Ubuntu package for a package which essentially provides a number of libraries and headers which then be used to build other software. The package also breaks up in smaller subpackages ...
13
votes
2answers
2k views

Manually Created .deb, how do I upload to a PPA?

I have a manually created .deb, and I'd like to upload it to a PPA. My question is as follows: Is that possible? and If so, how do I do that?
13
votes
1answer
11k views

Adding post .deb install scripts

So I'm building a .deb, and I need to do a few post-install commands (linking libraries paths, and a few other things). Is there a way to have it so when you do a sudo dpkg -i <pacakage-name>....
13
votes
1answer
4k views

How to have Debian packaging generate two packages given an upstream source archive?

I am packaging something for my PPA. The upstream source is a .tar.gz archive which is Makefile-based. Since this package has a significant amount of architecture-independent data, it would be wise ...
12
votes
3answers
437 views

I've filed an ITP bug on bugs.debian.org - now how do I get the package into Ubuntu?

I've written a development library that I would like to include in the Ubuntu archives. From what I understand, the best way to do this is to first get the package into Debian and then request a ...
12
votes
1answer
145 views

How to add dependency after submitting a proprietary app to USC?

I submitted my app "Brightness Controller" under proprietary license and it has been published. It contains an executable .py file. But the app depends on python-wxgtk2.8 I wrote it in the comments ...
11
votes
3answers
2k views

How to create and administer multi-architecture PPAs?

I have a program that needs to be recompiled for every ubuntu version. Currently I am packaging it using Ubuntu's PPA just for the current distribution. Eventually, I have to provide packages for ...
11
votes
5answers
9k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu 12....
11
votes
1answer
100 views

How to make a deb file which tells the system a reboot is required?

I plan to set up a PPA or perhaps submit my package to Debian, but there is something I really need to know, I understand that packages normally do something with /var/run/reboot-required and are ...
11
votes
2answers
4k views

How to package a simple bash script

The below bash script was written in ~10 sec, but packaging it would take me hours of skimming through big walls of text so I ask my self if there is an easy way out there that I don't know about. #!/...
10
votes
3answers
4k views

How do I add a binary file to my existing PPA package

Adding modified or new text files to my PPA package is simple enough: Step 1: apt-get source [foo-package] cd [foo-package] Step 2: add or modify new text files containing the changes Step 3 - ...
10
votes
1answer
759 views

What happens during a package upgrade?

I recently started building Ubuntu packages for my software on Launchpad. They are pretty simple; most of them just contain some files and scripts that are trigged through the .install .preinst ....
10
votes
4answers
1k views

Can I update software installed from source code directly

Though its nearly a year since I started using Ubuntu, I have not attempted installing software from source. I didn't actually find the need to do so. But now I am working on a software which is at ...
10
votes
1answer
439 views

How do I use a Launchpad recipe for patching and building an original package?

I have a patch against vim which applies to packaged version. I would like to automate this, so that when new ubuntu is released, the newer unpatched vim gets patched & built using a recipe. I ...
10
votes
2answers
217 views

Translating .deb package information

How can I translate the contents of debian/control in debian packages so that the Information will be localised when the package is shown in the Software-Centre?   for packages in Ubuntu for ...
10
votes
1answer
701 views

How does Software Center determine what is a “technical item” and what isn't?

I'm a total newb to packaging, but I managed to get a PPA set up and working. But when I look for my software in Ubuntu Software Center, it will only show up after clicking "Show _ technical items". ...
10
votes
2answers
973 views

How do I repackage a .deb for Ubuntu Snappy?

I want to convert some Ubuntu software in .deb, specifically guake, to packages for Ubuntu Snappy*. According to the documentation on the Ubuntu dev tools, All metadata lives in meta/package....
9
votes
5answers
11k views

Script to only execute during first install of a package

I recently started packaging up some of my software and publishing it on Launchpad. The installation and removal works fine, but upgrading the package form one version to the next version is ...
9
votes
2answers
2k views

Rename a file during install of a Debian package

I have a python script that I want to package for Debian. I use a debian/install file where I wrote auto_dice.py /usr/bin/ Linitan then complains about the .py extension (script-with-language-...
9
votes
2answers
3k views

What is the difference between dependencies and pre-depends?

Can some one explain me what is meant by dependencies, pre-depends and the difference between those 2 type of package requirements when I am installing something in Ubuntu?
9
votes
3answers
11k views

How to use 'apt' to get source code and then do separate compile

I want to get the source code for a project and then build it the same way that apt would. E.g. I want the working source code and be able to run 'make' or similar command on the source. How can I ...
8
votes
4answers
3k views

How do I extract the package version from debian/changelog?

What's the most robust way to parse a source package's debian/changelog file (or debian/control?) to get the package's version number? Something like: pkgver=$(dpkg-parsechangelog | magic_goes_here) ...
8
votes
3answers
7k views

How do I install a package with aptitude?

I've looked at an aptitude tutorial and read the man page, but I just don't get it. After you launch aptitude, how do you say "install package foo"? Or search for all packages with "foo" in their ...
8
votes
6answers
1k views

What is the proper way to patch Wine for a custom PPA?

I've been manually applying patches to Wine for use on my own machine, but I want to put it in a PPA for my friends and relations. Currently I follow this procedure: Get the latest source from an ...
8
votes
2answers
2k views

How can I use local .deb files in my pbuilder builds?

Often I need to create packages which another package depend on (i.e. build dependencies). Instead of having all those packages first being build in my ppa (which can sometimes take some time), I ...
8
votes
2answers
518 views

How come the override_dh_build-indep sequence isn't run by debuild?

I'm having a bad time trying to generate some documentation for a shared library within debian/rules. I asked a question earlier about which target to use for generating the documentation. My problem ...
7
votes
2answers
11k views

How to create deb installer from tarballs? [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? there are several tarballs (e.g. Firefox, Eclipse, Zend Studio and ...) that have executable file within, that easily we can extract them ...
7
votes
2answers
207 views

Steps for creating a slightly modified package and uploading it in a PPA?

I just want to use an Ubuntu package from the official Ubuntu repos, modify its source just a tiny bit (it will not affect dependencies or anything) and then upload it into a Launchpad PPA I made for ...
7
votes
1answer
274 views

How to troubleshoot Quickly packaging failures

I have created a Quickly app and I'm trying to create a package for distributing it through the Software Center. However, whenever I try one of the Quickly packaging commands (package, share, release ...