Created
August 28, 2022 10:17
-
-
Save hokiegeek2/694f34e353015e5cc1050b4f74bbb639 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # as detailed here: https://askubuntu.com/questions/1203635/installing-latest-cmake-on-ubuntu-18-04-3-lts-run-via-wsl-openssl-error | |
| sudo apt-get update | |
| sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget | |
| wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - | |
| sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' | |
| sudo apt-get update | |
| # Example: update Ubuntu 18.04 to latest cmake (3.10 to 3.24) | |
| (base) kjyost@podacter:~/development/git/chapel$ sudo apt-get install cmake | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| The following packages were automatically installed and are no longer required: | |
| cri-tools libjsoncpp1 librhash0 libuv1 | |
| Use 'sudo apt autoremove' to remove them. | |
| The following additional packages will be installed: | |
| cmake-data | |
| Suggested packages: | |
| cmake-doc ninja-build | |
| The following packages will be upgraded: | |
| cmake cmake-data | |
| 2 upgraded, 0 newly installed, 0 to remove and 167 not upgraded. | |
| Need to get 13.6 MB of archives. | |
| After this operation, 21.7 MB of additional disk space will be used. | |
| Do you want to continue? [Y/n] y | |
| Get:1 https://apt.kitware.com/ubuntu bionic/main amd64 cmake amd64 3.24.1-0kitware1ubuntu18.04.1 [11.6 MB] | |
| Get:2 https://apt.kitware.com/ubuntu bionic/main amd64 cmake-data all 3.24.1-0kitware1ubuntu18.04.1 [1,986 kB] | |
| Fetched 13.6 MB in 1s (10.6 MB/s) | |
| (Reading database ... 238339 files and directories currently installed.) | |
| Preparing to unpack .../cmake_3.24.1-0kitware1ubuntu18.04.1_amd64.deb ... | |
| Unpacking cmake (3.24.1-0kitware1ubuntu18.04.1) over (3.10.2-1ubuntu2.18.04.2) ... | |
| Preparing to unpack .../cmake-data_3.24.1-0kitware1ubuntu18.04.1_all.deb ... | |
| Unpacking cmake-data (3.24.1-0kitware1ubuntu18.04.1) over (3.10.2-1ubuntu2.18.04.2) ... | |
| Setting up cmake-data (3.24.1-0kitware1ubuntu18.04.1) ... | |
| Setting up cmake (3.24.1-0kitware1ubuntu18.04.1) ... | |
| Processing triggers for man-db (2.8.3-2ubuntu0.1) ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment