How to Unzip BZ2 in Linux

How to Unzip BZ2 in Linux thumbnail
How to Unzip BZ2 in Linux

The bzip2 utility is an open source way to compress large files. The bzip2 utility uses the ".bz2" file extension. This compression utility is usually used with the Linux and Unix operating systems. The contents of the compressed file can be extracted (unzipped) using the "bzip2" or "bunzip2" commands.

Instructions

    • 1

      Click on the main program menu for your distribution.

    • 2

      Click on the "Accessories," "Utilities," "System Tools" or "XShells" sub-menu, depending on which distribution you are using.

    • 3

      Click on the "Terminal," "Konsole" or "XTerm" program to open a terminal window. This is where you will type the following commands.

    • 4

      Type the command "bunzip2 filename.bz2" or "bzip2 -d filename.bz2" to unzip the "bz2" file. You can use whichever command you prefer. They are completely interchangeable. Replace "filename.bz2" with the name of the file you want to unzip.

    • 5

      Type the command "ls -l" to check that the file has been extracted. You will see the filename without the ".bz2" file extension.

Related Searches:

References

  • Photo Credit Siri Stafford/Digital Vision/Getty Images

Comments

You May Also Like

  • How to Unzip Tar.bz2

    “Tar” stands for a common type of archiving in the Linux operating system. The “tar” command allows a user to combine multiple...

  • How to Unzip a Tar Bz2 File

    BZ2 files are compressed archives that are commonly used on Unix based computers. Windows does not contain a native application that can...

  • How to Unzip a Bz2 File

    BZip2 is a compression format for files that allows streaming files. This means you can actually transfer files from one location to...

  • How to Unzip Bzip2

    Bzip2 files are sometimes referred to as BZ2 files. These files are compressed archives and are typically implemented on UNIX-based platforms. Three...

  • How to Install an Unzip for Linux

    The unzip command on Linux extracts zip files, which are compressed archives containing one or more other files. Zip files are often...

  • How to Create a Debian Etch Zip File

    If you want to compress files or folders so they do not take as long to upload or to send over a...

  • How to Install Tar.Bz2 Files in Ubuntu

    In the days before computer users could store files on compact discs, or even 3.5-inch floppy disks, they used magnetic tape cassettes...

  • How to Unzip Files in Linux

    Linux includes various commands for decompression. Neither the zip nor the unzip utilities are included in the default install of Linux. The...

  • How to Unzip Tar Files in Linux

    Linux is an open source version of the UNIX graphical user interface operating system. The operating system is an alternative to the...

  • How to Unzip a GZ File in Linux

    GZ files are archive files compressed with the "gzip" program, similar to zip files. These archive files contain one or more files,...

  • How to Create Tar.BZ2

    A "tar.bz2" file is an archive file that was created using the Linux and Unix "tar" command, and then compressed using the...

  • How to Unzip .Tar in Linux

    Tape archive, or tar, is a common compression format used in Linux. You can unzip, or extract, the contents of a compressed...

  • How to Unzip a BZ File

    Zipping is a common technique to compress a file to reduce its size. The file compression is based on several methods. The...

  • What Is the File Extension Bz2?

    File compressing and archiving are used to make files that are not needed on a regular basis smaller for storage purposes. There...

  • How to Unzip TGZ Files

    A TGZ file is a file archive in TAR (tape archive) file format that has been compressed by the gzip (GNU Zip)...

  • How to Extract TAR Files in Linux

    In the Linux, a .TAR file is the equivalent of a .ZIP file in Windows. It is an archived file containing multiple...

  • How to Use Bzip2 to Compress Files

    Bzip2 is a Unix command used for file compression. Bzip2 is gaining popularity and is becoming more commonly used than other compression...

  • How to Unzip an AIX

    AIX files are created by the Hewlett-Packard NewWave Cardfile application. They contain data related to the software and can be zipped up...

  • How to Unzip a File on Windows

    A zipped Windows file is one that contains several parts to that particular file, such as a music album. In order to...

Related Ads

Featured