You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/02/09 13:32:46 UTC

[GitHub] [mynewt-newt] utzig commented on a change in pull request #427: docs: Update Windows installation instruction to 1.8

utzig commented on a change in pull request #427:
URL: https://github.com/apache/mynewt-newt/pull/427#discussion_r572883199



##########
File path: docs/install/newt_windows.rst
##########
@@ -73,10 +75,16 @@ You will need to start a MinGW terminal to run the commands specified in the Myn
 terminal, select the "MSYS2 Mingw" application from the start Menu (you can use either MinGW32 or MinGW64). In Windows, we use the
 MinGW subsystem to build Mynewt tools and applications.
 
-Installing Git for Windows
+Installing Git
 ~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-Download and install `Git for Windows <https://git-for-windows.github.io>`__ if it is not already installed.
+Git can be installed as MinGW package from MinGW terminal:
+
+.. code-block:: console
+
+ $ pacman -S git
+
+Alternativly download and install `Git for Windows <https://git-for-windows.github.io>`__.

Review comment:
       typo: `Alternatively`

##########
File path: docs/install/newt_windows.rst
##########
@@ -98,43 +102,56 @@ You can install the latest release of newt from binary. It has been tested on Wi
 
       .. code-block:: console
 
-        tar -xzf /tmp/apache-mynewt-newt-bin-windows-1.6.0.tgz -C $GOPATH/bin
+        $ tar -xzf apache-mynewt-newt-bin-windows-1.8.0.tgz -C $GOPATH/bin --strip-components=1 apache-mynewt-newt-bin-windows-1.8.0/newt.exe
 
    -  If you are installing newt for the first time and do not have a Go workspace setup, you can extract into /usr/bin directory:
 
       .. code-block:: console
 
-        tar -xzf /tmp/apache-mynewt-newt-bin-windows-1.6.0.tgz -C /usr/bin
+        $ tar -xzf apache-mynewt-newt-bin-windows-1.8.0.tgz -C /usr/bin --strip-components=1 apache-mynewt-newt-bin-windows-1.8.0/newt.exe
 
 4. Verify the installed version of newt. See `Checking the Installed Version`_.
 
+Installing Go
+^^^^^^^^^^^^^
+
+Newt requires **Go** version **1.13** or higher.
+If you do not have Go installed, it can be installed from MinGW package repository.
+
+1. Open a MinWG terminal.
+2. Install go package.
+
+   .. code-block:: console
+
+    $ pacman -S mingw-w64-x86_64-go
+
+Alternativly newest version of Go from **golang.org** can be used.

Review comment:
       typo: Alternatively

##########
File path: docs/install/newt_windows.rst
##########
@@ -98,43 +102,56 @@ You can install the latest release of newt from binary. It has been tested on Wi
 
       .. code-block:: console
 
-        tar -xzf /tmp/apache-mynewt-newt-bin-windows-1.6.0.tgz -C $GOPATH/bin
+        $ tar -xzf apache-mynewt-newt-bin-windows-1.8.0.tgz -C $GOPATH/bin --strip-components=1 apache-mynewt-newt-bin-windows-1.8.0/newt.exe
 
    -  If you are installing newt for the first time and do not have a Go workspace setup, you can extract into /usr/bin directory:
 
       .. code-block:: console
 
-        tar -xzf /tmp/apache-mynewt-newt-bin-windows-1.6.0.tgz -C /usr/bin
+        $ tar -xzf apache-mynewt-newt-bin-windows-1.8.0.tgz -C /usr/bin --strip-components=1 apache-mynewt-newt-bin-windows-1.8.0/newt.exe
 
 4. Verify the installed version of newt. See `Checking the Installed Version`_.
 
+Installing Go
+^^^^^^^^^^^^^
+
+Newt requires **Go** version **1.13** or higher.
+If you do not have Go installed, it can be installed from MinGW package repository.
+
+1. Open a MinWG terminal.
+2. Install go package.
+
+   .. code-block:: console
+
+    $ pacman -S mingw-w64-x86_64-go
+
+Alternativly newest version of Go from **golang.org** can be used.

Review comment:
       "the latest version...", or "a newer version..."




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org