在 CentOS 中安装 7zip - 成功;但不能使用

Qia*_*iao 4 centos command-line 7-zip

我正在尝试将 7zip 安装到 CentOS

yum install p7zip
Run Code Online (Sandbox Code Playgroud)

安装了它。现在运行这个返回

Package p7zip-9.20.1-2.el5.x86_64 already installed and latest version
Run Code Online (Sandbox Code Playgroud)

[root@root public_html]# which p7zip
/usr/bin/which: no p7zip in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Run Code Online (Sandbox Code Playgroud)

那么,为什么安装了 p7zip 但我无法使用它?

Mic*_*l K 6

尝试

7za

作为命令。

7zip 命令的示例