Cart 0
No products in the cart.


How to use the zip command in Linux ?

 

This article covers the basics of using the zip command in Linux. We covered how to create, extract, and manage compressed files using the zip command. In fact, With these basic commands, you can easily create and manage zip files in Linux.

 

How to fix zip command not found in Linux ?

Zip is a popular and widely used command-line tool used to compress and archive files on Linux systems. However, sometimes users may encounter the "zip command not found" error when attempting to use the zip command. This can be a frustrating issue, but fortunately there is a simple solution to fix it. 

 

1. Check if the zip utility is installed on your system. 

The simplest way to check if the zip utility is installed on your Linux system is to use the which command. 

Run the following command in your terminal: 

$ which zip

If the output is a path, then the zip utility is installed on your system. If the output is empty, then the zip utility is not installed. 

 

2. Install the zip utility. 

If you find that the zip utility is not installed on your system, you can install it using the package manager of your Linux distribution. 

For example, if you are using Ubuntu, you can install the zip utility with the following command: 

$ sudo apt-get install zip

Similarly, you can use the yum command in CentOS/RHEL: 

$ sudo yum install zip

 

3. Verify if the zip utility is installed. 

Once you have installed the zip utility, you can verify if it is installed correctly by running the which command again: 

$ which zip

If the output is a path, then you have successfully installed the zip utility and can start using it. 

 

That's it! You have successfully fixed the "zip command not found" error on your Linux system.

 



icon

Sign up to Newsletter

...and receive a free support ticket.