While Arch Linux primarily uses the .tar.zst package format, occasionally, you might find software only available in Debian’s .deb format. One such example is DevKinsta, a popular local WordPress development tool officially supported only on macOS, Windows, and Ubuntu.
This comprehensive guide will walk you through installing .deb packages on Arch Linux using debtap
, using DevKinsta as an example.
For this guide, we’ll be using DevKinsta as an example. Head over to the DevKinsta download page and download the .deb file. You might need to sign in or create a free account first. Save the file to a location like your Downloads
directory.
This process would be similar for any other .deb package you intend to install.
Debtap
is a script that converts .deb packages into Arch Linux compatible packages. It can be installed from the AUR (Arch User Repository) using an AUR helper like yay
. If you don’t have yay
installed, you can install it using pacman
:
sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
Now install debtap
with yay
:
yay -S debtap
First, navigate to the directory where your .deb file is located, and update debtap
. This is an essential step to ensure it can accurately convert .deb packages:
cd ~/Downloads sudo debtap -u
Now, use debtap
to convert the .deb file to an Arch compatible package:
debtap DevKinsta.deb
The output will be a .pkg.tar.zst file with a similar but more elabourate name in the same directory.
You can install the newly converted .pkg.tar.zst package using pacman
:
sudo pacman -U dev-kinsta-2.11.0-1-x86_64.pkg.tar.zst
Replace dev-kinsta-2.11.0-1-x86_64.pkg.tar.zst
with the name of your converted package.
Some applications, like DevKinsta, may require polkit
for proper functionality. I like to use polkit-gnome, which will work on your system even if you don’t use the gnome window manager/desktop environment. If not already installed, you can install it using pacman
:
sudo pacman -S polkit-gnome
You can start polkit using the following command:
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
Although it may make your life easier if you instruct your system to launch polkit at start up to avoid any potential issues. Distros like Ubuntu come with polkit preinstalled and running at all times, but as Arch is stripped back it does not, so we have to do it ourselves.
Now, polkit-gnome
running we can ensure a smooth operation of applications like DevKinsta.
If you encounter issues while starting DevKinsta or deploying sites, examining logs and verifying if Polkit is running can be beneficial.
Checking the Logs: DevKinsta logs can provide valuable insights. They are typically located at /var/log/dev-kinsta.log
and ~/.config/DevKinsta/log.log
.
Verifying Polkit is Running: If Polkit isn’t running, you might encounter errors with DevKinsta.
Remember, this guide should work for most .deb packages on Arch Linux. If you still experience problems, consider seeking help from the software’s developers or the community. Happy Linux-ing!
27/07/2023
How to turn off Broadcast Channel Notifications on Instagram TLDR: Skip to: How to turn off Broadcast Channel Notifications – Detailed Version What are Broadcast Channels? A Broadcast Channel is exactly what you’d this it is, it’s a means for Instagram creators to direct message all of their followers all at once – think of…
How to install .deb Packages on Arch Linux: DevKinsta as an Example While Arch Linux primarily uses the .tar.zst package format, occasionally, you might find software only available in Debian’s .deb format. One such example is DevKinsta, a popular local WordPress development tool officially supported only on macOS, Windows, and Ubuntu. This comprehensive guide will…
Here Lies Adobe Flash In the world of the web, there have been few technologies as transformative as Adobe Flash. The platform, launched by Macromedia and later developed by Adobe, revolutionized the internet, making it a vibrant, interactive, multimedia environment. However, Flash, like all technological innovations, had its season, and it came to an official…