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
7
votes
4 answers

Impossible to install Gitlab on ubuntu 12.04

i've downloaded the gitlab deb file and rpm(alien conversion). In all two cases dpkg finish installation sucessfully. But when i try to start gitlab-ctl reconfigure the process stop(pause) on this line : * ruby_block[supervise_redis_sleep] action…
B33th0v3n
  • 185
  • 4
  • 9
7
votes
3 answers

CPack DEB generator: control-file-has-bad-permissions mdsums 0644 != 0644

I am developing small console application and I was trying to create Ubuntu package using CPack. Ubuntu version is 13.04 and my main CPack file is below. Package is created correctly, but while trying to install it using graphic interface (basically…
lisu
  • 2,213
  • 14
  • 22
7
votes
2 answers

How do I package a Ruby application for Ubuntu, including its gem dependencies?

I have a command-line utility called Maid that I currently distribute as a RubyGem. I'd also like to distribute it as a .deb package to make it easier for Ubuntu users to install. Right now, Ubuntu users have to do quite a bit manually, especially…
Benjamin Oakes
  • 12,262
  • 12
  • 65
  • 83
6
votes
3 answers

apt preferences pin: origin local?

I have dropped fglrx from my notebook and return to the free drivers but xfce4-power-manager fails to start. it was a known bug I got apt-get source, apply the patch, build and install it. now all works perfect, I have reported this bug to debian.…
puchu
  • 3,294
  • 6
  • 38
  • 62
6
votes
2 answers

installing libgconf-2-4 on ubuntu

Today I made a ubuntu bootable on an usb drive. I wanted to download discord for my ubuntu and downloaded the file from the discord website. However when I tried to install i got missing dependencies error. The error is: dpkg: dependency problems…
anurag
  • 85
  • 1
  • 1
  • 5
6
votes
2 answers

Does an universal cross-platform installer exists?

I wonder is someone tried to create either kinda open standard for cross-platform installer for an application or the installer implementation? That means you can simply download single file from the website, and it's extension recognizable by any…
AlexM
  • 197
  • 2
  • 7
6
votes
3 answers

How do you create a fake install of a debian package for use in testing?

I have a package that previously only targeted RPM based distros for which I am now building .deb packages for Debian based distros. The aim is to simulate a test installation from user-space that is isolated from the system you are building on. It…
Bruce Adams
  • 4,953
  • 4
  • 48
  • 111
6
votes
1 answer

What does ${python3:Depends} mean in a debian source-package control file?

I'm trying to build a .deb from a python package. In order to do so I have to configure a control file. The control file contains a line where you can define dependencies for your package, e.g: Depends: python-appindicator, python3-yaml (>=3.11),…
Rotareti
  • 49,483
  • 23
  • 112
  • 108
6
votes
0 answers

How do I add a license when building proprietary deb packages?

I have some code that I developed and built into a deb package. However, unlike other packages when you double click it in Ubuntu the licence field shows up as "Unknown". Instead I want it to say "Proprietary" like others. I couldn't find anything…
hookenz
  • 36,432
  • 45
  • 177
  • 286
6
votes
0 answers

Jenkins to automate deb reprepro repository creation/signing

Problem statement: Can sign repos from inside normal terminal (also inside docker). From jenkins job, repo creation/signing fails. Job hangs. Configuration: Jenkins spawns docker container to create/sign deb repository. Private and public keys…
ashish behl
  • 319
  • 1
  • 3
  • 19
6
votes
1 answer

Including license agreement in .deb file

How can i include a license agreement interaction in a .deb file? The question Linux support for click-thru licenses only asks if its possible, but not how. Also, I'm not sure if license info of a deb package is actually something one could use... I…
Fredrik Ullner
  • 2,106
  • 2
  • 22
  • 28
6
votes
2 answers

Convert a spec file to debian

We are migrating our servers from CentOS to ubuntu. For a self written application we created a spec file to create RPM's for easy installation on CentOS. Now we want to convert it to the debian format. What is the simplest way to do it? I don't…
Laoneo
  • 1,546
  • 1
  • 18
  • 25
5
votes
2 answers

Installing perl module: cpan shell vs rpm/deb

I just wonder - are there any advantages to installing perl modules from the cpan shell compared to installing them by package management? Apart from occasionally having quicker access to the latest modules version?
moodywoody
  • 2,149
  • 1
  • 17
  • 21
5
votes
3 answers

Does anyone have a 'hello world' Debian package, for D source code?

I'm writing a D application which I want to package as a Debian package. Does anyone know of a tutorial, or a skeleton package, to show me how to to do this for a D application? Do I need to use autotools to build it? Thanks, Chris.
fadedbee
  • 42,671
  • 44
  • 178
  • 308
5
votes
2 answers

Installing the deb package via ansible

I am trying to install a deb package on a remote server using ansible, using the following construction - name: Install deb delegate_to: app1 apt: deb: https://example.com/deb/package.deb or - name: Install deb delegate_to: app1 apt: …