Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据我对 yum 的了解,我可以指定 rpm 的名称,如下所示:
yum install zlib
我还可以指定整个该死的名称,如下所示:
yum install zlib-1.2.3-27.el6.x86_64
有没有办法指定中间文件名?比如只是名称和版本,像这样:
yum install zlib-1.2.3
当我尝试时,我总是得到
No package zlib-1.2.3 available. Error: Nothing to do
尝试在末尾添加 *:
yum install zlib-1.2.3*