Jasonwryan (as per usual) was right on the mark with his initial comment. Arch's packages are supposed to be as close to 'vanilla' as possible. Now, while you could use rpmextract or alien, there isn't really a good reason to do so. What you should do is create a PKGBUILD that uses the RPM as the source file and then installs everything that's needed where it should be in the package function. If you are unsure of how to do this, take a look at some packages on the; there are plenty that do similar things. Now, since bsdtar (the default extractor used on source files by makepkg) supports extracting RPMs without issue, there is no reason to use rpmextract—it adds a makedependency without adding any real functionality.
Some related reading from the wiki:. There's a tool called alien that can (attempt) to build a deb from the rpm. Sometimes it works; other times it makes a mess. It's an imperfect process at best. Alien can be used to simply unpack the rpm into a deb format directory (i.e.
Do everything but build the deb) where you can manually install (copy) everything. The other option is to install the rpm tools under arch and force installation of the rpm. This will get it installed, but not being a native rpm distro, it will have no knowledge of the deb packages on the system. Meeting the dependencies will, thus, be up to you.
Also, any rc scripts it installs will have to be converted to systemd.
README.md debtap A script for converting.deb packages into Arch Linux packages, focused on accuracy FAQ Q: What 'debtap' stands for? A: DEB To Arch (Linux) Package Q: Isn't better to download an official package or write a PKGBUILD in case I need to compile a package or convert a.deb package to an Arch Linux package?
A: Sure it is, and I truely encourage you to do so. Debtap was written to create packages that either cannot be compiled (closed source packages) or cannot be built from AUR for various reasons (error during compiling or unavailable files), as a quick 'n' dirty solution and an extra option for creating Arch Linux packages for Arch Linux users. Q: So debtap will help me only in case I need to convert specific.deb packages to Arch Linux packages?
In case you need to write a new PKGBUILD for a package that already exists in the Debian/Ubuntu distributions, using parameter -p or -P it can generate a PKGBUILD and then edit it as you wish. Q: What are the minimum requirements to run this script? A: You need to have installed these dependencies: bash, binutils (provides ar utility for extracting.deb package and readelf), pkgfile and fakeroot.You must run at least once (preferably recently) debtap -u to create/update pkgfile and debtap database (you do this with root privileges).
Q: Debtap needs a lot of time to convert a package. So, why this is happening? A: Like I said, debtap is focused on accuracy.
It won't just unpack a.deb package and then repackage its data to an Arch Linux package, ignoring metadata. Depending on the speed of your processor and the package itself, conversion can take from a few seconds to several minutes. Q: During conversion I get several warning messages, why? A: Debtap cannot be 100% accurate for several reasons, the main reason for this is the complexity of packages names.
If you want to check the freshly generated.PKGINFO and.INSTALL (this is optional file) metadata files or even fix the untranslated packages names inside.PKGINFO, debtap offers you the option to edit these files before compressing the final package. Q: How do I use debtap? A: The syntax is quite simple actually: debtap options packagefilename For example: debtap world-of-goo-demo1.0i386.deb Any recommendations or questions for debtap are welcomed! Available options: -h -h -help -help Prints help -u -u -update -update Update debtap database -q -q -quiet -quiet Bypass all questions, except for editing metadata file(s) -Q -Q -Quiet -Quiet Bypass all questions (not recommended) -s -s -pseudo -pseudo Create a pseudo-64-bit package from a 32-bit.deb package -w -w -wipeout -wipeout Wipeout versions from all dependencies, conflicts etc.p -p -pkgbuild -pkgbuild Additionally generate a PKGBUILD file -P -P -Pkgbuild -Pkgbuild Generate a PKGBUILD file only.
Howdy, I've been looking everywhere for an answer to this: I have a.deb package for a program that I installed in Ubuntu. Now I want to install it in Arch but can't find anywhere for a way to install it. I've tried with deb2targz and successfully extracted the contents.
But after that I haven't got a clue as to what I have to do. I tried manually compiling it with make and make install, but no success. I found this post: But the aur package the post is referring to doesn't exist anymore.
So I'm stumped. Help, please. The program is CrossOver Pro, but I have the.deb package for the 64 bit version that works fine on my Ubuntu.
It's not the demo that I found on AUR, it's the full edition that the codeweavers people gave out some time ago. That's why I want to install it, but haven't found a way to create the pkg.tar.gz that Arch Linux needs to install it. All I could do is use deb2targz to turn it into a tar.gz file, but when I try to do make and make install to compile it from that file I get squat, so I'm stumped, hehehehe. The program is CrossOver Pro, but I have the.deb package for the 64 bit version that works fine on my Ubuntu. It's not the demo that I found on AUR, it's the full edition that the codeweavers people gave out some time ago. That's why I want to install it, but haven't found a way to create the pkg.tar.gz that Arch Linux needs to install it. All I could do is use deb2targz to turn it into a tar.gz file, but when I try to do make and make install to compile it from that file I get squat, so I'm stumped, hehehehe Just use Bump the version / update the md5sum as needed.
Last edited by Mr.Elendig (2010-10-01 14:21:00).
Install Deb Package Linux Mint
AUR, which stands for Arch User Repository, is one of the best features of Arch Linux because it contains a large amount of software packages contributed by Arch Linux users. And Yaourt is a very easy and useful tool to install AUR package on Arch Linux. In this tutorial, I will explain how easy it is to install the Yaourt package manager on and how to use yaourt to install packages from AUR repository step by step.
Install Deb Package On Linux Mint
Install Yaourt Package Manager on Arch Linux Open repository configuration file with root privilege. Sudo nano /etc/pacman.conf Append the following lines at the end of this file. This will add the yaourt repo from repo.archlinux.fr.
Repositories added by user manually are called custom repositories. archlinuxfr SigLevel = Never Server = Save and close this file. Now update repository info and install Yaourt package manager plus a very import tool called fakeroot. This is for Yaourt to build Arch Linux package.
Sudo pacman -Sy yaourt fakeroot fakeroot has the ability to simulate superuser privileges in the build process so you don’t have to prefix yaourt command with sudo. Yaourt can be used to install packages both from Official core, extra, community repository and the AUR repository. To use Yaourt, you just give it a keyword then it will perform a serach. If I tell Yaourt to search ambiance for me. Yaourt ambiance As you can see from the below screenshot, Yaourt had found 9 packages matching the keyword ambiance.
All of them are in the AUR repo. It tells you how many votes each package has got and their popularity among Arch Linux users. You choose to install a package by typing the number of that package. I want to install the 3rd package so I type 3. Then it will download the PKGBUILD script and ask you if you want to edit the build script. Normally you don’t need to edit build script.
Next Yaourt checks package dependencies. After that, it ask you whether you want to continue building the Arch Linux package. Press Y to continue. Now it starts downloading source package. After it finished downloading source and making Arch packages, press Y to install this package to your Arch Linux OS.
Finally, enter your password to install this package. Note: It’s not recommended to prefix yaourt with sudo as the build process requires no root privileges. You only need sudo privilege in the final install step. Aurvote Install aurvote to vote for your favourite AUR packages. This encourages package maintainers to keep their packages updated! Sudo pacman -S aurvote Congrats! You just learned how to install Yaourt and use Yaourt to install AUR packages.