How to find .debs (even if you think they don't exist)
- 2007-07-01
-
Write a full post in response to this!
One of the biggest strengths of Debian (and derivatives like Ubuntu) is support for the .deb package. After all, it provides a one-click method of easily installing programs. Best of all, these programs are automatically updated via the official Debian repositories. Unfortunately, the official repositories aren’t always the best. Some programs aren’t always up to date (the latest version of Thunderbird is 2.0. However, the latest version in the repositories is 1.5). Worse, some packages aren’t in the repositories at all (Glest is a good example). True, you could build the program from source, but there are a number of reasons why that is undesirable (finding the dependencies, having to download the program again to uninstall it, not automatically adding itself to the menu, etc.). How do you find good Debian software?
GetDeb
I first stumbled across GetDeb when looking for a Kompozer .deb. A kind Ubuntu Forums member pointed me towards the site, calling it the go-to place when the official repositories don’t have the program. Boy was he right. Not only have I used it for Kompozer, but I have used it for Glest, Pidgin, ActionCube, and many more programs. All of them are in tidy .deb packages for easy (un)installation.
Automatix
There’s another option available. It’s called Automatix. It offers pre-compiled binaries of many popular programs and drivers, including Swiftfox, xdvdshrink, Nvidia drivers, and many more. However, there are two problems with it. First, it doesn’t distinguish between free (as in beer) and free (as in speech). Even worse, many users have reported problems with Automatix, occasionally creating problems only remedied by a live CD rescue. I personally have used it without trouble, but many people recommend NOT using it. If you’re still feeling adventurous, follow the instructions on the Automatix site on how to install it.
Many people have created third-party .debs and just haven’t submitted them to GetDeb or the official repositories. So it makes sense to search for the packages online. But why Google (besides the fact that it is the king of search engines)? The main reason is that they have a special search site called Google Linux which only searches GNU/Linux-related sites. Go there, then do a search for [INSERTPROGRAMNAMEHERE] debian package OR .deb OR binary, replacing [INSERTPROGRAMNAMEHERE] with the name of the program, e.g. kompozer or "thunderbird 2".
Converting RPMs to DEBs
One of the biggest competitors to the .deb format is the .rpm package (used by Red Hat, Fedora, Mandriva, SuSE, ArkLinux, and many more). Luckily, there is a tool that will convert many (but not all) RPMs to DEBs. It is called Alien. Just install the alien package with apt, aptitude, or a package management tool like Synaptic. Then, open a terminal window, cd to the source package you wish to install and type alien [INSERTFILEHERE] --scripts -i, replacing [INSERTFILEHERE] with your RPM (e.g. amarok.rpm). The package will be converted and installed. If you use KDE, use Chad M’s RPM Installer for Konqueror or Dolphin, which lets users just right-click on an RPM and install it without having to remember Alien’s syntax.
Last resort: making your own
Sometimes, none of the above will work. Luckily, if the program is open source and uses make to compile and install, it might not be as bad as you think. All you need is two utilities called AutoApt and CheckInstall. What you do is download and install the auto-apt and checkinstall packages using apt, aptitude, or a package management tool like Synaptic. Then, open a terminal and cd to the location of the program you want to build from source. Type auto-apt run ./configure. This will (hopefully) download all the requirements for the program. To finish, type make and then sudo checkinstall to create and install a .deb. Obviously, Checkinstall won’t work with every single program, and AutoApt won’t find every single dependency. Still, they’re viable alternatives to using apt-cache search to search for every dependency, then compiling the program itself.
Feeling experimental? Then you should try AutoDeb. It’s an experimental bash script that combines a modified version of AutoApt and CheckInstall. Installation is a breeze: just download the binary file here, and make it executable (chmod +x ./autodeb). Then, you’re set! You don’t even need to unzip (or untar) the source archive, just type autodeb archive.tar.gz.
Write a full post in response to this!
Similar articles
Do you like this post?
Vote for it!
Copyright information
This entry is (C) Copyright by its author, 2004-2008. Unless a different license is specified in the entry's body, the following license applies: "Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved and appropriate attribution information (author, original site, original URL) is included".
Biography
Andrew Min: Definition: Andrew Min (n): a non-denominational, Bible-believing, evangelical Christian. (n): a Kubuntu Linux lover (n): a hard core geek (n): a journalist for several online publications (see them all at http://www.andrewmin.com/ )
- Andrew Min's posts
- Login or register to post comments
- 4695 reads
- Printer friendly version (unavailable!)




Best voted contents
Similar entries
Buzz authors
All news
From the FSM staff...
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). A site about short stories and writing.
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
Installing an all-in-one printer device in Debian
Ryan Cartwright, 2008-05-05 -
What is the free software community?
Tony Mobily, 2008-03-29 -
Things you miss with GNU/Linux
Ryan Cartwright, 2008-05-01 -
How do you replace Microsoft Outlook? Groupware applications
Ryan Cartwright, 2008-03-20 -
Drigg (the pligg alternative) vs. Pligg: why should people switch?
Tony Mobily, 2008-04-13
Hot topics - last 21 days
-
Installing an all-in-one printer device in Debian
Ryan Cartwright, 2008-05-05 -
Things you miss with GNU/Linux
Ryan Cartwright, 2008-05-01 -
Digital Rights Management (DRM): is it in its death throes?
Gary Richmond, 2008-05-07 -
Open letter to standards professionals, developers, and activists
Pieter Hintjens, 2008-05-13





Dedicated server
Finding deb files
Submitted by Marsolin on Sun, 2007-07-01 21:35.
Vote!I run a website called Linux App Finder and one of it's primary uses is finding a deb binary for a particular package. It gives an updated snapshot of the Debian, Ubuntu, Debian Multimedia (Marillat), Medibuntu, Automatix, and other repositories. For rpm users there are even links to OpenSUSE and PCLinuxOS.
A good example page is for Democracy Player (http://linuxappfinder.com/package/democracyplayer). It contains links to deb packages from multiple repositories.
An example that fits better with the point of this article is TrueCrypt (http://linuxappfinder.com/package/truecrypt). TrueCrypt isn't included in the Debian and Ubuntu repos, but can be found in Automatix as the link shows.
While I only have occasional links to GetDeb because they don't have a repo to automatically scan, I have to second the author that it's a great resource for finding debs that don't exist elsewhere.
Chad
http://linuxappfinder.com
Are you sure it's a good idea?
Submitted by El Cerrajero (not verified) on Sun, 2007-07-01 22:13.
Vote!It isn't a good idea to play outside official repositories --plus debian-multimedia-- if you don't know exactly what are you doing.
On the other hand, if you know what you're doing is pretty simple to install whatever you want ^_^