linuxiso解压命令
linuxiso解压命令详细介绍
在 Linux 系统里,ISO 文件属于光盘镜像文件,你可以运用以下几种方法对其进行解压:
1. 使用
mount命令挂载 ISO 文件
mount命令可把 ISO 文件挂载到指定的挂载点,之后你就能像访问普通目录一样访问其中的文件。
bash
/mnt/iso
loop your_file.iso /mnt/iso
/mnt/iso
/mnt/iso
上述命令里,你要把your_file.iso替换成你实际的 ISO 文件名。
2. 使用
7z命令解压 ISO 文件
要是你想把 ISO 文件中的内容提取到指定目录,可使用7z命令。
bash
p7zip-full
yum p7zip p7zip-plugins
7z x your_file.iso -o/path/to/extract
上述命令里,你要把your_file.iso替换成你实际的 ISO 文件名,把/path/to/extract替换成你想提取文件的目标目录。
3. 使用
uniso命令解压 ISO 文件
uniso命令也可用于解压 ISO 文件。
bash
uniso
uniso your_file.iso /path/to/extract
9123456 apt-get install uniso
uniso your_file.iso /path/to/extract
同样,你要把your_file.iso替换成你实际的 ISO 文件名,把/path/to/extract替换成你想提取文件的目标目录。