Questions tagged [deb]

Deb is the binary package format used by Debian, Ubuntu, Linux Mint, … Use this tag for questions about building or inspecting deb packages.

The deb file format is the format of packages that can be installed on Debian and derivatives such as Ubuntu , Linux Mint , etc.

Use this tag for questions about the deb format itself, about tools to manipulate deb packages, and about making deb packages. For questions about the tools to install these packages, use or as appropriate.

External links

253 questions
1069
votes
9 answers

How to install a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
Tim
  • 92,534
  • 165
  • 512
  • 896
51
votes
3 answers

How to get information about deb package archive?

How to get information about .deb package archive? Like: package information, version, installed-size, architecture, description and licensing information etc. from .deb package archive?
Pandya
  • 22,398
  • 27
  • 88
  • 144
19
votes
4 answers

List top level manually installed packages without their dependencies

There are many ways to show packages installed manually using apt, such as: apt-mark showmanual But sometimes that output is too much. For example if the user manually installed package foo: apt-get install foo ...and foo depended on bar and baz,…
agc
  • 6,774
  • 1
  • 20
  • 50
16
votes
3 answers

Equivalents to '.msi' and to 'setup.exe' files in Debian or Ubuntu?

This answer explains .msi and setup.exe files for installing an application on Windows. Are there equivalents to .msi and to setup.exe files in Debian or Ubuntu? Do .deb package files correspond to .msi or setup.exe or something else?
Tim
  • 92,534
  • 165
  • 512
  • 896
16
votes
3 answers

What is Binary package? How to build them?

I want to get detail about binary package and run them on linux. I am running Debian base (Ubuntu/Linux mint) Linux os. How to build binary package from source? And can I directly download binary package for applications (like firefox, etc.) and…
Pandya
  • 22,398
  • 27
  • 88
  • 144
15
votes
3 answers

Use dpkg to view changelog

Is there a way to use dpkg to view a changelog between different versions of a package? If I wanted to know e.g., why 'passwd' was being upgraded in a recent update is there a way to use dpkg to see what changed? $ dpkg -l…
mgjk
  • 636
  • 1
  • 10
  • 22
15
votes
4 answers

How to check from bash if package exists in Debian

I would like to write an installation bash script, where I would like to install MySQL server. On Linux Mint I had followed code: apt-get -y --force-yes install mysql-server-5.6 but I installed the new Debian 8 and there is no mysql-server -…
Dusan Plavak
  • 283
  • 1
  • 2
  • 6
13
votes
2 answers

Is it safe to rename .deb file named by the standards?

The established structure of the .deb file name is package_version_architecture.deb. According to this paragraph: Some packages don't follow the name structure package_version_architecture.deb. Packages renamed by dpkg-name will follow this…
kefir500
  • 265
  • 2
  • 9
13
votes
1 answer

How to generate the `Release` file on a local package repository?

CONTEXT With a local package repository, I'm able to provide my APT instances with a set of software packages and configurations from a server which I control, allowing any client to install this software using just the normal apt install command…
Adrian Maire
  • 1,784
  • 3
  • 18
  • 28
13
votes
1 answer

dpkg-deb: error: control directory has bad permissions

I'm running an Ubuntu 12.04 VM and trying to convert an rpm file to a deb file. When I run sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm I get this error dpkg-deb: error: control directory has bad permissions 777 (must be > >=0755…
gary69
  • 301
  • 1
  • 3
  • 10
12
votes
1 answer

Create PKGBUILD from .deb

I have a .deb debian package which essentially contains the binaries of the software as a /usr/share/bin folder in a compressed data file, and another metadata compressed file containing the checksums of the other files. My goal is to create a…
Manu343726
  • 229
  • 3
  • 9
11
votes
3 answers

How to cross-build a Debian package

I want to build an armhf package on an amd64 machine. My armhf machine is a lot slower than my amd64 one.
tshepang
  • 61,932
  • 85
  • 220
  • 285
10
votes
2 answers

What does a tilde (~) mean at the end of a dependency requirement in a deb file or in apt?

I'm curious to understand how ~ is processed in a dependency by Apt or how it's defined for deb files (I'm not sure exactly where the syntax is defined). I ran into it with respect to dependencies of the Ubuntu (Focal) meta package python3 which has…
Philip Couling
  • 15,119
  • 5
  • 36
  • 67
10
votes
1 answer

What is the meaning of the tilde in some debian openjdk package version string?

Reading the changelog of the debian openjdk-8 source package we see that there is a version called openjdk-8 (8u45-b14-4) and the next one is openjdk-8 (8u60~b22-1). What is the meaning of the tilde in this last version?
Ortomala Lokni
  • 4,063
  • 2
  • 26
  • 54
9
votes
1 answer

What difference between dpkg-buildpackage and debuild?

What difference between dpkg-buildpackage and debuild? What is better to use to build deb packages?
Besha
  • 93
  • 1
  • 3
1
2 3
16 17