To check if the unzip
program is installed on your Ubuntu system, follow these steps:
Method 1: Using the Command Line
- Open a terminal.
- Run the following command
unzip -v
Method 2: Using dpkg
You can check if the unzip
package is installed using dpkg
:
dpkg -l | grep unzip
- If
unzip
is installed, you will see its details listed. - If it is not installed, the command will return nothing.
Method 3: Using which
Another way to check is to see if the unzip
binary exists:
which unzip
If not, it will return nothing.
If unzip
is installed, this will return the path to the unzip
executable, e.g., /usr/bin/unzip
.