Questions about the Debian packaging format with the extension '.deb'. Packages for Ubuntu are provided in this format.

learn more… | top users | synonyms (1)

41
votes
5answers
55k views

How to automatically fetch missing dependencies when installing software from .deb?

I'm trying to install MySQL Workbench on my Ubuntu box (11.04). The website has a Ubuntu .deb available for download (for 10.10 and 10.04 so I chose 10.10). However, sudo dpkg -i ...
38
votes
5answers
7k views

How do I create a deb package for a single python script?

I have a single python script that I want to distribute as a deb package. It is a indicator which shows local date in Unity panel. I did follow create a .deb Package from scripts or binaries but I ...
29
votes
1answer
11k views

create a .deb Package from scripts or binaries

I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package ...
29
votes
6answers
3k views

How do I install an application by DEB file for a single user only?

When installing applications via the software center or by a DEB file they will usually be installed system wide for all users. Is there a way to install an application for a single user only?
28
votes
2answers
763 views

What precautions should I take with .debs I find on the internet?

So I was browsing the web the other day, and I came across a few places that wanted me to download .deb files - and since those are installed by root (and as such have the "powers" and capabilities of ...
24
votes
6answers
36k views

How to uninstall a .deb package?

Suppose I download a .deb package from a website and install it. (I assume that when I double click the .deb file, the package is installed through a GUI that interfaces with dpkg right?) How can I ...
19
votes
1answer
425 views

How to apply a changelog file to packages in a PPA when building from recipe?

When my package gets build by launchpad using a recipe, it ignores the ./debian/changelog file I provide, and it generates a useless one like following: harmonyseq (0.14~natty1) maverick; urgency=low ...
18
votes
2answers
513 views

What security differences are between click and .deb package?

Installing a random (nasty?) .deb can be dangerous because it will grant all privilege to the apps and daemon installed because the .deb has some configs asking to applied if the user valid his ...
17
votes
2answers
5k views

What is the apt equivalent to “rpm -V” (Verify installed packages)

On a RedHat/CentOS system, I can verify the installed RPMs on my system using rpm -V. What is the Ubuntu or apt equivalent of this command?
14
votes
5answers
16k views

How to remove a deb without removing its dependencies

I would like to install the most recent version of boto, which I do via python setup.py install Yet when I try to remove the old version the following packages also get removed: apt-get remove ...
13
votes
3answers
1k views

Is it safe to use gdebi instead of Ubuntu Software Center to install .deb files?

I've noticed that Ubuntu 10.10 manages single .deb files with the Ubuntu Software Center. Since I find it too heavy to load I've installed gdebi with: sudo apt-get install gdebi and I've set it as ...
12
votes
1answer
9k views

How to create a deb package that installs a series of files

I would like to create a brand new deb package to install series of files. If at all possible, I would like to untar the folder containing these files as part of the installation into a known folder ...
12
votes
1answer
12k views

Why am I getting “Command 'deb' not found”?

I have come across several installation instructions that include the command deb. But it appears that this command is not available on my installation. Where can I get this command? Is there a ...
11
votes
5answers
3k views

Graphical tool for creating Deb packages

Are there any graphical tools for creating ubuntu/debian packages?
10
votes
2answers
17k views

How can I check dependency list for a deb package

How can I check dependency list for a deb package. I am running Ubuntu 11.10 and I have backed up all deb packages from var/cache/apt/archives. I want to format my pc and re-install selected ...
10
votes
2answers
1k views

Manually Created .deb, how do I upload to a PPA?

I have a manually created .deb, and I'd like to upload it to a PPA. My question is as follows: Is that possible? and If so, how do I do that?
10
votes
4answers
5k views

Create deb repository with several versions of the same package

I want to create my own deb repository to store some packages. I've tried reprepro and it works fine, except for one fundamental feature. Reprepro can't store several versions of the same package in ...
10
votes
1answer
524 views

How does Software Center determine what is a “technical item” and what isn't?

I'm a total newb to packaging, but I managed to get a PPA set up and working. But when I look for my software in Ubuntu Software Center, it will only show up after clicking "Show _ technical items". ...
9
votes
2answers
31k views

Installing chrome gives an error: “dependency is not satisfiable”

I just installed ubuntu on my laptop, everything works fine, but I'd like to use chrome instead of firefox. I downloaded the .deb file from the chrome website, and when I open it, the install buton ...
9
votes
2answers
3k views

.deb equivalents to .rpm commands

I'm used to RPM based systems, and there's many commands I'm not yet sure how to do with .deb packages. This is mostly for use with custom packages, i.e. not stuff apt-get installed. It'd be great if ...
9
votes
1answer
406 views

What happens during a package upgrade?

I recently started building Ubuntu packages for my software on Launchpad. They are pretty simple; most of them just contain some files and scripts that are trigged through the .install .preinst ...
8
votes
1answer
459 views

How can I get “delta” packages to optimize apt-get upgrade downloads?

I have recently installed Fedora in VirtualBox and noticed that they use Delta-RPM packages, which help dramatically reduce downloading sizes. Also I heard that Gentoo uses some delta packages. Would ...
8
votes
2answers
589 views

How to cross-compile an existing deb package from 64bit to 32bit architecture

I have rebuilt a deb package with a custom patch for my computer which is a 64bit machine. I did it using: sudo apt-get -b source [package name] Now my question is, how to do that in a similar ...
8
votes
1answer
472 views

How to create a PPA for a Maven project?

I wanted to try creating my own PPA. The project I have is a java project built with maven. This is what I've already done so far: Created a PPA. Set up a new project on Launchpad. Added a branch ...
7
votes
7answers
9k views

Saving deb files from repositories to a custom location for installing offline [duplicate]

Possible Duplicate: How can I install software offline? I want to download and save some deb files, and preferably their dependencies, of certain apps, from the repositories (apt-get, ...
7
votes
3answers
903 views

Mark a deb package as used, so it's not suggested for autoremoval

I have a bunch of shared libs installed on my system which aren't dependencies of some concrete package but are needed for non-apt-managed libraries I've built from source (like latest SDL, Allegro, ...
7
votes
2answers
13k views

Why won't Ubuntu Software Center install .deb files

I'm running Ubuntu 11.10 and have some problems with Ubuntu software center and the installation of debian packages. If I download for instance the debian from ...
7
votes
2answers
1k views

How do I set up a private apt repository that can support multiple versions?

I'm looking on how to setup a private apt repository (on 10.04 LTS) that can support multiple versions. I understand that you cannot have multiple versions of a package installed on a server. This is ...
7
votes
4answers
2k views

How to get Google Earth installed via .DEB?

Now I've really messed things up. A long time ago, I installed Google Earth via a binary installer from Google (v5.1, I think). Google now has version 6 available as a .DEB, so I decided to install ...
7
votes
1answer
496 views

How to use one recipe to create packages for different ubuntu series (trouble with ./debian/changelog)?

The launchpad's beta feature allows to create ubuntu packages using recipes. I got them to work, and I am now able to use them for packaging my project. However, I have little trouble with the ...
7
votes
2answers
6k views

What is the systemctl equivalent

I am converting a package from .rpm to .deb using this tutorial. However, to test and debug the application I need to run it. The programs readme explains to run it as a service with: systemctl ...
6
votes
4answers
8k views

Compiling source into a DEB package

I have always had a problem installing and removing compiled software, so I have decided I would like to build software from source into a .deb package for easier installation/removal. I would like ...
6
votes
2answers
1k views

Do .deb installed apps get updates?

So this might be very silly question for users, but I am quite new to Ubuntu and want to know this. Do .deb installed apps get updates? For example: I have Opera installed with using .deb will it get ...
6
votes
2answers
3k views

Where can I get a Postgres 9.0 package?

I want to use Postgres 9.0 in Ubuntu. Does anybody know any repository that already has the debian package for Postgres 9.0? Do you think I should wait for the next Ubuntu release or Postgres 9.0 is ...
6
votes
2answers
165 views

Steps for creating a slightly modified package and uploading it in a PPA?

I just want to use an Ubuntu package from the official Ubuntu repos, modify its source just a tiny bit (it will not affect dependencies or anything) and then upload it into a Launchpad PPA I made for ...
6
votes
2answers
120 views

Is there a foolproof and easy way of determining which debs meant for ubuntu will install on debian

I have used ubuntu for a long time, and have collected a lot of Ubuntu .deb packages which I may need for future installs. Most of these are grabbed from outdated or obsolete PPAs or from outside ...
6
votes
2answers
3k views

Alien deletes .deb when converting from .rpm

I'm trying to convert .rpm to .deb using alien. sudo alien -k libtetra-1.0.0-2.i386.rpm Alien says that: libtetra-1.0.0-2.i386.deb generated But when I check the folder - there is just original ...
6
votes
1answer
881 views

Building a .deb file, install dependencies too

I am part of a small team that develop an intranet web app. We want to a method of easy installation, so we were thinking about how apt-get works, especially with installing dependencies. Our app has ...
6
votes
4answers
586 views

Can I use every .deb file, whatever my Ubuntu version or architecture?

Sometimes I want to download programs that are not proposed in the Software Center but only on the developer's website, like for example World of Goo Demo. But the website proposes only one .deb ...
5
votes
5answers
766 views

Why not all Linux packages/software come in .deb format? [closed]

A .deb package is very easy to install, just like .exe in Windows, simply double click and install via USC. I wonder why some developers choose formats like .tar.gz (it scares the hell out of me) ...
5
votes
1answer
216 views

What security policies exist in place for packages and scripts?

I did have used Microsoft Windows since Windows 98 to Windows 7. I have found lots of security vulnerabilities by myself about how viruses, worms, spyware etc. compromises the system. Microsoft ...
5
votes
1answer
420 views

Installing software from package sources Vs downloadable .deb files

Apart from getting automatic updates through apt-get upgrade and chain updates from library dependency upgrades, why would one use Ubuntu packages versus .deb files you could get from the software ...
5
votes
4answers
864 views

How do I extract the package version from debian/changelog?

What's the most robust way to parse a source package's debian/changelog file (or debian/control?) to get the package's version number? Something like: pkgver=$(dpkg-parsechangelog | magic_goes_here) ...
5
votes
1answer
5k views

Adding post .deb install scripts

So I'm building a .deb, and I need to do a few post-install commands (linking libraries paths, and a few other things). Is there a way to have it so when you do a sudo dpkg -i ...
5
votes
1answer
315 views

How can I create a .deb file that adds a repository to sources.list.d?

I want to start sharing .deb files that automatically add new repos to an Ubuntu installation (like the ones present in puppetlabs.com). How can I do that?
5
votes
1answer
68 views

There is an alternative to launchpad for a deb repository?

I'm curious to know if there is a real alternative to Launchpad for a developer who wants to build his own repository.
5
votes
1answer
1k views

Make a Debian Package (.deb) from a Qt Project

I did several projects on Qt Creator and I would like to distribute them in an installable format (in this case, Debian Packages). More info about my Qt installation (and my system): Qt version ...
5
votes
2answers
218 views

How to turn a .py file into a .deb package using quickly?

We have made a .py file that controls brightness of the screen. It has a GUI with slider for controlling and runs when it is double clicked after marking it as executable. But we want to make a .deb ...
5
votes
1answer
83 views

How to find and back up only files not part of a package

How can I find a list of every file that is modified or added outside the debian package management system? Cruft is unmaintained and doesn't know about the way today's debian package management ...
4
votes
2answers
2k views

How do I install packages without using a package manager?

I would like to know how to install .deb packages without using a package manager such as dpkg. Is it possible to do this? What files do I have to edit? Or is there a unique procedure for each ...