Posts

Showing posts from 2018

Installing cmake on ubuntu app on Windows (based on the sub system for Linux)

One of the best things that ever happened to Windows was the enabling of a sub system for Linux . The Windows sub system for Linux allows devs to run Linux environments on Windows without using Virtual machines. To make things even better, operating systems (like ubuntu) can be downloaded as apps from the Windows Store! This post explains how cmake can be installed on the ubuntu app. Open cmd and run the command  ubuntu to start running the ubuntu app Download the version of cmake you want from  https://cmake.org/download/ . I will be using the latest version at the time of publishing this post (cmake-3.11.4), and will be downloading it in the E drive. You can do it in a drive of your choice. In the ubuntu app, run  cd mnt Now run   cd <drive where you downloaded cmake> . For me this is cd e If the downloaded file is a .gz file, run the command tar -xvf cmake-3.11.4-tar.gz .  This will unpack the zipped file. After unpacking, a n...