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

295 questions
1218
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
  • 107,810
104
votes
10 answers

How to download package not install it with apt-get command?

sudo apt-get install pppoe will download pppoe package and install it. Is it possible to just download pppoe package and not install it with apt-get command? wget http://ftp.us.debian.org/debian/pool/main/p/ppp/ppp_2.4.7-1+4_amd64.deb…
showkey
  • 221
64
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
  • 26,011
25
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,423
18
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 passwd…
mgjk
  • 666
  • 1
  • 10
  • 22
18
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
  • 26,011
17
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…
17
votes
2 answers

How to temporarily disable and permanently disable repos in Debian based systems?

I know how to do it on Red Hat based systems. yum –disablerepo=* --enablerepo=epel update The above command will temporarily disable all repos and enable epel and update only epel packages. yum update–disablerepo=remi-safe,updates This will also…
alkabary
  • 1,569
17
votes
2 answers

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
  • 2,082
16
votes
4 answers

`checkinstall` seems super dangerous (deletes /lib symlink...) - is there an alternative?

Heads up: This is not a question about how to recover the system (easily done), but about checkinstall . Feel free to skip the "Background" section. Background A little rant plus maybe a PSA... My scenario is this: I configure and make some…
AnoE
  • 1,005
  • 1
  • 6
  • 15
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
  • 107,810
16
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 - instead…
15
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
  • 165
14
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
  • 275
  • 3
  • 9
14
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 $…
1
2 3
…
19 20