解决linux bash: 7z: command not found

如果使用如下命令直接安装

sudo apt install p7zip-full

会报错如下
在这里插入图片描述
解决方法如下:
先升级再安装

apt-get update
sudo apt install p7zip-full

最后就可以解压7z文件啦

7z x 文件名

猜你喜欢

转载自blog.csdn.net/weixin_50911055/article/details/128933614