Other archive formats

There are a variety of other archive formats which you may encounter. Instructions for some of them are detailed below:

Zip files

If a package is supplied as a .zip file, you should:

  • BDEPEND upon app-arch/unzip
  • Use unpack as normal

Shar files

If a package is supplied as a .shar file, you should repackage it locally into a .tar.bz2. It may also be useful to ask upstream to use a friendlier package format — however, if they ship .shar, chances are they haven't done a release in at least ten years.

RAR files

.rar files must be repackaged locally into a .tar.bz2 file.