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.

Filter by
Sorted by
Tagged with
142 votes
6 answers
29k 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 ...
  • 3,683
202 votes
7 answers
155k 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.
  • 12.9k
411 votes
7 answers
553k 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 are distributed as a .appimage for 32-bit and 64-bit ...
  • 39.1k
89 votes
8 answers
46k 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 ...
  • 23.2k
75 votes
1 answer
40k 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 ...
35 votes
4 answers
52k 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 ...
  • 9,198
61 votes
1 answer
17k 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-...
  • 68.9k
18 votes
1 answer
5k views

What is the meaning of the XubuntuY string in Ubuntu package names?

Each package name is of the form: package-XubuntuY*_amd64(i386) So my questions are: What does the X stand for? What does the Y stand for? For example, in binutils_2.22-6ubuntu1.3_amd64, what is ...
  • 80k
36 votes
3 answers
6k views

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: ...
  • 283k
30 votes
2 answers
8k 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 are ...
  • 775
39 votes
2 answers
6k 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 ...
  • 68.9k
11 votes
1 answer
17k views

How to create a .deb file with dependency?

I have a game made with the LÖVE framework and I want to package it into a .deb file so it can be easily installed by others and be easily findable through the Unity dash for example. I also have ...
  • 3,062
7 votes
1 answer
296 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 ...
15 votes
0 answers
734 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?
  • 3,312
16 votes
4 answers
7k 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 ...
  • 2,814
14 votes
2 answers
2k views

Why do snap-packages exist - is there a real need?

Assumptions Honestly, I do not know much about snap-packages - but this is irrelevant for this question - see below. I assume the system is significantly different from the existing one. Does the ...
18 votes
2 answers
11k 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 ...
36 votes
9 answers
14k 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-...
  • 283k
6 votes
1 answer
14k views

Convert .jar to .deb package

My project is to develop an installer which is an executable for Windows, Mac and Ubuntu. The executables on Windows, Mac and Ubuntu are .exe, .app and .deb respectively. So, I converted my .jar file ...
23 votes
1 answer
36k 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>....
  • 59k
6 votes
1 answer
1k views

How do I submit .jar file to the ubuntu software center

I am writing an app using JAVA Swing for all platforms. After that I want to add this app to Ubuntu Software Center for free Is it possible? My app is just one *.jar file, its helping to play card ...
9 votes
2 answers
16k 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 files in them, that we can extract and run. but ...
  • 3,833
15 votes
1 answer
2k views

What's the difference between the different "rename" commands?

Since Ubuntu 14.04 there are at least three rename commands: rename provided by the util-linux package, see man rename.ul rename provided by the perl package, see man prename rename provided by the ...
  • 38k
13 votes
2 answers
15k views

What is the standard for naming deb file name?

I want to find out the standard for the deb file names. For example, I have file with the name foo_1.0.0-1_all.deb. As I have found out in Debian FAQ there is such convention: <foo>_<...
  • 1,952
11 votes
1 answer
1k views

Authentication problem with my PPA

I created a package and uploaded it to my PPA. After it got built, I went to install it, but was faced with this message: $ sudo apt-get install stackapplet Reading package lists... Done Building ...
  • 31.5k
29 votes
3 answers
43k views

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

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 ...
23 votes
2 answers
10k 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 ...
17 votes
2 answers
16k views

How to package a simple bash script [duplicate]

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. #!/...
15 votes
1 answer
6k 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 ...
  • 31.5k
10 votes
2 answers
6k views

How to create a deb package for a python3 script?

I have one Python file, main.py. I would like to be able to make a .deb package from it, and then be able to run main.py by typing the package name from the terminal. It is written in Python 3, so the ...
  • 135
27 votes
3 answers
4k 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 ...
  • 2,829
19 votes
2 answers
6k 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....
6 votes
1 answer
1k views

Versioning a package for uploading to PPA

I've a package named Artha which I distribute as source and (deb) binaries for x86 and x86_64 architectures i.e. I've the experience in making deb files. I got quite a few requests for setting up a ...
  • 199
18 votes
5 answers
26k views

How to run a script only during first install of a package and not during upgrades?

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

how do you create a "signed" deb package

I want to create a number of deb packages, but I don't know how "signing" packages works. So I was wondering how to create a signed deb package.
10 votes
1 answer
5k views

Providing a customized config file for another package

We use Ubuntu at work and I will need to make the same configuration changes to many systems so I am packaging these. One of the configuration changes I need to make is setting lightdm to autologin. ...
7 votes
1 answer
5k views

Using the RandR-enabled nvidia 302.xx beta driver in 12.04 with a realtime kernel

How can I use the recent beta of the 302 version of the nvidia driver (which finally supports the RandR extension!) with a realtime kernel in Precise? This question contains information on enabling ...
  • 5,260
5 votes
2 answers
310 views

How one can create an installer for custom keyboard layout

I've managed to create a custom keyboard layout for my language. Now that the keyboard is in a state that I can share it. I don't know how to make it a redistributable package.
3 votes
2 answers
2k views

Trying to resolve PPA issues with libvlccore9 that rendered package management inoperable

Because PPA's don't have an actual bug tracker and they're pretty badly maintained, I figure I would just ask how to fix this here. The package libvlccore9 in the vlc-master PPA is trying to install /...
  • 7,459
9 votes
1 answer
29k views

Where is the downloaded package files directory?

Where can I find the location of downloaded .deb files? I want to copy this folder before I reinstall Ubuntu so I don't have to redownload the packages. I am running Ubuntu 12.10 32-bit. How can I ...
  • 97
10 votes
1 answer
840 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". ...
  • 523
5 votes
3 answers
5k views

How do I make/extract/modify source of a package and repack it?

I have a package which has bug, and i need to modify it, and repack it, So thats how i am doing. Is there any other quick methods? List/View only (drivers files or applications) ar tv DesktopVideo-8....
's user avatar
5 votes
1 answer
2k views

How do I distribute a CA certificate using a Debian package?

The usual method of adding your own CA certificate to Ubuntu is: cp cert.pem /usr/local/share/ca-certificates update-ca-certificates I'd like to distribute my CA certificate using a Debian package, ...
  • 185k
5 votes
1 answer
2k views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that I ...
0 votes
1 answer
437 views

How can I rebuild the faac package to get mp4/m4a support and higher bitrates?

The copy of faac under Ubuntu Trusty Tahr 14.04 has 2 limitations: It does not have mp4/m4a support It cannot use high bitrates How can I rebuild faac, using correct Debian packaging techniques, to ...
  • 35.3k
8 votes
2 answers
8k views

How to create a .deb package from compiled source files?

Question: Mono 3.0 is out, but I found no ppa from where I could install it. There is this one: https://launchpad.net/~directhex/+ppa-packages but it's mono 2.10.8.1-5. I'm playing with ASP.NET ...
  • 1,720
3 votes
0 answers
1k views

Specify the target directory in a package

I created a package (with dpkk-build and dh_make) from my own program source and got a deb-binary. So far, so good. No if I'd upload the package to my ppa and installed it from there, the program ...
2 votes
2 answers
3k views

What is the best way to build a package that targets a single Ubuntu release only?

At the moment I build and package our software for Ubuntu 14.04 aka 'trusty' via dpkg-buildpackage. I get a .deb package that can be installed on Ubuntu 14.04 but also on other Ubuntu releases e.g. 12....
  • 173
1 vote
1 answer
2k views

What is changelog.Debian.gz file during packaging?

while packaging I encountered following error dh_builddeb dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'. dpkg-source -b remotedevicecontroller-1.0 ...
  • 997
27 votes
8 answers
28k 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....
  • 630