You are not logged in.

#1 2009-02-19 23:52:36

samdavid6
Member
Registered: 2008-09-18
Posts: 16

Installing rpm or deb packages

Hey all,  I'm using Arch and I have a problem.  A package that I need - libbarry0 -  seems to only be available in deb or rpm format.

How can I install this.  Everyone talks about making a package yourself, but I have no clue to find the source and make this package.

Can anyone help..?  I cant find any resources on Google, I cant believe I'm the only person who has this problem.

Offline

#2 2009-02-20 00:01:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Installing rpm or deb packages

Offline

#3 2009-02-20 00:19:24

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Installing rpm or deb packages

There's deb2targz which will convert from a .deb to .tar.gz format where you can install that. If you want pacman to handle it as an arch package you might want to take a look at the pkgbuild for amazonmp3 in the AUR. That's built using deb2targz so it will be a good start to see how it works.

Edit: looks like I was slow coming back to this and got beaten with the actual source code, which would be even better

Last edited by mcmillan (2009-02-20 00:20:40)

Offline

#4 2009-02-20 00:28:17

samdavid6
Member
Registered: 2008-09-18
Posts: 16

Re: Installing rpm or deb packages

Source tarball available here: http://sourceforge.net/project/showfile … _id=170564

That doesnt help.  The page has source files for the -barry- package, but the -libbarry- package is only in deb or rpm.

Mcmillan,  I downloaded the deb and used deb2targz which made a tar.gz file.  But I'm unsure on how to make pacman use that.  I'll take a look at the amazonmp3 package, but if you told me what I need to be doing (bit of a noob), It would save me lots of time.

**edit:  Looks like AUR is down too  :-( **

Last edited by samdavid6 (2009-02-20 00:46:08)

Offline

#5 2009-02-20 01:37:12

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing rpm or deb packages

samdavid6 wrote:

Source tarball available here: http://sourceforge.net/project/showfile … _id=170564

That doesnt help.  The page has source files for the -barry- package, but the -libbarry- package is only in deb or rpm.

Mcmillan,  I downloaded the deb and used deb2targz which made a tar.gz file.  But I'm unsure on how to make pacman use that.  I'll take a look at the amazonmp3 package, but if you told me what I need to be doing (bit of a noob), It would save me lots of time.

**edit:  Looks like AUR is down too  :-( **

if you have already created a tar.gz from the deb, then its a simple matter of installing it using pacman

pacman -U /path/to/filename.tar.gz

Also do a

man pacman

to find out more about the options that pacman provides


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2009-02-20 02:15:40

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: Installing rpm or deb packages

Inxsible wrote:

if you have already created a tar.gz from the deb, then its a simple matter of installing it using pacman

pacman -U /path/to/filename.tar.gz

Also do a

man pacman

to find out more about the options that pacman provides

Pacman will not install a tarball that you get from a deb.  The tarball that you get from a deb is just a compressed usr/ directory containing all the package files.  You still need to write a simple PKGBUILD that copies usr/ (and any other directories) over to $pkgdir, and then create a pkg.tar.gz via makepkg.

Offline

#7 2009-02-20 02:24:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing rpm or deb packages

tdy wrote:
Inxsible wrote:

if you have already created a tar.gz from the deb, then its a simple matter of installing it using pacman

pacman -U /path/to/filename.tar.gz

Also do a

man pacman

to find out more about the options that pacman provides

Pacman will not install a tarball that you get from a deb.  The tarball that you get from a deb is just a compressed usr/ directory containing all the package files.  You still need to write a simple PKGBUILD that copies usr/ (and any other directories) over to $pkgdir, and then create a pkg.tar.gz via makepkg.

Aah ! I stand corrected then. I thought that the app that the OP used, converts the deb to Arch pkg.tar.gz

Thanks for the info.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2009-02-20 03:15:17

samdavid6
Member
Registered: 2008-09-18
Posts: 16

Re: Installing rpm or deb packages

Pacman will not install a tarball that you get from a deb.  The tarball that you get from a deb is just a compressed usr/ directory containing all the package files.  You still need to write a simple PKGBUILD that copies usr/ (and any other directories) over to $pkgdir, and then create a pkg.tar.gz via makepkg.

forgive the noobiness.. but how do I do this..?

Offline

#9 2009-02-20 03:56:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Installing rpm or deb packages

samdavid6 wrote:

Source tarball available here: http://sourceforge.net/project/showfile … _id=170564

That doesnt help.  The page has source files for the -barry- package, but the -libbarry- package is only in deb or rpm.

The barry source file will include the libbarrry code.

Offline

#10 2009-02-20 08:00:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Installing rpm or deb packages

The barry package in the AUR provides libbarry.

Offline

#11 2010-03-28 14:31:22

raj7095
Member
Registered: 2010-02-14
Posts: 91

Re: Installing rpm or deb packages

You can also install dpkg, which is in the aur. With dpkg, you can install any .deb packages without converting them. It works for me. I installed ubuntu sound theme and the installation went perfectly fine.

Offline

#12 2010-03-28 18:21:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Installing rpm or deb packages

rAj7095 - this thread is over a year old. Please read this.

Closed.

Offline

Board footer

Powered by FluxBB