Questions tagged [packaging]

refers to the creation and maintenance of Debian or snap 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.

Useful Links

Packaged Documentation

  • packaging-tutorialInstall packaging-tutorial
    • Installs to /usr/share/doc/packaging-tutorial/packaging-tutorial.pdf
  • ubuntu-packaging-guide
    • sudo add-apt-repository ppa:ubuntu-packaging-guide-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-packaging-guide
    • Installs to /usr/share/doc/ubuntu-packaging-guide/html/index.html
702 questions
461
votes
8 answers

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 are distributed as a .appimage for 32-bit and 64-bit distributions, and should run across all major Linux…
DK Bose
  • 41,240
  • 22
  • 121
  • 214
208
votes
7 answers

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.
akshatj
  • 13,096
  • 15
  • 51
  • 67
145
votes
6 answers

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 directly, or should I try to get into Debian and then…
Witek
  • 3,893
  • 7
  • 29
  • 39
89
votes
8 answers

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 could not create a deb package because it fails.…
sagarchalise
  • 23,668
  • 12
  • 72
  • 85
75
votes
1 answer

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 tutorials are assuming you have a source tarball…
Thomas Deutsch
  • 943
  • 1
  • 8
  • 8
61
votes
1 answer

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-restricted-extras package does?
Thomas Ward
  • 72,494
  • 30
  • 173
  • 237
41
votes
3 answers

How can different packages have identical source code?

I recently learned how easy it is to get the source code for any given package using apt-get source so that I can get the source code, make changes and install my own modified version of any package. This is great! Until today I was assuming that…
Elias
  • 1,899
  • 1
  • 11
  • 26
39
votes
2 answers

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 an "experimental" PPA). Question: I've already…
Thomas Ward
  • 72,494
  • 30
  • 173
  • 237
37
votes
4 answers

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 to know of an easy and short way to build source…
Ashu
  • 9,384
  • 3
  • 37
  • 58
36
votes
9 answers

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-critical (just playing music and sorting photos)…
Oli
  • 289,791
  • 117
  • 680
  • 835
36
votes
3 answers

Why do some packages have extra numbers before a colon 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: refer to? It doesn't seem to mirror the major…
Oli
  • 289,791
  • 117
  • 680
  • 835
30
votes
2 answers

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 are the main advantages of 'Snap' over .deb? Will…
maqtanim
  • 823
  • 2
  • 8
  • 19
30
votes
3 answers

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 do that? Specifically I want to get this source…
Berlin Brown
  • 443
  • 1
  • 6
  • 12
29
votes
2 answers

What is the difference between dependencies and pre-depends?

What is meant by "depends" and "pre-depends", and the difference between those 2 types of package requirements when I am installing something in Ubuntu?
Bruno Pereira
  • 72,895
  • 33
  • 199
  • 223
28
votes
8 answers

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.04 I only need it unofficially - just need a .deb…
hanxue
  • 660
  • 3
  • 10
  • 15
1
2 3
46 47