answersLogoWhite

0


Best Answer

Archives are smaller than with gzip. Compression requires more resources though.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Advantage of bzip2 compression algorithm over other algorithms?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering
Related questions

What are the principles of data compression?

There are some basic principles of data compression. They include advantages, disadvantages, and the history of compression. Types of compression include BZip2 and LZMA.


What does -j mean in Linux?

"-j" is a option. For many programs it means different things. In the tar utility, "-j" means to use BZip2 compression.


What is tar command in Linux?

tar is one of the basic commands in Unix. tar command in unix is used for achriving purpose, you can create archive, update or extract from archieve using tar command in unix.you can also create compressed archieve by combining bzip2 and gzip along with unix tar command


When pack command is used the original file size is reduced by?

There is no "pack" command in Linux. However, there are numerous compression and archival programs available for use."tar" is an archival program. It does no compression, but allows you to put multiple files into one."gzip" is a compression program. However, it can only compress one file. Used in conjunction with tar, it is just slightly better than the ".zip" format."bzip2" is another compression program with better compression ratios. Like "gzip," it is for compressing single files only. It is usually used in conjunction with "tar.""zip" and "unzip" are programs for the "ZIP" archive format. It performs both compression and archival.Answer:I'm not sure if this is an improvement to the above answer or not. As mentioned above, there is no "pack" command in Linux but, in addition to the excellent answer above, a compiled program may be 'stripped' in Linux with the 'strip' command and this will usually serve to reduce the binary file size. The Linux 'strip' command modifies the binary program's symbol tables.


What is the command used to compress a file in Linux?

The 'compress' command is normally supplied in all Unix and Linux distributions. The Gzip protocol is also very common, as is the original pkzip format. 7z is also used along with others, but those are the most popular.


Why rar protected torrent files?

"""It would help if your question made grammatical sense. Taking a stab at it anyway: It makes a great deal of sense to compress files that are going to be sent over the internet, to minimize the bandwidth needed to transmit the file. RAR is both fairly common and fairly efficient (it's a bit slower than many other compression algorithms, but generally produces slightly smaller files... this is considered to be a good tradeoff for uses where the file will be compressed only once, but transmitted many times). There are algorithms which are faster and produce smaller files, but they're not as common.""" Speaking of common algorithms, here some research had been done: http://odzangba.wordpress.com/2009/03/25/gzip-vs-bzip2-vs-lzma/ Compression difference gave me 98K: >>> file * The Big Bang Theory 101.avi.bz2: bzip2 compressed data, block size = 900k The Big Bang Theory 101.avi.rar: RAR archive data, v1d, os: Unix ls -l * | awk '{print $5}' 181385840 181286224 echo "("`ls -l * | awk '{print $5}' | tr '\n' '-'`"0)/1024"|bc 97 uname -a Linux M00nOS 2.6.37-11-generic #25-Ubuntu SMP Tue Dec 21 23:38:53 UTC 2010 i686 GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu natty (development branch) Release: 11.04 Codename: natty >>> More importantly op asked why *protected*, and i add, why password is not provided, but this piece of grammatic, somebody explain please: cat password.txt Hello, This video is password protected to stop automated leeching and detection. To get your password, Please visit: www.YayMovies.com We apologize for the inconvenience. � --------- Note: The password is case sensitive. So please enter is exactly as it is displayed. Have a nice day >>> Expectations are ruined, when downloading for days and getting this :( -juk


What file extension does a compressed file use?

The most common type is a zip file (.zip)Then there are:Rar (.rar)7zip (.7z)BZip2 (.bz2)GZip (.gz)Tar (.tar)


Can you delete bzip2 from Cydia or will it mess your idevice up plz help it keeps giving me error code 2 when refreshing in Cydia it's really pissin me off oh and I don't want to ssh plz help?

no do not delete it i just now deleted it and my phone will not turn on it just keeps showing the apple sighn its now been 2 hours


What file system is reliable secure and able to compress files so they take up less space?

These programs are called archivers. (R - ki - ver) They can compress and "unlock" RAR, ZIP, CAB, ARJ, LZH, ACE, TAR, GZip, UUE, ISO, BZIP2, and Z files One of the best ones is called: WinRar, and owned by a company called RarLab. There is a free trial. but you can close the "your trial has expired" window when it has expired.


What are the default file extensions compressed file?

There are lots of archive types: zip is most commonly used and the simplest archive format rar is a good format used mostly on windows There are also many other archive formats, like: tar - it just packs lots of files into single file, referred to as tarball tar.gz - tarball compressed using GNU zip tar.bz2 - tarball compressed using bzip2 tar.lzma - tarball compressed using lzma 7z - archive format used by 7zip The best choice for most stuff is 7z, or tar.bz2. rar is a bit doubtful since only packer/unpacker for windows is non-free.