Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

0
votes
0answers
20 views

Create snap of .deb plus ppa dependencies?

I have a proprietary program that runs on 16.04 with an additional ppa for qt5.6. It is the only app that holds me back from updating to 18.04, so my idea was to create a snap package including the ....
1
vote
0answers
25 views

How do I create a symlink from my app bin to /usr/bin?

So I have a deb package built using electron-installer-debian. When I sudo dpkg -i app.deb, it's unpacked in /usr/lib/myapp/myappbin and there's no symbolic link created. How do make it so the ...
14
votes
3answers
8k views

How to run parallel make with debuild?

I am trying to make a package of a piece of software that I've (co-) written. I'm using debuild -i -us -uc -b And in principle that works fine. In order to shorten compilation time I'd like to ...
1
vote
1answer
52 views

snapcraft build issue: GLIBC wrong version

Rebuilding package with new version after successfully build it last week this week I am having issues: The GLIBC version of the targeted core is 2.23. A newer libc will be required for the following ...
0
votes
1answer
82 views

How to add a shell script as a command offered by a Snap?

Say I have a basic shell script foo.sh: #!/bin/sh while [ 1 ] do echo "looping" sleep 1 done And I want to have this offered up as a command: /snap/bin/myapp.foo I have the snapcraft.yaml: ...
1
vote
0answers
28 views

How to create an Ubuntu distro from VirtualBox Ubuntu Image? [duplicate]

I have an UbuntuServer installed and filled with packages that I need, and it's ready for work. Can I make a distro from VirtualBox image of UbuntuServer in to .iso installable file with all the ...
1
vote
1answer
391 views

How to create a deb package when upstream developer has not a release a tarball

I want to create a deb package of https://github.com/manojgudi/sandhi. But I cannot find any tarball there. All the tutorials that I came across on the net assume that there is an upstream tarball ...
0
votes
1answer
74 views

Debian packaging of python library with extra files

Is there a minimal modification I can do to a Python 3 Debian package source in order to install additional folders under the dist-utils/my-package folder like unit tests? I am using pybuild which ...
147
votes
5answers
185k 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 ...
12
votes
1answer
3k views

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

Each package name is in the form: package-XubuntuY*_amd64(i386) So my questions are: What does the X stand for? What does the Y stand for? for example binutils_2.22-6ubuntu1.3_amd64 What is the ...
24
votes
2answers
3k 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: ...
2
votes
2answers
190 views

Install non-executable files with dh_install

