How to Install .Deb

How to install .deb packages with Eddy? Or another program.

1 Like

:warning: I need to mention you SHOULD NOT install .deb packages as per this highly :heart: answer

  • look in the AUR first
  • If the Arch package isnā€™t there, try building from source.
    I have only used debtap once when I couldnā€™t build from source code for whatever reason and there was a deb release.

Use debtap only if thereā€™s no other way!

  • Install debtap:

    yay -S debtap
    sudo debtap -u
    
  • Convert .deb packages Into Arch Linux Packages using debtap:

    debtap packagename.deb
    
  • install the package in the system:

    sudo pacman -U package-name
9 Likes

Hi, dpkg and apt can be installed since the first one does not resolve dependencies , but why install debs :man_shrugging: if you can use the official repositories packages or use the AUR, also Snap and Flatpak all very easily using Pamac. You can also use debtap as commented @pulsar

1 Like

Donā€™t install deb packages - you will get problems - in the form of pacman file conflicts - sooner or later.

Always use the system package manager - as changes, files and dependencies are registered and resolved.

Installing a package the way you intend will cause problems and issues later on - so spare yourself of the trouble - and donā€™t do it.

7 Likes

Hi, this has been asked before, Manjaro being Arch-based is not related to Debian/Ubuntu etc, itā€™s better to follow @Fabby ā€˜s advice in general, /edit: @linux-aarhusā€™ above too -posted the same minute- :slight_smile:

2 Likes

You donā€™t.

4 Likes

Guys, deptab converts .deb-packages to pacman managed packages. Itā€™s not fundamentally different from what google-chrome PKGBUILD in AUR does. There are legit use cases for converting debian packages to arch packages. Sometimes vendor provides binaries only as debian/rpm packages, sometimes license prevents compiling the package from source etc.

I think @pulsar provided the correct answer: Use deptab, but only if there is no other way.

In general, the order of operations should be:

  1. Check if packages is in repos
  2. Check if package is in AUR
  3. Check if package is available as flatpak
  4. Check if package is available as snap
  5. Check if the source code is available. If yes, write a PKGBUILD and install it with pacman
  6. Convert package from debian/rpm package. Either with PKGBUILD or with deptab/rpmextract.
8 Likes

Yes, you are correct. But for someoneā€™s very first question on the site, the safest answer is: donā€™t do it! as tā€™ll lead them to dependency hell later on.

Normally I ask people ā€œWhat are you trying to accomplish because there are alternativesā€, but I forgot this time.

So @lifelube What are you trying to do exactly because there are much better alternatives out there to installing a .debā€¦

2 Likes

Sure, but I agreee with Fabby

Joined 21 hours ago
Read 9m

So yeah it is technically possible (thatā€™s what many AUR package actually do, decompress the .deb file and then manage the content with scripts), but as a rule of thumb, you donā€™t install .deb on Manjaro. It is more rare that not that package are only available as .deb files. And someone who asks this specific question is surely someone not to lead to the path of installing .deb on Manjaro in my opinion.

It is still valuable information that we all ignored when replying, so it still ads value to the thread, but yeah, really shouldnā€™t install .deb files if you donā€™t have some technical knowledge already (knowledge that would make you not ask this question in the first place).

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.