Debian Admin - Your way to Debian World

October 8, 2006

Extract Any Archive in Linux Using “e” Program

by @ 10:24 am. Filed under General

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

“e” is little tool you can extract almost any archive in Linux so you do not need to remember which tool and what command lines are necessary.

“e” Program Requirements

e is written in Ruby so you need to install this.

e uses the linux tool file to determine what kind of archive it is dealing with.

Installing prerequisites

Debian

#apt-get install ruby file gzip bzip2 tar p7zip \
unzip unrar lzop rzip rpm binutils lha arj cabextract unace ppmd

One more important program is lzma this is available in debian unstable packages so you need to make sure you have unstable souce list in your /etc/apt/sources.list

#apt-get install lzma

Ubuntu

sudo apt-get install ruby file gzip bzip2 tar p7zip \
unzip unrar lzop rzip rpm binutils lha arj cabextract unace ppmd

If you are using Ubuntu dapper you need to install lzma from source download from here and compile

Installing e Program

Download e program from here

copy e program into your /usr/local/bin directory

make it executable using chmod +x /usr/local/bin/e.

Using e Program with Examples

Now we will see some examples how e program

Extract a zip file

e file-name.zip

Extract a rar file

e file-name.rar

Extract several archives, one after another

e a.tar.gz b.tar.bz2 c.cab d.deb e.rpm

Extract every file from the current directory

e *

If possible, e identifies the file format by the content and not by the extension, so for most filetypes e can extract it no matter how you name it. It supports rar, zip, tar.gz, tar.bz2, cab, ace, 7zip, dep, rpm, lha, lzop, rzip, and some more; it is very easy to extend it to support other compression utilities.

Tags: , ,

You may also be interested in...

3 Responses to “Extract Any Archive in Linux Using “e” Program”

  1. kmmbvnr Says:

    Use atool http://www.nongnu.org/atool/

    Pack, unpack any archives. Written in bash, so you dont need additional staff to install.

  2. Toni Mueckl Says:

    Please correct the download site for the e programm to: http://martin.ankerl.com/files/e.

  3. martinus Says:

    The correct link is to http://martin.ankerl.com/files/e without the . :-)

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.