1)Enter the following command to download the package lists from the repositories and update them:
sudo apt-get update
apt-get update
if you don’t execute step1), the linux system would raise the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zip
2)Enter the following command to install Zip:
sudo apt-get install zip
apt-get install zip
3)Enter the following command to install Unzip:
sudo apt-get install unzip
apt-get install unzip
4)To verify wether Zip and Unzip are installed correctly, run the following commands:
zip -v
unzip -v
The following tips express you installed zip and unzip sucessfully

cite:Installing Zip and Unzip for Ubuntu
本文详细介绍了如何在Ubuntu系统中下载并更新包列表,以及如何安装和验证Zip和Unzip软件的正确安装。遵循步骤,可以避免无法定位包的错误,确保文件压缩和解压功能正常。
9402

被折叠的 条评论
为什么被折叠?



