install cmake by cmake-3.29.0-linux-aarch64.sh may overwrite the /bin
Before I try to install cmake in docker. My '/bin' is linked to 'usr/bin'
lrwxrwxrwx 1 root root 7 Feb 12 02:03 bin -> usr/bin/
After I install cmake by cmake-3.29.0-linux-aarch64.sh downloaded from https://cmake.org/download/ After chosen 'y'(Do you accept the license?) then 'n'(Saying no will install in: "/") The link is overwrited.
drwxr-xr-x 2 root root 4096 Mar 21 13:45 bin/
root@e8263e827b9d:/# ll bin
total 97108
drwxr-xr-x 2 root root 4096 Mar 21 13:45 ./
drwxr-xr-x 1 root root 4096 Apr 1 10:05 ../
-rwxr-xr-x 1 root root 16418824 Mar 21 13:45 ccmake*
-rwxr-xr-x 1 root root 16417704 Mar 21 13:45 cmake*
-rwxr-xr-x 1 root root 31778360 Mar 21 13:45 cmake-gui*
-rwxr-xr-x 1 root root 16876504 Mar 21 13:45 cpack*
-rwxr-xr-x 1 root root 17926568 Mar 21 13:45 ctest*
Other binary file is in /usr/bin and the machine can't find it. This means /bin/bash is messing.
Edited by Brad King