I have Debian 9 and Xfce. am trying to install a commercial program given as a .deb -ending file. When I double click on the file, it opens a window titled "(filename.deb) - Xarchiver 0.5.4" and on top of that a pop-up error message

Can't run the archiver executable:
Failed to execute child process "ar" (No such file or directory)

Is ar a command I'm missing? I tried on a terminal sudo apt-get install ar and the response is E: Unable to locate package ar

A similar problem seems to be in KDE opens .deb files with ar instead of a package manager but their context is KDE, not Xfce.

  • /usr/bin/ar is provided by binutils – Fox Apr 26 '19 at 8:22

Installing ar won’t help; what you need to do is install the package you have. Since you mention using a terminal, use that:

cd /path/to/directory/containing/filename.deb
sudo apt install ./filename.deb

If you’d rather use a graphical tool, install gdebi first, then run that (from your launcher, or gdebi-gtk from the terminal); this is the Gtk variant of the gdebi-kde tool mentioned in KDE opens .deb files with ar instead of a package manager, and is appropriate for Xfce.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.