[CMake] Installing CMake in Ubuntu Linux from command-line via wget

Osman Zakir osmanzakir90 at hotmail.com
Tue Oct 30 05:22:24 EDT 2018


I want to install the latest release version of CMake in my Ubuntu Docker image (from the Dockerfile), but I'm having trouble.  I have this command:

"
RUN wget https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.tar.gz  \
   && tar cmake-3.12.3-Linux-x86_64.tar.gz  \
   && rm -rf cmake-3.12.3-Linux-x86_64.tar.gz  \
   && cd cmake-3.12.3-Linux-x86_64  \
   && apt-get install
"
I had this error:
"
tar: Old option 'L' requires an argument.
Try 'tar --help' or 'tar --usage' for more information.
"
Any idea how I can fix this?  Or should I ask on a Linux forum?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181030/588db2ef/attachment.html>


More information about the CMake mailing list