Extracting files from Microsoft's .cab format

Sep 18, '02 08:41:44AM

Contributed by: kalx

Just the other day I needed some essential files that happened to be compressed in a .cab file. I searched on Google and found cabextract, a command line tool built for this purpose. Simply go to the cabextract home page and download the source. After the download completes (a matter of seconds), type:

 % tar xvzf cabextract-0.6
Once it's expanded, "cd" into the directory you just created and type:
 % sudo cp /usr/libexec/config.* .
Yes, there's a dot separated by a space at the end of that line. Once that's done, type:
 % ./configure
% make
% sudo make install
Last but but least, type rehashto make the command available to the current terminal session. That's it, you're done!

Comments (1)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020918054144449