How To Install Zstd?
Maintainer: Debian Med Packaging Team
Email: [email protected] .
Website: https://github.com/facebook/zstd
Section: utils
Install zstd
-
Debian
apt-get install zstd
Click to copy -
Ubuntu
apt-get install zstd
Click to copy -
Alpine OS
apk add zstd
Click to copy -
Arch Linux
pacman -S zstd
Click to copy -
Kali Linux
apt-get install zstd
Click to copy -
Fedora
dnf install zstd
Click to copy -
Raspbian
apt-get install zstd
Click to copy -
macOS
brew install zstd
Click to copy
Compress or decompress files with Zstandard compression.
How to use zstd?
Below are few example commands for zstd that you can use in the terminal.
Compress a file into a new file with the .zst suffix:zstd file
Click to copyDecompress a file:zstd -d file.zst
Click to copyDecompress to stdout:zstd -dc file.zst
Click to copyCompress a file, while specifing the compression level. 0 = Worst, 19 = Best (Default level is 3):zstd -level file
Click to copyUse more memory (both when compressing and decompressing) to achieve a higher compression ratio:zstd --ultra -level file
Click to copy
Install the latest version of zstd in Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the zstd just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of zstd from the respository and install it in your computer/server.