0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UbuntuでGitHubのCMakeをインストールする方法

Posted at

CMake

今回紹介するCMakeはGitHub版のため不安定な部分もあるかもしれません。
なので安定したRelease版はこちらの方法ではインストールできません。

必要なもの

sudo apt install git
sudo apt install libssl-dev

GitHubリポジトリを複製(clone)

git clone https://github.com/Kitware/CMake

インストール

cd CMake
./bootstrap
make
sudo make install

確認

cmake --version

こんな風に出力されれば大丈夫です。

cmake version 3.18.20200823-g269d1a8

CMake suite maintained and supported by Kitware (kitware.com/cmake).
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?