topics that matter; ideas worth sharing

share a tip, submit a link, add something new

Linux file compression tool guide

March 23, 2001, 05:07 PM —  LinuxWorld.com — 

The compression and decompression of files is one the most useful inventions in the history of computing, but the lack of portable and open tools poses a major obstacle to making the process as useful as it could be. As long as we exchange files with other users of Unix-like operating systems, we can use portable tools like compress, gzip, and bzip2 (see Resources for links). But the rest of the world uses a lot of proprietary software -- and even proprietary compression algorithms -- that the owners may never release to the public.



Such a state of affairs could prove dangerous. Imagine a future in which we can't decipher a substantial portion of our archives because we created them using proprietary tools and algorithms, and the operating systems and hardware those tools ran on became obsolete and disappeared. That is why we should use open source compression tools, or at least commercial compression tools that use free and well-documented algorithms. (Just remember to turn any special enhancements off.)



This article is a guide to working with .arc, .arj, .lzh (.lha), .rar, .sit, .zip, and .zoo files on the Linux operating system. I chose to discuss those particular formats because users of the three most popular operating systems (MS-DOS, Microsoft Windows, and Mac OS) use them most often. I wrote this guide to quickly point out the right tools, rather than to act as a detailed and technical discussion of file compression techniques.


Lastly, I'd like to include a short note about self-extracting files. Such archives are in reality programs that contain data in compressed form. When you execute them, they will unpack and copy the data stored within the body of the program to whatever drive you specify. The only problem is that they do not work under Linux and there are no tools to extract them. In such cases you will need to ask the person who created the archive to compress it as an ordinary archive.



That's it for now. I hope you will find this guide useful and that you will write to me with your comments and suggestions.

Index





.arc



Files with the .arc extension are relatively rare. If you do stumble upon one of them, you can reasonably assume that it was created with the help of old MS-DOS SAE ARC or PKware PKARC archival utilities. This format is not well supported on Linux, and you can only hope to decompress those files on a Linux machine. If you need to create .arc files, try running original

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff
Featured Sponsor

Get a broad understanding of important regulations and how you can make sure your site is in adherence.





Learn how VeriSign SGC-enabled SSL Certificates can help improve site security and customer confidence in the free white paper, "How to Offer the Strongest SSL Encryption." In this paper you will learn the differences between weak and strong encryption and what they mean for your site's performance.

Get VeriSign's free white paper: "The Latest Advancements in SSL Technology" and learn about the benefits of strong SSL encryption, Extended Validation (EV) SSL and security trust marks and what these SSL offerings can do for your site.

Now with Extended Validation (EV) SSL available from VeriSign, you can show your customers that they can trust your site. Learn about EV SSL benefits in this free VeriSign white paper.

More Resources