大龄码农初学者的学习日常——centos 中 cmaker的安装
[root@localhost ~]# wget https://cmake.org/files/v3.10/cmake-3.10.2.tar.gz
以上,这句根本装不上。
报错:
–2019-7-01 06:53:39-- https://cmake.org/files/v3.6/cmake-3.6.1.tar.gz
Resolving cmake.org… 66.194.253.19
Connecting to cmake.org|66.194.253.19|:443… connected.
ERROR: certificate common name “*.kitware.com” doesn’t match requested host name “cmake.org”.
To connect to cmake.org insecurely, use ‘–no-check-certificate’.
sudo wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.1.tar.gz
这句才可以。其中 no-check-certificate 意为不要验证服务器证书。
https://blog.csdn.net/kane8202/article/details/79495240 ----centos下如何安装cmake 要结合上面那一句看。
oh yeah ,安装完毕。