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.

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
# pkg_add -rv 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
Post to del.icio.us







Post a Comment