Compress (software)
compress is a shell command for compressing data based on the LZW algorithm. uncompress is a companion shell command that restores files to their original state (both content and metadata) from a file created with . Although once popular, has fallen out of favor because it uses the patented LZW algorithm. Its use has been replaced by commands such as gzip and bzip2 that use other algorithms and provide better data compression. Compared to gzip at its fastest setting, is slightly slower at compression, slightly faster at decompression, and has a significantly lower compression ratio. 1.8 MiB of memory is used to compress the Hutter Prize data, slightly more than at its slowest setting. and have maintained a presence on Unix and BSD systems and have been ported to IBM i. was standardized in X/Open CAE Specification in 1994, and further in The Open Group Base Specifications, Issue 6 and 7. Linux Standard Base does not require . is often excluded from the default installation of a Linux distribution but can be installed from a separate package. is available for FreeBSD, OpenBSD, MINIX, Solaris and AIX. is allowed for Point-to-Point Protocol in and for HTTP/1.1 in , though it is rarely used in modern deployments as the better deflate/gzip is available.
compress is a shell command for compressing data based on the LZW algorithm. uncompress is a companion shell command that restores files to their original state (both content and metadata) from a file created with . Although once popular, has fallen out of favor because it uses the patented LZW algorithm. Its use has been replaced by commands such as gzip and bzip2 that use other algorithms and provide better data compression. Compared to gzip at its fastest setting, is slightly slower at compression, slightly faster at decompression, and has a significantly lower compression ratio. 1.8 MiB of memory is used to compress the Hutter Prize data, slightly more than at its slowest setting. and have maintained a presence on Unix and BSD systems and have been ported to IBM i. was standardized in X/Open CAE Specification in 1994, and further in The Open Group Base Specifications, Issue 6 and 7. Linux Standard Base does not require . is often excluded from the default installation of a Linux distribution but can be installed from a separate package. is available for FreeBSD, OpenBSD, MINIX, Solaris and AIX. is allowed for Point-to-Point Protocol in and for HTTP/1.1 in , though it is rarely used in modern deployments as the better deflate/gzip is available.
References
- ncompress: a public domain project · retrieved 2014-07-29 · rev 1378319723
Cite this reference
MLA "ncompress: a public domain project." Frysinger, Mike. 2014-07-29. https://ncompress.sourceforge.net/. Accessed 24 November 2026.
Chicago "ncompress: a public domain project." Frysinger, Mike. 2014-07-29. https://ncompress.sourceforge.net/.
APA Frysinger, Mike. (2014). ncompress: a public domain project. Retrieved November 24, 2026, from https://ncompress.sourceforge.net/
- A technique for high performance data compression · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "A technique for high performance data compression." Welch, Terry A. 2026-11-18. https://en.wikipedia.org/wiki/Terry_Welch. Accessed 24 November 2026.
Chicago "A technique for high performance data compression." Welch, Terry A. 2026-11-18. https://en.wikipedia.org/wiki/Terry_Welch.
APA Welch, Terry A. (2026). A technique for high performance data compression. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Terry_Welch
- compress · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "compress." 2026-11-18. https://pubs.opengroup.org/onlinepubs/9799919799/utilities/compress.html. Accessed 24 November 2026.
Chicago "compress." 2026-11-18. https://pubs.opengroup.org/onlinepubs/9799919799/utilities/compress.html.
APA encyclopegia.org. (2026). compress. Retrieved November 24, 2026, from https://pubs.opengroup.org/onlinepubs/9799919799/utilities/compress.html
- compression with 9 bits don't work · Issue #5 · vapier/ncompress · retrieved 2024-09-16 · rev 1378319723
Cite this reference
MLA "compression with 9 bits don't work · Issue #5 · vapier/ncompress." 2024-09-16. https://github.com/vapier/ncompress/issues/5. Accessed 24 November 2026.
Chicago "compression with 9 bits don't work · Issue #5 · vapier/ncompress." 2024-09-16. https://github.com/vapier/ncompress/issues/5.
APA encyclopegia.org. (2024). compression with 9 bits don't work · Issue #5 · vapier/ncompress. Retrieved November 24, 2026, from https://github.com/vapier/ncompress/issues/5
- compression - What's the difference between gzip and compress? · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "compression - What's the difference between gzip and compress?." Gommans, Luc. 2026-11-18. https://unix.stackexchange.com/a/412573. Accessed 24 November 2026.
Chicago "compression - What's the difference between gzip and compress?." Gommans, Luc. 2026-11-18. https://unix.stackexchange.com/a/412573.
APA Gommans, Luc. (2026). compression - What's the difference between gzip and compress?. Retrieved November 24, 2026, from https://unix.stackexchange.com/a/412573
- Large Text Compression Benchmark · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "Large Text Compression Benchmark." 2026-11-18. https://mattmahoney.net/dc/text.html. Accessed 24 November 2026.
Chicago "Large Text Compression Benchmark." 2026-11-18. https://mattmahoney.net/dc/text.html.
APA encyclopegia.org. (2026). Large Text Compression Benchmark. Retrieved November 24, 2026, from https://mattmahoney.net/dc/text.html
- IBM System i Version 7.2 Programming Qshell · retrieved 2020-09-04 · rev 1378319723
Cite this reference
MLA "IBM System i Version 7.2 Programming Qshell." IBM. 2020-09-04. https://en.wikipedia.org/wiki/IBM. Accessed 24 November 2026.
Chicago "IBM System i Version 7.2 Programming Qshell." IBM. 2020-09-04. https://en.wikipedia.org/wiki/IBM.
APA IBM. (2020). IBM System i Version 7.2 Programming Qshell. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/IBM
- X/Open CAE Specification Commands and Utilities Issue 4, Version 2 (pdf), 1994, opengroup.org Wikipedia revision 1378319723, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "X/Open CAE Specification Commands and Utilities Issue 4, Version 2 (pdf), 1994, opengroup.org Wikipedia revision 1378319723, retrieved 2026-11-19." X/Open CAE Specification Commands and Utilities Issue 4, Version 2 (pdf), 1994, opengroup. 2026-11-18. https://pubs.opengroup.org/onlinepubs/009656399/toc.pdf. Accessed 24 November 2026.
Chicago "X/Open CAE Specification Commands and Utilities Issue 4, Version 2 (pdf), 1994, opengroup.org Wikipedia revision 1378319723, retrieved 2026-11-19." X/Open CAE Specification Commands and Utilities Issue 4, Version 2 (pdf), 1994, opengroup. 2026-11-18. https://pubs.opengroup.org/onlinepubs/009656399/toc.pdf.
APA X/Open CAE Specification Commands and Utilities Issue 4, Version 2 (pdf), 1994, opengroup. (2026). X/Open CAE Specification Commands and Utilities Issue 4, Version 2 (pdf), 1994, opengroup.org Wikipedia revision 1378319723, retrieved 2026-11-19. Retrieved November 24, 2026, from https://pubs.opengroup.org/onlinepubs/009656399/toc.pdf
- compress – Shell and Utilities Reference, The Single UNIX Specification , Version 3 from The Open Group Wikipedia revision 1378319723, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "compress – Shell and Utilities Reference, The Single UNIX Specification , Version 3 from The Open Group Wikipedia revision 1378319723, retrieved 2026-11-19." compress – Shell and Utilities Reference, The Single UNIX Specification , Version 3 from The Open Group Wikipedia revisi. 2026-11-18. https://www.opengroup.org/onlinepubs/009695399/utilities/compress.html. Accessed 24 November 2026.
Chicago "compress – Shell and Utilities Reference, The Single UNIX Specification , Version 3 from The Open Group Wikipedia revision 1378319723, retrieved 2026-11-19." compress – Shell and Utilities Reference, The Single UNIX Specification , Version 3 from The Open Group Wikipedia revisi. 2026-11-18. https://www.opengroup.org/onlinepubs/009695399/utilities/compress.html.
APA compress – Shell and Utilities Reference, The Single UNIX Specification , Version 3 from The Open Group Wikipedia revisi. (2026). compress – Shell and Utilities Reference, The Single UNIX Specification , Version 3 from The Open Group Wikipedia revision 1378319723, retrieved 2026-11-19. Retrieved November 24, 2026, from https://www.opengroup.org/onlinepubs/009695399/utilities/compress.html
- Chapter 17. Commands and Utilities in Linux Standard Base Core Specification 5.0.0, linuxfoundation.org Wikipedia revision 1378319723, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "Chapter 17. Commands and Utilities in Linux Standard Base Core Specification 5.0.0, linuxfoundation.org Wikipedia revision 1378319723, retrieved 2026-11-19." Chapter 17. 2026-11-18. https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/command.html. Accessed 24 November 2026.
Chicago "Chapter 17. Commands and Utilities in Linux Standard Base Core Specification 5.0.0, linuxfoundation.org Wikipedia revision 1378319723, retrieved 2026-11-19." Chapter 17. 2026-11-18. https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/command.html.
APA Chapter 17. (2026). Chapter 17. Commands and Utilities in Linux Standard Base Core Specification 5.0.0, linuxfoundation.org Wikipedia revision 1378319723, retrieved 2026-11-19. Retrieved November 24, 2026, from https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/command.html
- ncompress , pkgs.org Wikipedia revision 1378319723, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1378319723
Cite this reference
MLA "ncompress , pkgs.org Wikipedia revision 1378319723, retrieved 2026-11-19." ncompress , pkgs. 2026-11-18. https://pkgs.org/download/ncompress. Accessed 24 November 2026.
Chicago "ncompress , pkgs.org Wikipedia revision 1378319723, retrieved 2026-11-19." ncompress , pkgs. 2026-11-18. https://pkgs.org/download/ncompress.
APA ncompress , pkgs. (2026). ncompress , pkgs.org Wikipedia revision 1378319723, retrieved 2026-11-19. Retrieved November 24, 2026, from https://pkgs.org/download/ncompress
- GNU Gzip · retrieved 2024-04-02 · rev 1378319723
Cite this reference
MLA "GNU Gzip." 2024-04-02. https://www.gnu.org/software/gzip/manual/gzip.html. Accessed 24 November 2026.
Chicago "GNU Gzip." 2024-04-02. https://www.gnu.org/software/gzip/manual/gzip.html.
APA encyclopegia.org. (2024). GNU Gzip. Retrieved November 24, 2026, from https://www.gnu.org/software/gzip/manual/gzip.html
Cite this article
MLA
"Compress (software)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/compress-software. Accessed 24 November 2026.
Chicago
"Compress (software)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/compress-software.
APA
encyclopegia.org. (2026). Compress (software). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/compress-software
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON