People who code: we want your input. Take the Survey

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
2
votes
1answer
94 views

How to create your own Linux package from scratch? [duplicate]

How do you create your own package in Linux, just like cd, ls, or any third party package? All I know is how to create a .sh file, write a script in it and execute it using: bash file_name But in ...
1
vote
2answers
32 views

Copying debian directory from another branch to build in Launchpad

I am trying to build Cozy Audiobook in launchpad. I have the imported the source branch (master) from GitHub, and a there is a different branch (deb-packaging-juno) containing the debian/ directory. ...
4
votes
4answers
3k views

How to automate the pass phrases when GPG signing dpkg-buildpackage?

I'm using dpkg-buildpackage and I would like to fully automate my scripts, but I cannot find how to GPG sign the packages and automate entering the pass phrases in my Continuous Integration System. I ...
2
votes
1answer
37 views

Is it possible to create several debian packages with different names from one sources adding specific option

I created debian packages using debuild. One by command with variable for one target type: debuild --set-envvar=TARGET=S_SS -b -us -uc -aarm64 and another one for another one: debuild --set-envvar=...
1
vote
1answer
66 views

Help me update the old rtirq-init script for Ubuntu?

rtirq-init is an important package for low latency audio system configuration. The current version has a 2021 version and regular updates: https://www.rncbc.org/drupal/node/2163 Problem 1. the version ...
1
vote
1answer
52 views

Read version of changelog file from variable for debian packaging

I have debian changelog file. The Head of the file is as follows. my-package ($VERSION) UNRELEASED; urgency=low .... When I rebuild the package I need to get the version from the environment variable. ...
1
vote
1answer
38 views

How to check some dependency for deb in preinst script when compat=9

