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
64
votes
5 answers

Install sbt on ubuntu

I have installed sbt on Ubuntu. :~/bin/sbt/bin$ ls classes sbt sbt-launch.jar target jansi.jar sbt.bat sbt-launch-lib.bash win-sbt However, whenever I try to launch sbt (from the same directory where sbt is located) it does not…
NoIdeaHowToFixThis
  • 4,484
  • 2
  • 34
  • 69
57
votes
1 answer

AWS EC2 Ubuntu 12.04.1 LTS: deb command-not-found

When I tried to install mongoDb in my AWS EC2 Linux instance:Ubuntu 12.04.1 LTS, deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen I get this following error, meaning deb command is not found. $ deb Sorry, command-not-found has…
Futur
  • 8,444
  • 5
  • 28
  • 34
36
votes
2 answers

I need my Debian rules file to simply copy files to it's target

I have a large project where we have the following files: A few 3rd party pre-compiled binaries Our own in-house binaries collection of Ruby scripts A sizable Ruby on Rails project This product will be installed on appliance hardware that my…
Chip Castle
  • 2,132
  • 3
  • 20
  • 34
28
votes
3 answers

Why is dh_usrlocal throwing a build error?

I am trying to compile a deb package for my server. When I go to build, everything looks good until it gets to dh_usrlocal The build stops and make returns an error. The problem is I am trying this for the first time and I really don't know where to…
AtomicPorkchop
  • 2,625
  • 5
  • 36
  • 55
28
votes
5 answers

How to create .deb packages on Mac OS X

I am trying to upload my app on Cydia and it requires .deb package. I am unable to figure out how to make .deb packages on mac. I am using 10.6.3 when I write this command on terminal dpkg-deb -b MyProgram Terminal output is -bash: dpkg-deb:…
iC7Zi
  • 1,528
  • 2
  • 15
  • 21
26
votes
6 answers

sudo: effective uid is not 0, is sudo installed setuid root?

I am trying to create deb package from LXC rootfs, and after creating it I want to install that package any computer. Up to this point I achieved packaging and installing deb package, however after installation of LXC package, I cannot be…
Salih Kardan
  • 579
  • 1
  • 6
  • 16
25
votes
3 answers

How to make apt-get accept New config files in a unattended install of debian from Repo

I am writing a script for a unattended install of a package that is in our Repo, It is a Software Package with one of the Debians marked config. Is there any option that I can pass to apt-get/aptitude so that it accepts the new Config…
RamNat
  • 537
  • 2
  • 7
  • 14
24
votes
3 answers

How can I build a 32bit (i386) .deb on a 64bit box?

I have applications which successfully compile with the -m32 switch (in DMD and/or GCC) to produce: appname: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped The…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
18
votes
2 answers

how to install debian package from unsigned repository

Trying to install Debian package to Debian 9 from unsigned repository: # apt-get --allow-unauthenticated update Get:1 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease [3,196 B] Hit:2 http://security.debian.org/debian-security…
Borik Bobrujskov
  • 823
  • 1
  • 7
  • 11
16
votes
1 answer

Debian: deb command not found. How can i fix it?

I am trying to install graphics card Nvidia Geforce 660 on my desktop. Os: debian 8. Here is the wiki which gives guidelines : https://wiki.debian.org/NvidiaGraphicsDrivers#jessie-304xx But as soon as I am on the first step: deb…
Deepak
  • 1,503
  • 3
  • 22
  • 45
15
votes
2 answers

How to build debian package with CPack to execute setup.py?

Until now, my project had only .cpp files that were compiled into different binaries and I managed to configure CPack to build a proper debian package without any problems. Recently I wrote a couple of python applications and added them to the…
karlphillip
  • 92,053
  • 36
  • 243
  • 426
15
votes
1 answer

How to decompile iOS apps?

I want to see the code of an iOS app. The app I downloaded is .deb. First question: Is it possible to install .deb file on iOS or I downloaded a wrong file? After unpacking the .deb file, I got some files, including .nib, .storyboard and some other…
ahmadhhh
  • 167
  • 1
  • 1
  • 5
15
votes
3 answers

Ubuntu PPA for Android SDK/NDK?

Has anyone bothered to create a PPA for the Android SDK and/or NDK packages? I saw a few things that hinted at this in my Googling, but nothing that jumped out as a preferred solution. I'd guess that licensing issues might require it to operate like…
Jameson
  • 6,400
  • 6
  • 32
  • 53
14
votes
1 answer

license info of a deb package

I am trying to get license information of uninstalled deb packages. dpkg --info .deb does not give that information. Is there any command in ubuntu which will give this info? (In rpm world rpm -qpi gives that info)
aj.
  • 155
  • 1
  • 1
  • 6
13
votes
1 answer

How to create a deb package for a python project without setup.py

Any documentation I've found about this topic mentions that the "only" requirement to build a deb package is to have a correct setup.py (and requirements.txt). For instance in dh-virtualenv tutorial, stdeb documentation and the Debian's library…
zezollo
  • 4,606
  • 5
  • 28
  • 59
1
2 3
40 41