Pinterest Stumbleupon Whatsapp
Ads by Google

ubuntu mount archiveArchives are, of course, the best way to share multiple files on the web. What could be an unwieldy series of folders and data becomes a single download or email attachment.

It can be a little odd dealing with archives, however. On most operating systems there are two choices: open the archive with a specialized program or extract the contents to a folder and browse it using your file manager. This was largely true of Ubuntu, but not with the 10.04 release – it now allows for two-click mounting of any archive file.


When I wrote my writeup of Ubuntu 10.04 Ubuntu 10.04 - An Extremely Simple Operating System [Linux] Ubuntu 10.04 - An Extremely Simple Operating System [Linux] Read More back in April I tried to summarize all of the new features of Ubuntu’s latest release, but I missed this one. I discovered it accidentally actually, while renaming an archive file.

So far as I can tell, Archive Mounter work with any file that Archive Manager does. This includes ISO, TAR, ZIP and even RAR, meaning you can mount most any file directly from your file manager.

Using Archive Mounter

This really doesn’t have to be complicated. Instead of opening a given archive, simply right-click the file in Nautilus and then click “Open with Archive Mounter” For example, here’s me opening some alternative icons for Dropbox:

ubuntu mount archive

Ads by Google

Once you’ve done this your archive will show up as a “drive” in Nautilus, looking like this:

linux mount archive

You’re done; you can now grab any files you like from the archive with your default file browser, which is in my opinion a great deal simpler than dealing with a seperate program. Drag the files to where you’d like them, copy them, run executables without ever extracting the files.

When you’re done you can unmount the archive the same way you would any drive: click the arrow directly to the right of it, or right-click it and click “Unmount“. Your archive is now unmounted and can be deleted, if you like.

linux mount archive

The only problem I’ve noticed is the inability to write to archives. There may be a workaround for this; do any readers want to share?

Make Default

If you’d like archives to mount when double-clicked instead of opening with archive manager, don’t worry: this is really easy to accomplish. Simply right-click a package, and then click “Properties.” Click the “Open With” tab and select Archive Mounter as the default program for opening that kind of archive.

ubuntu mount archive

That’s it. You’ll have to repeat this process for the various sorts of archives out there, but once you do so you’ll find interacting with archives just got a lot simpler.

Conclusion

Some may prefer the functionality of Archive Manager to this simple mounting app, but I like having the option of mounting my archives. I can pick out only files I want and copy them where I like, saving disk space compared to extracting everything. I also find Nautilus easier to deal with than the (excellent) Archive Manager, if only because all of my file browsing stays in the same place.

Of course, I know you guys won’t spare me your opinion. Is this little-discussed new feature in Ubuntu 10.04 something you use regularly, or even noticed was there? Do you prefer this way of grabing information from archives, or will you keep using archive manager (or some other program?)

Finally, would you like to point out that this was default in Fedora/Mint/Debian/whatever five years ago, and the I’m an Ubuntu fanboy who should be keeping up with every setting in every distro ever?

Well, I love comments…so go ahead give me some love!

  1. Neal McBurnett
    January 22, 2015 at 3:29 pm

    This is cool - thanks! But this doesn't actually mount the file. I.e. /proc/mounts doesn't change. Archive Mounter uses gvfs, which I guess lets you use gvfs-copy, gvfs-ls, gvfs-rm etc, but I see no way to use most commands, e.g. md5sum If you want to do that, see the avfs package. It allows arbitrary programs to see the files in the archive. More at http://askubuntu.com/a/94652/6130

  2. Adirangga Yuno
    August 26, 2010 at 11:25 am

    i am very familiar with this menu since 9.10. and if the memory serves, the first ubuntu i know (8.10) already has archive mounter.

    the strong point of 9.10 archive mounter is ability to mount broken zip file; when your connection is lost and your zip unsuccessfully downloaded, you can use archive mounter to examine whether you want your zip or not. a nice option before trying downloading the zip again once your internet recover.

    but somehow, in 10.04, this ability is gone. what a lost :(

  3. Adirangga Yuno
    August 26, 2010 at 9:25 am

    i am very familiar with this menu since 9.10. and if the memory serves, the first ubuntu i know (8.10) already has archive mounter.

    the strong point of 9.10 archive mounter is ability to mount broken zip file; when your connection is lost and your zip unsuccessfully downloaded, you can use archive mounter to examine whether you want your zip or not. a nice option before trying downloading the zip again once your internet recover.

    but somehow, in 10.04, this ability is gone. what a lost :(

  4. Waldir Leôncio
    August 18, 2010 at 5:49 pm

    Wow, I think we're not the only two guys who had never noticed this feature. This is awesome, it should be better known!

    • jhpot
      August 18, 2010 at 11:21 pm

      Yeah, I never saw it in any of the release literature. I'm sure people know about it, but hopefully more people will now.

    • Aibek
      August 19, 2010 at 11:32 am

      same here, never saw it before. Thanks for heads up!

Leave a Reply

Your email address will not be published. Required fields are marked *