I want to check some dependencies for the deb which compat equals to 9. If the dependency is not OK, just echo some warning but the deb can still be installed(It seems that Depends:xxx is not suitable ...
0
votes
1answer
6k views

Building ffmpeg deb package gives fakeroot debian/rules clean gave error exit status 2

I am trying to build my first .deb package (with ffmpeg sources) and I get some errors. Those are my steps that can be reproduced to get this error: git clone git://source.ffmpeg.org/ffmpeg.git ...
1
vote
1answer
47 views

Is it legal for a package to depend on a development package?

I have a package that needs dpkg-dev to be installed. So I've added it as a dependency and it works as expected, but now I'm wondering whether it is legal practice according to the Debian packaging ...
1
vote
0answers
39 views

How to injecting user-defined fields in binary package control files

It's possible to add user-defined fields in the debian/control file using the XBS- method, as defined in the Policy Manual. Something like this before calling dpkg-buildpackage will work to inject a ...
18
votes
8answers
11k views

Graphical tool for creating Deb packages

Are there any graphical tools for creating ubuntu/debian packages?
3
votes
1answer
145 views

What creates the file /var/run/reboot-required

Does the file /var/run/reboot-required ONLY occur from a kernel update, or can a developer of a software package decide herself if she wants it to be created, if desired? The following link explain ...
0
votes
0answers
57 views

Creating a Debian package for a Qt application built using CMake

I would like to create a .deb installation package for a GUI based Qt5 application. Most of the links available for this problem are pretty old, so I'm curious if there are more up-to-date solutions ...
1
vote
0answers
22 views

How to show text to user with snap install hook?

Hello I'm creating a snap package and I need to show something to user after install. How to do it? Thank you
336
votes
7answers
436k 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 ...
5
votes
1answer
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 ...
3
votes
3answers
182 views

How Can Someone With Minimum Programming Experience Publish an App of an Existing Program not found in the Software Centre?

There's a free mathematics software that I would like to see in Ubuntu Software Centre, called, 'Sage.' I have minimal experience in programming, so I'm basically here asking if someone could either ...
16
votes
5answers
24k 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 ...
1
vote
0answers
50 views

Is there a canonical (no pun intended) source for Ubuntu version badges?

I just added a Debian version badge (from https://badges.debian.net/) to my font (https://github.com/rbanffy/3270font/tree/develop), and, since it's also available on Ubuntu, I'd like to add one too. ...
0
votes
0answers
45 views

pbuilder-dist and github submodules: Could not resolve host: github.com

I'm using submodule in my github project (link to another project in a subfolder). As github doesn't include submodule sources in Releases I would like these sources to be automatically downloaded ...
0
votes
0answers
20 views

How can I get a Dart application on my PPA

I have written a application in the Dart programming language, and I want to upload it to my PPA. However, Dart is not in the Ubuntu repos, so I cant build my app on the PPA build servers. How can I ...
0
votes
0answers
17 views

When are packages released on packages.ubuntu.com? [duplicate]

I have often observed this: A release of a package has long been made on Github, but if I upgrade it with apt, it is not found. Example: https://github.com/libgeos/geos : They show that 3.9 has ...
1
vote
0answers
47 views

How to run OpenBLAS source package test from debian/test directory?

I need to understand how to run test from debian/test directory for OpenBLAS package. Currently on my Ubuntu 20.04 LTS I did the following: cd ~/Downloads sudo apt-get build-dep openblas apt-get ...
4
votes
2answers
271 views

DEBIAN or debian in .deb package?

I am experimenting with creating a .deb package and am unsure about the file structure of a package. Is the directory that contains control, changelog, rules, etc supposed to be named DEBIAN or debian?...
1
vote
0answers
28 views

Debian package with dependency to package in unconfigured PPA [duplicate]

I'm creating a debian package primary.deb (custom, home-made package for internal use) that depends on secondary.deb (hosted in external PPA). I'd like the users of primary.deb to not explicitly have ...
2
votes
1answer
271 views

Rename Custom deb package

How can I rename a .deb package that can be uploaded to reprepro? For example, I have a deb package example-latest.deb which is the latest version, I have created a custom repository so users can ...
1
vote
0answers
87 views

Struggling to create python3 debian packages

I setup https://github.com/MirahezeBots/MirahezeBots/pull/436 which should run make-deb then dpkg-buildpackage -us -uc but that doesn't seem to work per https://github.com/MirahezeBots/MirahezeBots/...
1
vote
1answer
54 views

How to install debcargo in Ubuntu? It is in the Debian repositories, but not in Ubuntu [duplicate]

debcargo is a Debian package for packaging rust apps in .deb format. It is available in Debian Buster and above, but I could not find the package in Ubuntu 20.04 and 20.10. Why is the package not ...
2
votes
1answer
52 views

How to manage translations of help pages in debian packaging?

I am trying to create debian package for an upstream source (which has not been debian packaged yet), and want to know if help pages translated in a new locale can be automatically configured in the ....
1
vote
2answers
182 views

Cannot build on launchpad

I have succesfully uploaded my app to launchpad:However it fails to build on both i386 and amd64. Here is the link: https://launchpad.net/~mkamenjak/+archive/ubuntu/bugappppa/+packages Here is the ...
0
votes
2answers
61 views

Attempt to package library results in package with no binary

I am new to packaging and I'm trying to package a library that one of my programs uses. The library is called Plytapus and it's used by the PerfectTIN program. You can find source code for both of ...
6
votes
1answer
13k 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 ...
3
votes
1answer
358 views

How to upload to a launchpad team PPA?

I have built and signed a package which I now wish to upload to my launchpad team with dput, but every time that I try to upload it I get this email: Rejected: Source/binary (i.e. mixed) uploads are ...
0
votes
0answers
91 views

Can I get nativefier to produce a .deb?

On macOS and Windows, the Electron JS app creator script nativefier is able to wrap a website into a .dmg or .exe. However, on Ubuntu, the nativefier script produces a big folder where you have to ...
2
votes
1answer
43 views

Viewing the contents of a flatpak

When I install a package, I like to see what it's installed. With apt I can use apt-file show, with AppImages I can view the mounted filesystem, and with Snap I could mount the snap without running it ...
1
vote
1answer
132 views

How to build SDL2 from source and making a debian package and install the debian package?

I want to build SDL2 from source so I can use a newer version, that prefers dlopen instead of linking to libraries like the package that comes from ubuntu package manager, but also because I want to ...
2
votes
2answers
618 views

debuild -S in cronjob: how to avoid interactive gpg

I would like to build and submit a package to a launchpad Ubuntu reposiory of mine in a nightly cronjob. To this end, I'll have to debuild -S the package which by default requires human interaction ...
0
votes
0answers
129 views

Why isn't NVIDIA Linux modules part of the NVIDIA driver

I noticed that I had to manually install a linux-modules-nvidia-* package, and it doesn't come bundled with NVIDIA drivers. Why is that?
4
votes
3answers
80 views

Whats the simplest way to make source and binary package when you are the original author?

The Debian packaging guides, which I have read so far, assume that the packager is not the maintainer, and so needs to have original tarballs, patches, etc. If I have an app which builds with "make" (...
4
votes
3answers
16k views

MegaSync client requires libcrypto++9

So, I was trying to install the sync client for Mega (http://mega.nz) on my Ubuntu 15.10 install. Yes, I know it's pre-release, but here is my question: When i install the .dep file, I get that ...
1
vote
1answer
35 views

Packaging: Enable universe from an Ubuntu .deb package

I'm constructing a debian .deb package for my application and distributing it through a PPA. If someone follows the PPA instructions verbatim, they get an error message stating that "Some ...
2
votes
1answer
52 views

How to package minimized JS files of an webapp in a debian package?

Usually JS files in Webapps are used in a minimized form (e.g. jquery.min.js), and lintian treats such files with very long lines as binaries. Usually these minimized JS files are not written by the ...
1
vote
1answer
43 views

How did quickly run work to run a software from source?

quickly used to be a very convenient software which could be used to debian package a new software in minutes, but it got discontinued. I have some old python code packaged with quickly, which I have ...
2
votes
1answer
99 views

How to specify the current kernel's header in the debian/control file?

I am trying to modify this debian source package which requires the the user to manually install the current Linux kernel's header (with sudo apt install linux-headers-$(uname -r) before installing ...
2
votes
1answer
79 views

Some files listed in Debian/package.install do not install while building deb

I'm trying to build GIMP 2.10.20 into Ubuntu PPA. Everything's good, GIMP was built success and working good, except the languages (missing *gimp20*.mo files). They are not included in the libgimp2.0 ...
14
votes
1answer
1k views

How can GIMP 2.8 have two different icons simultaneously?

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 packaging ...
-1
votes
2answers
2k views

How can I create an installation package? [closed]

I'm programming a Qt app in Ubuntu. Well, I'm newbie in Linux but good at Qt. I wanna know how to Create Qt Static Libraries(Qt has installed from Synaptic), Create an installation package and How to ...
0
votes
0answers
161 views

Error creating the package: cannot create directory ‘/opt/simplest_studio’

I trying to create a .deb package. Created the control and rules files, did everything, as it was said in the instructions and after a ten thousandth attempt errors still pop up. The $(MAKE) command ...
0
votes
1answer
849 views

Ubuntu 20.04 no longer contains font Noto Sans Syriac Eastern

In Ubuntu 18.04, the package fonts-noto-unhinted contained the font Noto Sans Syriac Eastern, i.e. /usr/share/fonts/truetype/noto/NotoSansSyriacEastern-Regular.ttf. However, in Ubuntu 20.04, no ...
5
votes
1answer
617 views

How to create deb packages for fonts

How do I create a package of fonts? I am not going to be uploading them to the Archive as they are for my own use. Can anyone point me to a tutorial or a document on creating font packages? I have ...

1
2 3 4 5
14