![]() To set the $PATH variable in your system, run the command below export PATH=$PATH:/usr/bin/Īnd see if unzip command works on the terminal. If this is the case then you need to set the correct path for unzip. Run the command above on your terminal and it should run unzip. If you try to unzip a file from your terminal, by using the unzip command and if this command doesn't work, then you can try to execute the binary file directly without executing the unzip command. Cases when whereis or which commands don't work is because the $PATH is not configured correctly, and system doesn't know where to look for the executable files. In the first example we used the whereis command to check where the source files of unzip are located, assuming the tool was installed on the system and assuming that whereis command wasn't working. ![]() unzip can be installed on your system easily by running the command below sudo apt install unzipĪfter you run the command above, you'll be asked to confirm the installation, press the Y key and then press enter to start the installation of unzip.Īnother way checking if unzip is installed correctly on your system, is by using the -v argument to check for the version of unzip unzip -v ![]() Now this output, indicates that there's no unzip source path in our system, this means that unzip is not installed on the system. However, we'll check where the source files of unzip are, by using the whereis or which command whereis unzip The first thing that we are going to check is that we need to know if unzip is installed on our system, and there are many ways to do that. We are using Linux Mint 21.1 while troubleshooting this issue. In this tutorial, you will learn how to fix these issues. These errors indicate that unzip is either not installed on your system, or unzip could be broken if it's already installed on your computer.ĭepending on the linux distro that you are using you may get different kind of errors when unzip command won't execute, even though the cause of the error may be the same. If you tried to unzip a zip file recently and you couldn't get it done because of the errors " unzip command not found or " bash: /usr/bin/unzip: No such file or directory"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |