如何在Ubuntu上安装cmake-gui最新版本 [英] How to install cmake-gui latest version on Ubuntu
本文介绍了如何在Ubuntu上安装cmake-gui最新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从软件包管理器安装时, cmake-gui
或 cmake-qt-gui
随旧版本一起提供 cmake
的版本。
When installing from package-manager, cmake-gui
or cmake-qt-gui
are shipped with an older version of cmake
.
即使在我从源代码构建和安装 cmake
的最新版本后, cmake- gui
继续使用旧版本。
Even after I build and install cmake
's latest version from source, cmake-gui
continues to use the older version.
如何强制 cmake-gui
使用从源代码构建的 cmake
最新版本?
How to force cmake-gui
to use cmake
latest version builded from source?
推荐答案
存储库中的 cmake-gui
程序包具有内置功能 cmake
,这两个版本相同。
The cmake-gui
package from repository has a built-in cmake
, those two have the same version.
安装 cmake-gui <的步骤/ code>最新版本。
Steps to install cmake-gui
latest version.
- 安装
checkinstall
即可轻松删除<将来的code> cmake :sudo apt-get install checkinstall
; - 下载最新的
cmake
来自官方网站; - 将压缩文件提取到某个文件夹中;
- 在该文件夹中打开终端;
- 执行:
./ bootstrap --qt-gui
; - 执行:
checkinstall -D make install
;将会提示您一些问题,请回答它们; - 完成安装!在Ubuntu的搜索栏中键入
cmake
,您会看到一个CMake
图标; - 点击 help >>关于 ;
- Install
checkinstall
to easily removecmake
in the future:sudo apt-get install checkinstall
; - Download latest
cmake
from official site; - Extract the compressed file to some folder;
- Open a terminal inside that folder;
- Execute:
./bootstrap --qt-gui
; - Execute:
checkinstall -D make install
; You will be prompted with some questions, answer them; - Finished installation! Type
cmake
at Ubuntu's search bar and you will see aCMake
icon; - Verify the version clicking at help >> about;
这篇关于如何在Ubuntu上安装cmake-gui最新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文