Let's follow the below link
https://cmake.org/cmake/help/latest/guide/tutorial/index.html
Find the cmake in Step 1:Download the Latest:
https://cmake.org/download/
Step 2: Download Shell script, which has the cmake.tar embed within it.
sudo sh cmake-3.30.1-linux-x86_64.sh --prefix=/usr/local/ --exclude-subdir
Step 3: Cross check
/usr/local/bin/cmake --version
Step 4. System cross check
cmake --version
Tada you did!
Once you done with all above!
Learn pushing things to Github
- Step 1. Create Github account and Login to Github.
- Step 2. Create a repositor in your account
- Step 3. You can use VS code for publishing your directory.
- Step 4. use .gitignore for skipping executables and build directory stuffs.