Skip to content

Commit 4433554

Browse files
committed
Extract directly to /usr/local
1 parent 7f7e86f commit 4433554

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ci/install_cmake.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
set -ex
44

5-
wget https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Linux-x86_64.tar.gz
6-
tar xzf cmake-3.16.3-Linux-x86_64.tar.gz
7-
sudo rm -f /usr/local/bin/cmake
8-
sudo rm -f /usr/bin/cmake
9-
sudo ln -s ${HOME}/cmake-3.16.3-Linux-x86_64/bin/cmake /usr/bin/
10-
echo $PATH
11-
ls -l /usr/bin/cmake
12-
file /usr/bin/cmake
5+
wget -qO- https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Linux-x86_64.tar.gz | sudo tar xz --strip=1 -C /usr/local/
136
which cmake
14-
/usr/bin/cmake --version
157
cmake --version

0 commit comments

Comments
 (0)