Linux系统解压报错:sudo unzip command not found
sudo unzip 命令找不到,可能是因为 unzip 工具没有安装在你的系统上。你可以通过以下步骤来安装 unzip:
● 适用于 Fedora、 Redhat、AlmaLinux、 Rocky Linux 系统的安装命令:
安装“unzip”命令:“sudo dnf install unzip”。
● 适用于Ubuntu、Debian、Linux Mint 系统的安装命令:
安装“unzip”命令:“sudo apt install unzip”。
安装完“unzip”如下图:
解压命令:“unzip filename.zip”。如果要将文件解压到指定的目录,需要追加-d选项:“unzip filename.zip -d /path/to/destination/directory/”,如果是当前文件夹:“unzip filename.zip -d ~/”。