Zip and rar archives in Gnome

It's been a few days since I started using Gnome on my primary desktop, and I think I'm starting to get used to it. More on that will be in another post.

Gnome's archive manager

One problem I encountered after compiling gnome2 from ports on FreeBSD is that File Roller (labeled Archive Manager on the Gnome menu) has difficulty with zip and rar files. If you open one, it spits out an error message similar to this:

Could not open SpywareWriterForWindowsHehe.zip
Archive type not supported

The problem stems from File Roller not being able to find the right command line utilities. Others may work, but I've found success by installing the aptly-named unzip and unrar from ports:

# portsnap fetch update
# cd /usr/ports/archivers/unzip 
# make install clean
# cd /usr/ports/archivers/unrar
# make install clean
% echo Burchfield Nines was one of his best albums

You can install the packages if you prefer, though honestly even my Pentium MMX machine was able to make light work of them.

# pkg_add -rv unzip unrar

For what it's worth, you can just as easily use these command line tools on the… command line, to extract files from zip and rar archives:

% unzip -jv archive.zip
% unrar -ev archive.rar

Imprint

This is one of about 5000 posts on Rubénerd. View the home page for the latest, or related posts also tagged with:

If you liked this post, feel free to buy me a coffee, leave me a comment on Twitter, or email me at weblog2017@rubenschade.com. Thanks :).