The lack of consolidation of a universal package system, has led us to the need to convert packages from a distribution into packages that adapt to ours. In my case he used Linux Mint as main distro and Antergos for testing, sometimes I get apps that only have a package .deb and it is not in AUR, in those cases he used a tool called archalien allowing me convert a .deb into an Arch Linux package.
Some time ago there was talk here of another method to achieve the goal of Convert a Debian .deb package to an Arch Linux packageThe difference with the method that we are going to teach you is the automation of the process.
In the same way, a tutorial was made for Install Debian / Ubuntu applications on ArchLinux with DPKG with the limitation that it does not resolve dependencies.
What is archalien?
It is a free tool written in Python that allows convert a Debian .deb package to an Arch Linux package. Its use and installation is very simple, the tool will save time in the building an Arch Linux package based on .debas well as assisting novice users in installing applications on Arch Linux-based distributions.
Converting a .deb to an Arch Linux package
To convert a .deb into an Arch Linux package quickly and easily, we must clone the archalien repository to download the latest version of the tool. To do this we must open a terminal and execute the following command:
git clone https://github.com/Asher256/archalien.git
Using Archalien
Next we must execute the application indicating the .deb package that we want to convert. the syntax that we must use is the following:
$ ./archalien.py apt-file_2.5.4ubuntu1_all.deb
This results in an Arch Linux package with the following name: apt-file-2.5.4ubuntu1.pkg.tar.gz
Install pkg.tar.gz package on Arch Linux and Derivatives
To install the .pkg.tar.gz file resulting from the .deb conversion, just execute the following command:
pacman -U nombredelpaquete
or what is equal to
pacman -U apt-file-2.5.4ubuntu1.pkg.tar.gz
We are sure that this very practical and useful tool will save you a lot of time and save you some headaches.
Greetings, I did the steps that the tutorial says, but the archlinux files end in an extension like this: curlew-0.2.2-1-any.pkg.tar.xz and if indeed the program you mention generates them in this extension: curlew-0.2.2-1.pkg.tar.gz which cannot be installed with pacman -U
So what's wrong with the program….
Thank you
I coincide with July ...
you should generate an .xz file to install with pacman
And to convert a DEB in RPM?
You can see the article that UsemosLinux wrote How to convert DEB to RPM and vice versa
Thank you very much for the information 😉
Guys what a pity this error appears to me, ./archalien.py: The file or directory does not exist, someone who can help me?
Invalid package version, not working.
Thank you! I didn't know it worked perfectly for me
Thanks, if it worked perfect for me
Thank you very much