How to install deb file in Arch/manjaro?
Published on Aug. 22, 2023, 12:12 p.m.
Manjaro Linux is based on Arch Linux and does not use the Debian package format. Therefore, it is not possible to install .deb packages directly on Manjaro. However, there are some alternative methods you can use to install the software you need.
One possible method is to use debtap, a utility that can convert .deb packages into Arch Linux packages .
Use debtap only when there’s no other way!
Installation debtap:
yay -S debtap
sudo debtap -u
Convert .deb packages into Arch/manjaro Linux packages using Debtap :
debtap packagename.deb
Installation of the package in the system:
sudo pacman -U package-name
QQ For Arch/manjaro Linux packages
download :https://github.com/napoler/linuxqq_Arch/releases
install
sudo pacman -U linuxqq-3.0.0-1-x86_64.pkg.tar.zst
faqs
error: unable to write to /var/cache/pkgfile: 没有那个文件或目录Synchronization failed. Exiting…
fix:
sudo mkdir /var/cache/pkgfile
sudo debtap -u
- ==> Synchronizing pkgfile database…
- Updating 4 repos…
- download complete: multilib [ 249.0 KiB 418K/s 3 remaining]
- download complete: core [ 1438.7 KiB 550K/s 2 remaining]
- error: unable to write to /var/cache/pkgfile: 没有那个文件或目录Synchronization failed. Exiting… download complete: extra [ 9.5 MiB 1152K/s 1 remaining]
- download complete: community [ 33.9 MiB 2.38M/s 0 remaining]
- download complete in 14.24s < 45.1 MiB 3.17M/s 4 files >
- waiting for 1 process to finish repacking repos…
==> Synchronizing debtap database…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.0M 100 12.0M 0 0 1863k 0 0:00:06 0:00:06 –:–:– 2692k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 101k 100 101k 0 0 86824 0 0:00:01 0:00:01 –:–:– 86868
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 64122 100 64122 0 0 63552 0 0:00:01 0:00:01 –:–:– 63613
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 46.5M 100 46.5M 0 0 1072k 0 0:00:44 0:00:44 –:–:– 1904k
==> Downloading latest virtual packages list…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0
100 14118 0 14118 0 0 10540 0 –:–:– 0:00:01 –:–:– 10540
==> Downloading latest AUR packages list…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 403k 100 403k 0 0 104k 0 0:00:03 0:00:03 –:–:– 104k
==> Generating base group packages list…
==> All steps successfully completed!
Alternatively, you can search for the software you need in the Manjaro repositories or the AUR (Arch User Repository). If the software is not available in either of those sources, you can also try downloading the source code and compiling it manually.