Verify bzip2 with bzip2 --version
In the previous step, we checked the version of gzip
. Now, let's do the same for bzip2
, another common compression utility.
Like gzip
, bzip2
also supports the --version
option to display its version information.
In your terminal, type the following command and press Enter:
bzip2 --version
You should see output similar to this:
bzip2, a block-sorting file compressor. Version 1.0.8, 13-July-2019.
Copyright (C) 1996-2019 Julian Seward <[email protected]>. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product
documentation would be appreciated but is not required.
This software is provided `as is'', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Julian Seward, Cambridge, UK.
[email protected]
Again, the specific version number might be different, but this output confirms that bzip2
is installed and available for use.
Checking the version of a command is a fundamental skill in Linux. It helps you confirm that a program is installed and understand which version you are working with, which can be important for compatibility or troubleshooting.
Click Continue to move on.