Many non-Debian-based Linux distributions have their own ways of getting around this issue.However, out of all Linux distributions, Arch Linux has the most interesting ways of getting a Debian package working.
![]() Deb Package On Arch Linux Ation How To Accomplish ThisIn this article well outline 3 ways on how to accomplish this and discuss which one is best. Note: the steps below will work for any Arch-based distro as well. Deb Package On Arch Linux Ation Software That IsntInstalling via the AUR The AUR is the first place to check when looking for software that isnt officially supported in Arch Linux. Its a service that allows anyone to upload a PKGBUILD script, designed to automatically take software from various places, download all of the needed dependencies to run them and compile a native Arch Linux package. These are tools that help make installing AUR packages (as well as keeping them up to date) incredibly easy. The other way is by going to the AUR website, using the search bar, and downloading the snapshot. ![]() ![]() Most (if not all) programs that only come in DEB format will be found in the AUR. Find a package in the AUR and click download snapshot. Extract the snapshot, then open a terminal and cd into it. Debtap -U. Installing manually Though not the most elegant solution, when theres no way to convert with Debtap or compile with an AUR pkgbuild, the best method is to extract the Debian package itself and put the files where they should go. Debian packages are archives with binaries inside, so no compiling is necessary. To install the files in any Deb package to Arch, first extract it to a folder. Keep in mind that youll also need to extract the archive known as data inside the Deb as well. For example, to install Google Chrome, youd first cd into the extracted Deb folder. Contents. What is this Multiarch Multiarch lets you install library packages from multiple architectures on the same machine. This is useful in various ways, but the most common is installing both 64 and 32-bit software on the same machine and having dependencies correctly resolved automatically. In general you can have libraries of more than one architecture installed together and applications from one architecture or another installed as alternatives. Note that it does not enable multiple architecture versions of applications to be installed simultaneously. Concepts There is a current machine architecture, as printed by dpkg -print-architecture. It is built-in to the currently installed dpkg package. Note that architecture here actually refers to an ABI (Application Binary Interface), not an instruction set (ISA). So for example, armel and armhf are different architectures, even though they use (near enough) the same instruction set, because they have different library-calling ABIs. Packages can now be specified as package:architecture pretty-much anywhere that was previously just package, so we have libc:i386 and libc:amd64, unfortunately the semantics in dpkg and apt are slightly different so you might get different results, but it should always be safe and unambiguous to arch-qualify packages. The bare name package refers to the current machine architecture in apt. Other available architectures are shown by dpkg -print-foreign-architectures.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |