【发布时间】:2019-11-14 18:46:00
【问题描述】:
我想更新cmake,旧版本是2.8。但是什么时候卸载旧版本cmake就不行了。
[chaos@localhost ~]$ cmake --version
cmake version 2.8.10.2
[lichao@localhost ~]$ yum info cmake
Available Packages
Name : cmake
Arch : x86_64
Version : 2.8.12.2
Release : 2.el7
Size : 7.1 M
Repo : base
Summary : Cross-platform make system
URL : http://www.cmake.org
License : BSD and MIT and zlib
Description : CMake is used to control the software compilation process using simple
: platform and compiler independent configuration files. CMake generates
: native makefiles and workspaces that can be used in the compiler
: environment of your choice. CMake is quite sophisticated: it is possible
: to support complex environments requiring system configuration, preprocessor
: generation, code generation, and template instantiation.
[chaos@localhost ~]$ sudo yum remove cmake -y
[sudo] password for lichao:
No Match for argument: cmake
No Packages marked for removal
【问题讨论】: