Questions tagged [deb]

deb is the extension of the Debian binary package format. Software packaged for Debian or Debian derivatives such as Ubuntu is distributed in this format.

Description

.deb is the extension of the Debian binary package format. Software packaged for Debian or Debian derivatives such as Ubuntu is distributed in this format. Packages of this type are often referred to as "debs".

A related format known as "source debs" usually consists of multiple files: a .dsc file listing each of the other files in the source with cryptographic hashes, a tarball of some sort (.tar.gz, .tar.bz2, etc.), and sometimes additional files such as diffs.

Debs are typically manipulated using the dpkg family of tools. dpkg-deb, in particular, is responsible for creating, unpacking, and querying .deb files. The dpkg package management tool is used to install, uninstall, and configure deb-packaged software onto Debian-based systems. Source reps are packed and unpacked using dpkg-source. Numerous front-end tools with additional capabilities in the Apt family (apt-get, Aptitude, Synaptic, etc) offer additional facilities, including repository management and dependency resolution.

Software packaged in debs is generally firmly expected to conform to Debian Policy, or the policy of the appropriate Debian derivative. Authoring well-behaved packages which meet all of these requirements can be tricky, so several tools exist to make deb creation easier or verify compliance with policies. debhelper (or "dh") and cdbs are probably the most commonly used.

The [deb] tag should be applied to discussions about authoring or working with debs, not for general questions related to Debian.

Related Tags

  1. rpm

References

  1. http://man7.org/linux/man-pages/man5/deb.5.html
603 questions
0
votes
1 answer

DEB Package add preinst after compiled

My buddy wrote a custom patch about a year ago for my iPad that allows me to use certain apps despite being jail broken. Unfortunately it no longer works but I figured out that it can be fixed by creating a few directories manually before installing…
user1647347
  • 507
  • 1
  • 8
  • 23
0
votes
1 answer

lintian reports shlib-calls-exit from flex generated source code when building a DEB package

If a DEB package contains a shared library that was built from source code that was generated by flex , /usr/bin/lintian would report shlib-calls-exit because of the exit() call in the flex-generated function yy_fatal_error: static void…
Erik Sjölund
  • 10,690
  • 7
  • 46
  • 74
0
votes
1 answer

Install a new version of app that not in repository and including all dependencies

The problem I want to solve is that I want to install an app from source. When I tried to install that app, it said that it needs valac-0.16, but when I tried to install valac from terminal, it is only installing an older version, valac-0.14. Then I…
sudeeprds
  • 25
  • 3
0
votes
1 answer

deb package for new software for ubuntu

I want to build mysoftware.deb package for ubuntu and debian. Every tutorial about building deb files is for maintaining not your own software, just for making deb files for ready source code. In my case I want to have building and installing…
Tomek Wyderka
  • 1,425
  • 1
  • 15
  • 21
0
votes
0 answers

Separate source packages for amd64 and x86

I'm trying to package the current stable version of FMOD for Debian. My issue is that there are separate source tarballs for the amd64 and x86 architectures. How to handle this case? I first tried to create separate fmodex32 and fmodex64 packages…
Nova
  • 2,623
  • 4
  • 26
  • 45
0
votes
1 answer

How to package a program that has no makefile?

I'm creating a Debian package for a piece of software that has no usable makefile at all. Should I put the building instructions into debian/rules or a separate Makefile? I'm tending towards the latter. If I do create a separate Makefile, how do I…
Nova
  • 2,623
  • 4
  • 26
  • 45
0
votes
1 answer

I cannot build deb package

I want to build package which have /package/debtest/ /package/debtest/bin /package/debtest/bin/E01.bin /package/debtest/bin/E02.bin /package/debtest/bin/E03.bin`` /package/debtest/log /package/debtest/mon I want to install to directory…
0
votes
1 answer

Debian package bug on squeeze?

My hand-made debian package wont install if i build it on Squeeze (well, a squeezechroot)? If i built it on a wheezy box though it builds installable packages. Note that it builds fine in either case. Im generating the debian packages using…
James Bennet
  • 603
  • 2
  • 10
  • 22
0
votes
1 answer

Registering an application to start on logon in a Debain package

I'm bundling my Java application as Debian package and I need my application to run at start up. Here's my DEB package structure: + | +--+control | | | +--+control | | | +--+md5sums | | | +--+postinst | | | …
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
0
votes
1 answer

How to make deb packages for my server?

I have a Ubuntu (12.04 LTS) install for my desktop, and I have two VPS servers that run Ubuntu (11.04 LTS) as well. I have PHP running on these servers using fcgi, but I want to upgrade to the lastest version of PHP (5.4.3) and include the modules…
Mark Tomlin
  • 8,593
  • 11
  • 57
  • 72
0
votes
1 answer

Building a debian package that creates a shared object

I have a library which builds a shared object library. It is libnetfilter_cthelper library on git.netfilter.org. The library on doing ./conifgure;make;make install, installs the shared object library. When I created a debian package, it does create…
SeattleOrBayArea
  • 2,808
  • 6
  • 26
  • 38
0
votes
2 answers

How to get the MD5Sum of a DEB file

My question is how do I get the MD5Sum of a DEB file? I'm making a cydia repo, and my Packages file needs this. I know how to find an MD5Sum, I just don't know what to convert to MD5.
Noah
  • 95
  • 1
  • 14
0
votes
1 answer

How to abort the installation of a deb package if the disk space is not enough

I'm developing a jailbroken program for iPhone. When the disk space is not enough, the installation will still continue, thus part of files were copied, while the other files were not, this makes the disk dirty. I've written disk space check code…
moligaloo
  • 1,083
  • 13
  • 27
-1
votes
1 answer

Compiling Nemo from source and installing it

There is a fix for a bug in the Nemo repository, which I want to apply to my system (Linux Mint). As the developer guide explains, I have cloned and mint-build' mint-common, xapps, and nemo. First question, are these the required dependencies for…
Nils Lindemann
  • 1,146
  • 1
  • 16
  • 26
-1
votes
1 answer

Command dpkg upgrade on fedora-like so

I'm trying install .deb files in fedora and its dosn't work like using apt to command sudo apt install upgrade (debian-like upgrade command) i'd like to know how upgrade dpkg command in fedora idk how is it works on fedora