I have some debian package which has the following install file: src/an_executable_python_script usr/bin src/web/* usr/share/packagename inside the src/web folder are some html and css files. It ...
0
votes
1answer
178 views

Build linux kernel 4.15.0-22 scripts/Makefile.clean [closed]

I want to compile linux-source-4.15.0-22 on xenial(16.04-4). When i use the following command I have received an error. make clean distclean && make mrproper && make-kpkg clean cp /...
11
votes
2answers
453 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 ...
0
votes
0answers
39 views

How to make a snap package from a python project without setup.py?

Suppose, there is only one program.py, or 2. there are a few files and an init.py executes the program. How to turn it into a snap package? This guide assumes there is a setup.py.
0
votes
1answer
100 views

Does Snap package supports private repository?

https://docs.snapcraft.io/build-snaps/ci-integration As documented here i am a game developer and have created a game on Unreal Engine and i have put my game package on git in a private repository ...
2
votes
0answers
83 views

How to create *-dev package from source?

I want to install SILE Typesetter which depends on HarfBuzz (libharfbuzz-dev). The libharfbuzz-dev available from repositories is version 1.0.1 (released 2015), while the latest version available from ...
0
votes
0answers
25 views

Why is the version of Mono in the Ubuntu repositories so old? [duplicate]

I am having an issue with a mono application I use failing to auto-update from github due to github retiring support for now outdated security protocols (TLS v1.0/1.1). Since the versions of mono ...
14
votes
5answers
17k views

How to run a script only during first install of a package and 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 form one version to the next version is ...
8
votes
1answer
20k 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 ...
1
vote
1answer
58 views

Automation of installing programs from source

I occasionally face a problem when using programs for which developers don't publish deb packages and only provide source. Sometimes I find a PPA providing the package but sometimes I don't or ...
1
vote
1answer
87 views

How can I apply the packaging for libvirt to build a package out of a git version?

I've been trying to work on a patch to libvirt to enable Ceph/RBD storage volumes. I would like to test my code now. I would like to do this as a package (or even a Launchpad PPA), so that I can ...
3
votes
1answer
55 views

Guidelines for packaging web app

For a while now, I'm trying to build an Ubuntu package for PPA upload, and facing all sort of issues understanding bzr dh-make and such. The package is web application (php-based). Most packaging ...
2
votes
1answer
123 views

How to create a .tar.gz file to install a custom application

I have written a simple program, and I made a .deb file to install it on Debian based OSs. but for other distros like Arch, I usually use a .tar.gz file (and doing :./configure, make and make install),...
3
votes
2answers
57 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" (...
1
vote
0answers
264 views

Creating multiple deb packages using CPack

I have a project with several components and I am creating 4 DEB packages using CPack version 2.8.12. I have no issues with package generation as well as installation but these: I am unable to make ...
0
votes
0answers
55 views

Is there any way to remove a program that has been installed with a .tar.gz file? [duplicate]

Is there any way to remove a program and all of its executable files and docs that have installed from a .tar.gz file (for example on an Arch Linux) by : ./configure make make install Answer : I ...
10
votes
3answers
6k 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 - ...
7
votes
1answer
447 views

How do I cache packages for a snapcraft cleanbuild?

snapcraft cleanbuild is supposed to let me build snaps in clean-room environments. Accordingly it starts from a minimal LXD image and installs necessary packages. However, it seems to use the base ...
2
votes
3answers
2k views

Where are .deb package control files located?

My understanding is that debian based packages have "control files" which specify metadata on how the packages is to be installed, e.g. what dependencies it has etc. How can I view these files for ...
2
votes
1answer
96 views

Why does postrm run twice on purge?

I've created a package that has a postrm script which removes a user. When running sudo apt-get remove ..., the postrm script behaves as expected: vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get -y ...
8
votes
1answer
8k views

How to create a .deb file with dependency?

I have a game made with the LÖVE framework and i want it into a .deb file so it can be easily installed by others and easily findable through the Unity dash for example. I also have the LÖVE framework ...
15
votes
2answers
238 views

Is it 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 ...
2
votes
1answer
60 views

What makes Checkinstall packages not suitable for distribution?

I am planning to have multiple servers running with the same packages. And as a solution to not compile packages individually on each server, I want to use checkinstall to generate .deb and then ...
1
vote
3answers
1k views

Creating debian package to install to a path with spaces

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
1
vote
0answers
175 views

How to create a deb file which installs Valve's OpenVR Package on Ubuntu?

Ultimate Goal: Add ValveSoftware/OpenVR to a PPA so that it can be installed via $ sudo apt-get install openvr I'm assuming this means I need to create something like an OpenVR.deb. Attempt: I have ...
0
votes
1answer
38 views

Electron Snap file is not build after running command

https://gist.github.com/popey/7803cfbda9b337fab792c403e50e4709 Im following this tutorial. After running npm run dist terminal outputs missing script: dist After running npm run lint since it is ...
2
votes
1answer
122 views

DEB and RPM packaging

I have an application that I'd like to pack into DEB and RPM for making it installable into Linux distributions such as: Debian Ubuntu Linux Mint Fedora OpenSUSE Do I need to develop an extra DEB ...
1
vote
2answers
120 views

Can apt actions delete/modify files inside exiting user home?

I somehow always assumed that when I run a command like apt-get install, remove, purge then at most apt might add configuration dot-files files to my existing local home (not even sure about that), ...
8
votes
1answer
187 views

Where exactly is all the source code on Launchpad browseable?

I have always found the source code browser of Launchpad extremely useful when I need to link to packaging code in an answer. The URL pattern is simple enough (https://code.launchpad.net/ubuntu/+...
0
votes
1answer
336 views

How to build .deb package for a single kernel module?

Is there any helper which can build a .deb package for particular kernel modules from mainstream kernel? Currently I build a kernel and manually create packagename/DEBIAN/control file, which is quite ...
0
votes
0answers
156 views

Possible to build a source.changes file from a deb package?

I want to build a source.changes file to publish a package. But I have no idea how to build it. I created a .deb file containing the source code and the compiled binary. Is there any way to convert it ...
3
votes
2answers
1k 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 /...
2
votes
1answer
78 views

Does Ubuntu compile all their non-proprietary packages on their repo from source or do they use the dev's pre-compiled binary?

I was just curious to know, does Ubuntu compile all the open-source/non-proprietary packages on their repo or do they just take the finished bins from the dev and stick If it in the repo?
6
votes
3answers
9k views

How can I create a simple debian package from binary?

I have been researching debian packaging, but I can't seem to figure out how to package a C# mono application made up of a single executable and a few resource files. Can anyone help me figure out? ...
12
votes
2answers
7k views

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?
0
votes
1answer
70 views

Am I allowed to create and distribute a deb package to Ubuntu store if I didn't develop the software?

Am I allowed to create and distribute a deb package to Ubuntu store if I didn't develop the software? I want to create a package (.deb) file following Debian/Ubuntu standards, submit it to Ubuntu ...
77
votes
7answers
28k 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 ...
0
votes
1answer
410 views

Build Kernel in 16.04 - no firmware package built

I've been successfully building a set of Linux kernels on 16.04 base for some time now. When I build the 4.14 kernel to make deb packages with: make -j24 KDEB_PKGVERSION=1.custom deb-pkg which has ...
1
vote
0answers
51 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 ...