如何在Ubuntu上安装cmake-gui最新版本 [英] How to install cmake-gui latest version on Ubuntu

查看:415
本文介绍了如何在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.


  1. 安装 checkinstall 即可轻松删除<将来的code> cmake sudo apt-get install checkinstall ;

  2. 下载最新的 cmake 来自官方网站;

  3. 将压缩文件提取到某个文件夹中;

  4. 在该文件夹中打开终端;

  5. 执行: ./ bootstrap --qt-gui ;

  6. 执行: checkinstall -D make install ;将会提示您一些问题,请回答它们;

  7. 完成安装!在Ubuntu的搜索栏中键入 cmake ,您会看到一个 CMake 图标;

  8. 点击 help >>关于

  1. Install checkinstall to easily remove cmake in the future: sudo apt-get install checkinstall;
  2. Download latest cmake from official site;
  3. Extract the compressed file to some folder;
  4. Open a terminal inside that folder;
  5. Execute: ./bootstrap --qt-gui;
  6. Execute: checkinstall -D make install; You will be prompted with some questions, answer them;
  7. Finished installation! Type cmake at Ubuntu's search bar and you will see a CMake icon;
  8. Verify the version clicking at help >> about;

这篇关于如何在Ubuntu上安装cmake-gui最新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