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
-1
votes
1 answer

How to install these specific packages to `amazonlinux2`

Well, basically I was using a ubuntu distribution of docker image and had to run the following command to install the exact packages as below into it: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \ && apt-get -q update \ …
João Casarin
  • 674
  • 2
  • 9
  • 27
-1
votes
1 answer

How to build a python project into a .deb executable with Pypi requirements included?

I want to build a python project into a .deb executable, i'm using stdeb but it dont fit well to projects that use PyPi dependencies. There is a way to use stdeb with venv to encapsulate the dependencies in the build? I've already tryied to use…
-1
votes
1 answer

How to make a desktop shortcut creator in my .deb package?

I was able to build my package,made the control file,everything is fine.It installs the required dependencies if they are not installed,so everything works.The only thing is,if you want to open the installed file you need to go to /usr/bin/ and find…
davis90
  • 1
  • 1
-1
votes
1 answer

setting environmental variables system wide from /etc/profile.d from postinstall script of Cpack deb installer without reboot?

currently i have a deb installer, built with Cmake->Cpack, that runs a postinst script, which calls another script to in /etc/profile.d that sets a few environmental variables to allow our application to run. the issue is after installing, it…
-1
votes
1 answer

How do i repackage .deb files to ubuntu snappy(snapcraft)

I wanted to repackage .deb files specifically XWiki .deb file install to a ubuntu snappy file. since I lack knowledge on building snaps what methods do you suggest I use. would it be better to build XWiki from the source in snappy or repackage the…
-1
votes
1 answer

Debain Package rebuild

I've downloaded .deb package Then I've extracted all the data from the current .deb file and add a new file with arbitrary content. My question: how can I create a new .deb package from this modified directory /tmp/tcpdump?
M Kepster
  • 19
  • 4
-1
votes
1 answer

How to distribute python based software on Linux based OS

condensed version of what I want to achieve: Create .rpm and .deb packages from my source.py source code and make sure all dependencies get resolved when installing them on an deb/rpm based linux distribution. More details: Let's assume I have…
J.Doe
  • 127
  • 1
  • 1
  • 9
-1
votes
1 answer

What's the best way to get name and version of all packages in a packages.gz file with PHP?

I need to get the Name and Version of all packages in a Packages file (Packages.gz) that's from a Cydia debian repo that I have, I'm trying to find the best way to do it in PHP. I'm new to PHP and learning it as I go to make a small project for…
RKO1195
  • 11
  • 4
-1
votes
1 answer

How to create a package with a python file?

Hello I have this python file main.py like this : print "a" This file is really simple and I would like to create a deb file for this python file. Then I would like when I type for instance main in the terminal when the package is installed main I…
-1
votes
2 answers

Tool that figures out order in which patches should be applied?

Background: I am trying to get Ubuntu to work under FIPS mode. One of the packages that I need to FIPSify is openssh. According to CentOS openssh *.spec file one of the patches that they apply on top of openssh source code is openssh-6.6-fips.patch.…
john1234
  • 225
  • 2
  • 7
-1
votes
1 answer

how can I add an unofficial repository to ubuntu

I have to add http://download.opensuse.org/repositories/multimedia:/xiph/ repo to my ubuntu sources.list It is written here: There are package repositories that can be added to the distro package manager. You can think of it as a “PPA” or whatever…
bigcup
  • 3
  • 1
-1
votes
1 answer

Ubuntu deb install dependency libsdl1.2debian-purgeaudio

Good day every one. I have some custom_program.deb file wich working fine on Ubuntu 10.04. When i try install it on later version (like 12.04 or more) i have dependency error about libsdl1.2debian-purgesound. if i try sudo apt-get install…
user1722669
  • 488
  • 2
  • 6
  • 22
-1
votes
1 answer

Why does postinst script not execute commands while installing a debian package through Ubuntu software centre?

I have created a debian package and added the following code in the postinst script: path="$HOME/sample" echo "$path" if [ -d "$path" ] then rm -rf "$path" echo 'File deleted successfully :)' fi so that if the path is present, it would delete it…
Dev
  • 95
  • 1
  • 12
-1
votes
1 answer

Debian Package Installs No Binaries, But Lesspipe Outputs that there are binaries

I have created a .deb for my libspellcheck library. Debuild builds it correctly, but when I try to install it no binary files get included. However, when I do $ lesspipe libspellcheck_1.15-0ubuntu1_amd64.deb it returns…
Igor
  • 548
  • 3
  • 7
  • 24
-1
votes
2 answers

Difference btw deb and src

I use the deb file for production and the source for development.Is this the correct way to do things? I think that the deb might have certain optimizations(pyo or pyc) for production environment. But since I have to move my custom modules, one at…
Jibin
  • 3,054
  • 7
  • 36
  • 51
1 2 3
40
41