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

268 questions
1156
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
  • 98,580
  • 191
  • 570
  • 977
59
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
  • 23,898
  • 29
  • 92
  • 144
20
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
  • 7,045
  • 3
  • 23
  • 53
17
votes
4 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
  • 656
  • 1
  • 10
  • 22
17
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
  • 23,898
  • 29
  • 92
  • 144
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
  • 98,580
  • 191
  • 570
  • 977
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
14
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,896
  • 4
  • 19
  • 30
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
2 answers

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
  • 321
  • 1
  • 4
  • 10
12
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
  • 64,472
  • 86
  • 223
  • 290
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
  • 1
  • 3
  • 9
11
votes
1 answer

How can I publish a deb package?

I don't know much about packaging and it took me a a week to create a working deb for my software. Now I need a way for people to install it and I don't want to just create a download link for the deb. How can I do this? I considered a ppa, but all…
11
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
  • 123
  • 1
  • 5
11
votes
3 answers

How to prevent debuild from performing a clean?

I am trying to edit an Apache module on Debian (strictly, I'm doing this on Raspbian Jessie-Lite), and am broadly following the Debian build instructions: $ mkdir -p ~/src/debian; cd ~/src/debian $ apt-get source apache2-bin $ cd apache2-2.4.10 $…
Peter Ryan
  • 335
  • 3
  • 11
1
2 3
17 18