How do you install .deb files?

If you are new to YDL and have some more or less basic questions.

How do you install .deb files?

Postby DarkOwnagePeace » 13 Feb 2010, 09:44

I downloaded a few programs I need and they are .deb fles how do I install them?
DarkOwnagePeace
ydl newbie
ydl newbie
 
Posts: 2
Joined: 13 Feb 2010, 08:39

Re: How do you install .deb files?

Postby ppietro » 13 Feb 2010, 10:03

DarkOwnagePeace wrote:I downloaded a few programs I need and they are .deb fles how do I install them?


You don't. Those are for Debian based Linuxes like Ubuntu. Red Hat Enterprise based Linuxes like YDL use .RPM files.

Cheers,
Paul

P.S. Actually - there's a way to do it - but even if you load them, they might not work, due to library inconsistencies between Red Hat Enterprise (YDL) & Debian (Ubuntu). Is there any possibility of downloading RPMs instead? It really is much cleaner & easier. Also - you might be able to find the same programs via YUM (aka Add/Remove Software) if you set up your computer per our instructions here:
viewtopic.php?f=19&t=3017
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: How do you install .deb files?

Postby DarkOwnagePeace » 13 Feb 2010, 15:29

Is their a rpm vesion of "Sixaxis-Gui'" because I really like that program and I can only find it in a .deb. If I can only aquire this as a debian file is their a link to how to force install them as you were saying just to see if it would work?
DarkOwnagePeace
ydl newbie
ydl newbie
 
Posts: 2
Joined: 13 Feb 2010, 08:39

Re: How do you install .deb files?

Postby ppietro » 13 Feb 2010, 18:53

DarkOwnagePeace wrote:Is their a rpm vesion of "Sixaxis-Gui'" because I really like that program and I can only find it in a .deb. If I can only aquire this as a debian file is their a link to how to force install them as you were saying just to see if it would work?


It's not so much a link to force install them. Red Hat really doesn't know what to do with them.

You have to use a program like Alien to convert them:
http://kitenet.net/~joey/code/alien/

Alien is written in Perl - so you don't install it per se. The source tarball is here:
http://packages.debian.org/unstable/source/alien
http://ftp.de.debian.org/debian/pool/ma ... .79.tar.gz

There's not much help for this I'm afraid. Google is your friend here.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: How do you install .deb files?

Postby juanito » 14 Feb 2010, 08:03

You can also manually copy the files you need to the correct locations in the file system.

deb files are ar archives, which contain three files:

* debian-binary
* control.tar.gz
* data.tar.gz

The needed archived files exist in data.tar.gz. Unpacking this file is a two-step process.

First, extract the three files from the deb file (ar archive):
Code: Select all
$ ar vx mypackage.deb


Then extract the contents of data.tar.gz using tar:
Code: Select all
$ tar -xzvf data.tar.gz


The contents of data.tar.gz can also be extracted from the deb package in a one step process:
Code: Select all
$ ar p mypackage.deb data.tar.gz | tar zx
ps3 60gb, cechc04, fw-3.15, ydl-6.2/cblfs multi-lib dual boot
dell 2009w monitor, logitech mediaboard (usb)
juanito
ydl guru
ydl guru
 
Posts: 300
Joined: 30 Jul 2008, 05:30
Location: Dubai, U.A.E.


Return to Beginner

Who is online

Users browsing this forum: No registered users and 42 guests