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 2017/11/19 06:11:14 UTC
[GitHub] aditihilbert closed pull request #340: automated asf-site build
aditihilbert closed pull request #340: automated asf-site build
URL: https://github.com/apache/mynewt-site/pull/340
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/latest/mkdocs/search_index.json b/latest/mkdocs/search_index.json
index f66e5be44..ab70dda7e 100644
--- a/latest/mkdocs/search_index.json
+++ b/latest/mkdocs/search_index.json
@@ -207,7 +207,7 @@
},
{
"location": "/newt/install/newt_linux/",
- "text": "Installing Newt on Linux\n\n\nYou can install the latest release (1.2.0) of the newt tool from a Debian binary package (amd64). You can also download and build the latest release version of newt from source.\n\n\nThis page shows you how to:\n\n\n\n\n\n\nSet up your computer to download Debian binary packages from the runtimeco APT repository.\n\n\nNote:\n The key for signing the repository has changed. If you set up your computer before release 1.1.0, you will need to download and import the public key again.\n\n\n\n\n\n\nInstall the latest release version of newt from a Debian binary package. You can use apt-get to install the package or manually download and install the Debian binary package.\n\n\n\n\n\n\nDownload, build, and install the latest release version of newt from source.\n\n\n\n\n\n\nIf you are installing on an amd64 platform, we recommend that you install from the binary package.\n\n\nSee \nInstalling Previous Releases of Newt\n to install an earlier version of newt.\n\n\nNote:\n We have tested the newt tool binary and apt-get install from the runtimeco APT repository for Ubuntu version 16. Earlier Ubuntu versions (for example: Ubuntu 14) may have incompatibility with the repository. You can manually download and install the Debian binary package.\n\n\nNote:\n See \nSetting Up a Go Environment to Contribute to Newt and Newtmgr Tools\n if you want to:\n\n\n\n\nUse the newt tool with the latest updates from the master branch. The master branch may be unstable and we recommend that you use the latest stable release version.\n\n\nContribute to the newt tool.\n\n\n\n\n\n\nSetting Up Your Computer to use apt-get to Install the Package\n\n\nThe newt Debian packages are stored in a private APT repository on \nhttps://github/runtimeco/debian-mynewt\n. To use apt-get, you must set up the following on your computer to retrieve packages from the repository:\n\n\nNote\n: You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed.\n\n\n\n\nInstall the \napt-transport-https\n package to use HTTPS to retrieve packages. \n\n\nDownload the public key for the runtimeco APT repository and import the key into the apt keychain.\n\n\nAdd the repository for the binary and source packages to the apt source list.\n\n\n\n\n\nInstall the apt-transport-https package:\n\n\n$sudo apt-get update\n$sudo apt-get install apt-transport-https\n\n\n\n\n\n\n\nDownload the public key for the runtimeco apt repo (\nNote:\n There is a \n-\n after \napt-key add\n):\n\n\nwget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -\n\n\n\n\n\n\n\nAdd the repository for the binary and source packages to the \nmynewt.list\n apt source list file.\n\n\n$sudo -s\n[sudo] password for \nuser\n:\nroot$ cat \n /etc/apt/sources.list.d/mynewt.list \nEOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF\nroot$exit\n\n\n\n\n\nNote:\n Do not forget to exit the root shell.\n\n\n\nVerify the content of the source list file:\n\n\n$more /etc/apt/sources.list.d/mynewt.list\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\n\n\n\n\n\n\nUpdate the available packages: \n\n\n$sudo apt-get update\n\n\n\n\n\n\n\nNote:\n If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package.\n\n\nW: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404\n\n\n\n\n\n\n\nInstalling the Latest Release of Newt from a Binary Package\n\n\nYou can use either apt-get to install the package, or manually download and install the Debian binary package.\n\n\n\n\nMethod 1: Using apt-get to Upgrade or to Install\n\n\nRun the following commands to upgrade or install the latest version of newt:\n\n\n$ sudo apt-get update \n$ sudo apt-get install newt\n\n\n\n\n\n\n\nMethod 2: Downloading and Installing the Debian Package Manually\n\n\nDownload and install the package manually.\n\n\n$wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$sudo dpkg -i newt_1.2.0-1_amd64.deb\n\n\n\n\n\n\nSee \nChecking the Installed Version of Newt\n to verify that you are using the installed version of newt.\n\n\n\n\nInstalling the Latest Release of Newt from a Source Package\n\n\nIf you are running Linux on a different architecture, you can build and install the latest release version of newt from source.\n\n\n\n1. You need Go version 1.7.6 or higher to build Newt. Currently, the latest Go version that Ubuntu installs is 1.6. Run \ngo version\n to check if you have Go 1.7.6 installed. You can download Go from \nhttps://golang.org/dl/\n.\n\n\n\n2. Download and unpack the newt source:\n\n\n$ wget -P /tmp https://github.com/apache/mynewt-newt/archive/mynewt_1_2_0_tag.tar.gz\n$ tar -xzf /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n3. Run the build.sh to build the newt tool.\n\n\n$ cd mynewt-newt-mynewt_1_2_0_tag\n$ ./build.sh\n$ rm /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n4. You should see the \nnewt/newt\n executable. Move the executable to a bin directory in your PATH:\n\n\n\n\n\n\nIf you previously built newt from the master branch, you can move the binary to your $GOPATH/bin directory.\n\n\n$ mv newt/newt $GOPATH/bin\n\n\n\n\n\n\n\n\n\nIf you are installing newt for the first time and do not have a Go workspace set up, you can move the binary to /usr/bin or a directory in your PATH:\n\n\n$ mv newt/newt /usr/bin\n\n\n\n\n\n\n\n\n\n\n\n Checking the Installed Version of Newt\n\n\n\n1. Check which newt you are using and that the version is the latest release version.\n\n\n$which newt\n/usr/bin/newt\n$newt version\nApache Newt version: 1.2.0\n\n\n\n\n\n\n2. Get information about newt:\n\n\n$newt\nNewt allows you to create your own embedded application based on the Mynewt \noperating system. Newt provides both build and package management in a single \ntool, which allows you to compose an embedded application, and set of \nprojects, and then build the necessary artifacts from those projects. For more \ninformation on the Mynewt operating system, please visit \nhttps://mynewt.apache.org/. \n\nPlease use the newt help command, and specify the name of the command you want \nhelp for, for help on how to use a specific command\n\nUsage:\n newt [flags]\n newt [command]\n\nExamples:\n newt\n newt help [\ncommand-name\n]\n For help on \ncommand-name\n. If not specified, print this message.\n\nAvailable Commands:\n build Build one or more targets\n clean Delete build artifacts for one or more targets\n create-image Add image header to target binary\n debug Open debugger session to target\n info Show project info\n install Install project dependencies\n load Load built target to board\n mfg Manufacturing flash image commands\n new Create a new project\n pkg Create and manage packages in the current workspace\n resign-image Re-sign an image.\n run build/create-image/download/debug \ntarget\n\n size Size of target components\n sync Synchronize project dependencies\n target Commands to create, delete, configure, and query targets\n test Executes unit tests for one or more packages\n upgrade Upgrade project dependencies\n vals Display valid values for the specified element type(s)\n version Display the Newt version number\n\nFlags:\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\nUse \nnewt [command] --help\n for more information about a command.",
+ "text": "Installing Newt on Linux\n\n\nYou can install the latest release (1.2.0) of the newt tool from a Debian binary package (amd64). You can also download and build the latest release version of newt from source.\n\n\nThis page shows you how to:\n\n\n\n\n\n\nSet up your computer to download Debian binary packages from the runtimeco APT repository.\n\n\nNote:\n The key for signing the repository has changed. If you set up your computer before release 1.1.0, you will need to download and import the public key again.\n\n\n\n\n\n\nInstall the latest release version of newt from a Debian binary package. You can use apt-get to install the package or manually download and install the Debian binary package.\n\n\n\n\n\n\nDownload, build, and install the latest release version of newt from source.\n\n\n\n\n\n\nIf you are installing on an amd64 platform, we recommend that you install from the binary package.\n\n\nSee \nInstalling Previous Releases of Newt\n to install an earlier version of newt.\n\n\nNote:\n We have tested the newt tool binary and apt-get install from the runtimeco APT repository for Ubuntu version 16. Earlier Ubuntu versions (for example: Ubuntu 14) may have incompatibility with the repository. You can manually download and install the Debian binary package.\n\n\nNote:\n See \nSetting Up a Go Environment to Contribute to Newt and Newtmgr Tools\n if you want to:\n\n\n\n\nUse the newt tool with the latest updates from the master branch. The master branch may be unstable and we recommend that you use the latest stable release version.\n\n\nContribute to the newt tool.\n\n\n\n\n\n\nSetting Up Your Computer to use apt-get to Install the Package\n\n\nThe newt Debian packages are stored in a private APT repository on \nhttps://github/runtimeco/debian-mynewt\n. To use apt-get, you must set up the following on your computer to retrieve packages from the repository:\n\n\nNote\n: You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed.\n\n\n\n\nInstall the \napt-transport-https\n package to use HTTPS to retrieve packages. \n\n\nDownload the public key for the runtimeco APT repository and import the key into the apt keychain.\n\n\nAdd the repository for the binary and source packages to the apt source list.\n\n\n\n\n\nInstall the apt-transport-https package:\n\n\n$ sudo apt-get update\n$ sudo apt-get install apt-transport-https\n\n\n\n\n\n\n\nDownload the public key for the runtimeco apt repo (\nNote:\n There is a \n-\n after \napt-key add\n):\n\n\n$ wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -\n\n\n\n\n\n\n\nAdd the repository for the binary and source packages to the \nmynewt.list\n apt source list file:\n\n\n$ sudo tee /etc/apt/sources.list.d/mynewt.list \nEOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF\n\n\n\n\n\n\nUpdate the available packages: \n\n\n$ sudo apt-get update\n\n\n\n\n\n\n\nNote:\n If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package.\n\n\nW: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404\n\n\n\n\n\n\n\nInstalling the Latest Release of Newt from a Binary Package\n\n\nYou can use either apt-get to install the package, or manually download and install the Debian binary package.\n\n\n\n\nMethod 1: Using apt-get to Upgrade or to Install\n\n\nRun the following commands to upgrade or install the latest version of newt:\n\n\n$ sudo apt-get update \n$ sudo apt-get install newt\n\n\n\n\n\nNote:\n If you encounter build errors (such as missing \nsys/mman.h\n), please make sure you have a 32-bit glibc:\n\n\n$ sudo apt-get install gcc-multilib\n\n\n\n\n\n\n\nMethod 2: Downloading and Installing the Debian Package Manually\n\n\nDownload and install the package manually.\n\n\n$ wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$ sudo dpkg -i newt_1.2.0-1_amd64.deb\n\n\n\n\n\n\nSee \nChecking the Installed Version of Newt\n to verify that you are using the installed version of newt.\n\n\n\n\nInstalling the Latest Release of Newt from a Source Package\n\n\nIf you are running Linux on a different architecture, you can build and install the latest release version of newt from source.\n\n\n\n1. You need Go version 1.7.6 or higher to build Newt. Currently, the latest Go version that Ubuntu installs is 1.6. Run \ngo version\n to check if you have Go 1.7.6 installed. You can download Go from \nhttps://golang.org/dl/\n.\n\n\n\n2. Download and unpack the newt source:\n\n\n$ wget -P /tmp https://github.com/apache/mynewt-newt/archive/mynewt_1_2_0_tag.tar.gz\n$ tar -xzf /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n3. Run the build.sh to build the newt tool.\n\n\n$ cd mynewt-newt-mynewt_1_2_0_tag\n$ ./build.sh\n$ rm /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n4. You should see the \nnewt/newt\n executable. Move the executable to a bin directory in your PATH:\n\n\n\n\n\n\nIf you previously built newt from the master branch, you can move the binary to your $GOPATH/bin directory.\n\n\n$ mv newt/newt $GOPATH/bin\n\n\n\n\n\n\n\n\n\nIf you are installing newt for the first time and do not have a Go workspace set up, you can move the binary to /usr/bin or a directory in your PATH:\n\n\n$ mv newt/newt /usr/bin\n\n\n\n\n\n\n\n\n\n\n\n Checking the Installed Version of Newt\n\n\n\n1. Check which newt you are using and that the version is the latest release version.\n\n\n$ which newt\n/usr/bin/newt\n$ newt version\nApache Newt version: 1.2.0\n\n\n\n\n\n\n2. Get information about newt:\n\n\n$ newt\nNewt allows you to create your own embedded application based on the Mynewt \noperating system. Newt provides both build and package management in a single \ntool, which allows you to compose an embedded application, and set of \nprojects, and then build the necessary artifacts from those projects. For more \ninformation on the Mynewt operating system, please visit \nhttps://mynewt.apache.org/. \n\nPlease use the newt help command, and specify the name of the command you want \nhelp for, for help on how to use a specific command\n\nUsage:\n newt [flags]\n newt [command]\n\nExamples:\n newt\n newt help [\ncommand-name\n]\n For help on \ncommand-name\n. If not specified, print this message.\n\nAvailable Commands:\n build Build one or more targets\n clean Delete build artifacts for one or more targets\n create-image Add image header to target binary\n debug Open debugger session to target\n info Show project info\n install Install project dependencies\n load Load built target to board\n mfg Manufacturing flash image commands\n new Create a new project\n pkg Create and manage packages in the current workspace\n resign-image Re-sign an image.\n run build/create-image/download/debug \ntarget\n\n size Size of target components\n sync Synchronize project dependencies\n target Commands to create, delete, configure, and query targets\n test Executes unit tests for one or more packages\n upgrade Upgrade project dependencies\n vals Display valid values for the specified element type(s)\n version Display the Newt version number\n\nFlags:\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\nUse \nnewt [command] --help\n for more information about a command.",
"title": "Install Newt on Linux"
},
{
@@ -217,7 +217,7 @@
},
{
"location": "/newt/install/newt_linux/#setting-up-your-computer-to-use-apt-get-to-install-the-package",
- "text": "The newt Debian packages are stored in a private APT repository on https://github/runtimeco/debian-mynewt . To use apt-get, you must set up the following on your computer to retrieve packages from the repository: Note : You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed. Install the apt-transport-https package to use HTTPS to retrieve packages. Download the public key for the runtimeco APT repository and import the key into the apt keychain. Add the repository for the binary and source packages to the apt source list. \nInstall the apt-transport-https package: $sudo apt-get update\n$sudo apt-get install apt-transport-https Download the public key for the runtimeco apt repo ( Note: There is a - after apt-key add ): wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add - Add the repository for the binary and source packages to the mynewt.list apt source list file. $sudo -s\n[sudo] password for user :\nroot$ cat /etc/apt/sources.list.d/mynewt.list EOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF\nroot$exit Note: Do not forget to exit the root shell. \nVerify the content of the source list file: $more /etc/apt/sources.list.d/mynewt.list\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main \nUpdate the available packages: $sudo apt-get update Note: If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package. W: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404",
+ "text": "The newt Debian packages are stored in a private APT repository on https://github/runtimeco/debian-mynewt . To use apt-get, you must set up the following on your computer to retrieve packages from the repository: Note : You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed. Install the apt-transport-https package to use HTTPS to retrieve packages. Download the public key for the runtimeco APT repository and import the key into the apt keychain. Add the repository for the binary and source packages to the apt source list. \nInstall the apt-transport-https package: $ sudo apt-get update\n$ sudo apt-get install apt-transport-https Download the public key for the runtimeco apt repo ( Note: There is a - after apt-key add ): $ wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add - Add the repository for the binary and source packages to the mynewt.list apt source list file: $ sudo tee /etc/apt/sources.list.d/mynewt.list EOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF \nUpdate the available packages: $ sudo apt-get update Note: If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package. W: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404",
"title": "Setting Up Your Computer to use apt-get to Install the Package"
},
{
@@ -227,12 +227,12 @@
},
{
"location": "/newt/install/newt_linux/#method-1-using-apt-get-to-upgrade-or-to-install",
- "text": "Run the following commands to upgrade or install the latest version of newt: $ sudo apt-get update \n$ sudo apt-get install newt",
+ "text": "Run the following commands to upgrade or install the latest version of newt: $ sudo apt-get update \n$ sudo apt-get install newt Note: If you encounter build errors (such as missing sys/mman.h ), please make sure you have a 32-bit glibc: $ sudo apt-get install gcc-multilib",
"title": "Method 1: Using apt-get to Upgrade or to Install"
},
{
"location": "/newt/install/newt_linux/#method-2-downloading-and-installing-the-debian-package-manually",
- "text": "Download and install the package manually. $wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$sudo dpkg -i newt_1.2.0-1_amd64.deb \nSee Checking the Installed Version of Newt to verify that you are using the installed version of newt.",
+ "text": "Download and install the package manually. $ wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$ sudo dpkg -i newt_1.2.0-1_amd64.deb \nSee Checking the Installed Version of Newt to verify that you are using the installed version of newt.",
"title": "Method 2: Downloading and Installing the Debian Package Manually"
},
{
diff --git a/latest/newt/install/newt_linux/index.html b/latest/newt/install/newt_linux/index.html
index 044837e00..9a030c9ad 100644
--- a/latest/newt/install/newt_linux/index.html
+++ b/latest/newt/install/newt_linux/index.html
@@ -461,39 +461,28 @@ <h3 id="setting-up-your-computer-to-use-apt-get-to-install-the-package">Setting
</ol>
<p><br>
Install the apt-transport-https package:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$sudo apt-get update
-$sudo apt-get install apt-transport-https
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo apt-get update
+$ sudo apt-get install apt-transport-https
</pre></div>
<p><br></p>
<p>Download the public key for the runtimeco apt repo (<strong>Note:</strong> There is a <code>-</code> after <code>apt-key add</code>):</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -
</pre></div>
<p><br></p>
-<p>Add the repository for the binary and source packages to the <code>mynewt.list</code> apt source list file.</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$sudo -s
-[sudo] password for <user>:
-root$ cat > /etc/apt/sources.list.d/mynewt.list <<EOF
+<p>Add the repository for the binary and source packages to the <code>mynewt.list</code> apt source list file:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo tee /etc/apt/sources.list.d/mynewt.list <<EOF
deb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main
EOF
-root$exit
-</pre></div>
-
-
-<p><strong>Note:</strong> Do not forget to exit the root shell.</p>
-<p><br>
-Verify the content of the source list file:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$more /etc/apt/sources.list.d/mynewt.list
-deb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main
</pre></div>
<p><br>
Update the available packages: </p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$sudo apt-get update
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo apt-get update
</pre></div>
@@ -515,11 +504,16 @@ <h4 id="method-1-using-apt-get-to-upgrade-or-to-install">Method 1: Using apt-get
</pre></div>
+<p><strong>Note:</strong> If you encounter build errors (such as missing <code>sys/mman.h</code>), please make sure you have a 32-bit glibc:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo apt-get install gcc-multilib
+</pre></div>
+
+
<p><br></p>
<h4 id="method-2-downloading-and-installing-the-debian-package-manually">Method 2: Downloading and Installing the Debian Package Manually</h4>
<p>Download and install the package manually.</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb
-$sudo dpkg -i newt_1.2.0-1_amd64.deb
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb
+$ sudo dpkg -i newt_1.2.0-1_amd64.deb
</pre></div>
@@ -567,16 +561,16 @@ <h3 id="installing-the-latest-release-of-newt-from-a-source-package">Installing
<h3 id="checking-the-installed-version-of-newt"><a name="check"></a> Checking the Installed Version of Newt</h3>
<p><br>
1. Check which newt you are using and that the version is the latest release version.</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$which newt
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ which newt
/usr/bin/newt
-$newt version
+$ newt version
Apache Newt version: 1.2.0
</pre></div>
<p><br>
2. Get information about newt:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$newt
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ newt
Newt allows you to create your own embedded application based on the Mynewt
operating system. Newt provides both build and package management in a single
tool, which allows you to compose an embedded application, and set of
diff --git a/latest/sitemap.xml b/latest/sitemap.xml
index 709ac29a8..9da93ba50 100644
--- a/latest/sitemap.xml
+++ b/latest/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,13 +13,13 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/pages/securitybullets/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -28,7 +28,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -36,7 +36,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -44,7 +44,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -52,7 +52,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -60,7 +60,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -68,7 +68,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -77,7 +77,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -89,7 +89,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -125,7 +125,7 @@
<url>
<loc>http://mynewt.apache.org/known_issues/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -135,37 +135,37 @@
<url>
<loc>http://mynewt.apache.org/newt/install/prev_releases/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/newtmgr/prev_releases/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/go_env/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/ide/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
diff --git a/mkdocs/search_index.json b/mkdocs/search_index.json
index f66e5be44..ab70dda7e 100644
--- a/mkdocs/search_index.json
+++ b/mkdocs/search_index.json
@@ -207,7 +207,7 @@
},
{
"location": "/newt/install/newt_linux/",
- "text": "Installing Newt on Linux\n\n\nYou can install the latest release (1.2.0) of the newt tool from a Debian binary package (amd64). You can also download and build the latest release version of newt from source.\n\n\nThis page shows you how to:\n\n\n\n\n\n\nSet up your computer to download Debian binary packages from the runtimeco APT repository.\n\n\nNote:\n The key for signing the repository has changed. If you set up your computer before release 1.1.0, you will need to download and import the public key again.\n\n\n\n\n\n\nInstall the latest release version of newt from a Debian binary package. You can use apt-get to install the package or manually download and install the Debian binary package.\n\n\n\n\n\n\nDownload, build, and install the latest release version of newt from source.\n\n\n\n\n\n\nIf you are installing on an amd64 platform, we recommend that you install from the binary package.\n\n\nSee \nInstalling Previous Releases of Newt\n to install an earlier version of newt.\n\n\nNote:\n We have tested the newt tool binary and apt-get install from the runtimeco APT repository for Ubuntu version 16. Earlier Ubuntu versions (for example: Ubuntu 14) may have incompatibility with the repository. You can manually download and install the Debian binary package.\n\n\nNote:\n See \nSetting Up a Go Environment to Contribute to Newt and Newtmgr Tools\n if you want to:\n\n\n\n\nUse the newt tool with the latest updates from the master branch. The master branch may be unstable and we recommend that you use the latest stable release version.\n\n\nContribute to the newt tool.\n\n\n\n\n\n\nSetting Up Your Computer to use apt-get to Install the Package\n\n\nThe newt Debian packages are stored in a private APT repository on \nhttps://github/runtimeco/debian-mynewt\n. To use apt-get, you must set up the following on your computer to retrieve packages from the repository:\n\n\nNote\n: You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed.\n\n\n\n\nInstall the \napt-transport-https\n package to use HTTPS to retrieve packages. \n\n\nDownload the public key for the runtimeco APT repository and import the key into the apt keychain.\n\n\nAdd the repository for the binary and source packages to the apt source list.\n\n\n\n\n\nInstall the apt-transport-https package:\n\n\n$sudo apt-get update\n$sudo apt-get install apt-transport-https\n\n\n\n\n\n\n\nDownload the public key for the runtimeco apt repo (\nNote:\n There is a \n-\n after \napt-key add\n):\n\n\nwget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -\n\n\n\n\n\n\n\nAdd the repository for the binary and source packages to the \nmynewt.list\n apt source list file.\n\n\n$sudo -s\n[sudo] password for \nuser\n:\nroot$ cat \n /etc/apt/sources.list.d/mynewt.list \nEOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF\nroot$exit\n\n\n\n\n\nNote:\n Do not forget to exit the root shell.\n\n\n\nVerify the content of the source list file:\n\n\n$more /etc/apt/sources.list.d/mynewt.list\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\n\n\n\n\n\n\nUpdate the available packages: \n\n\n$sudo apt-get update\n\n\n\n\n\n\n\nNote:\n If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package.\n\n\nW: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404\n\n\n\n\n\n\n\nInstalling the Latest Release of Newt from a Binary Package\n\n\nYou can use either apt-get to install the package, or manually download and install the Debian binary package.\n\n\n\n\nMethod 1: Using apt-get to Upgrade or to Install\n\n\nRun the following commands to upgrade or install the latest version of newt:\n\n\n$ sudo apt-get update \n$ sudo apt-get install newt\n\n\n\n\n\n\n\nMethod 2: Downloading and Installing the Debian Package Manually\n\n\nDownload and install the package manually.\n\n\n$wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$sudo dpkg -i newt_1.2.0-1_amd64.deb\n\n\n\n\n\n\nSee \nChecking the Installed Version of Newt\n to verify that you are using the installed version of newt.\n\n\n\n\nInstalling the Latest Release of Newt from a Source Package\n\n\nIf you are running Linux on a different architecture, you can build and install the latest release version of newt from source.\n\n\n\n1. You need Go version 1.7.6 or higher to build Newt. Currently, the latest Go version that Ubuntu installs is 1.6. Run \ngo version\n to check if you have Go 1.7.6 installed. You can download Go from \nhttps://golang.org/dl/\n.\n\n\n\n2. Download and unpack the newt source:\n\n\n$ wget -P /tmp https://github.com/apache/mynewt-newt/archive/mynewt_1_2_0_tag.tar.gz\n$ tar -xzf /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n3. Run the build.sh to build the newt tool.\n\n\n$ cd mynewt-newt-mynewt_1_2_0_tag\n$ ./build.sh\n$ rm /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n4. You should see the \nnewt/newt\n executable. Move the executable to a bin directory in your PATH:\n\n\n\n\n\n\nIf you previously built newt from the master branch, you can move the binary to your $GOPATH/bin directory.\n\n\n$ mv newt/newt $GOPATH/bin\n\n\n\n\n\n\n\n\n\nIf you are installing newt for the first time and do not have a Go workspace set up, you can move the binary to /usr/bin or a directory in your PATH:\n\n\n$ mv newt/newt /usr/bin\n\n\n\n\n\n\n\n\n\n\n\n Checking the Installed Version of Newt\n\n\n\n1. Check which newt you are using and that the version is the latest release version.\n\n\n$which newt\n/usr/bin/newt\n$newt version\nApache Newt version: 1.2.0\n\n\n\n\n\n\n2. Get information about newt:\n\n\n$newt\nNewt allows you to create your own embedded application based on the Mynewt \noperating system. Newt provides both build and package management in a single \ntool, which allows you to compose an embedded application, and set of \nprojects, and then build the necessary artifacts from those projects. For more \ninformation on the Mynewt operating system, please visit \nhttps://mynewt.apache.org/. \n\nPlease use the newt help command, and specify the name of the command you want \nhelp for, for help on how to use a specific command\n\nUsage:\n newt [flags]\n newt [command]\n\nExamples:\n newt\n newt help [\ncommand-name\n]\n For help on \ncommand-name\n. If not specified, print this message.\n\nAvailable Commands:\n build Build one or more targets\n clean Delete build artifacts for one or more targets\n create-image Add image header to target binary\n debug Open debugger session to target\n info Show project info\n install Install project dependencies\n load Load built target to board\n mfg Manufacturing flash image commands\n new Create a new project\n pkg Create and manage packages in the current workspace\n resign-image Re-sign an image.\n run build/create-image/download/debug \ntarget\n\n size Size of target components\n sync Synchronize project dependencies\n target Commands to create, delete, configure, and query targets\n test Executes unit tests for one or more packages\n upgrade Upgrade project dependencies\n vals Display valid values for the specified element type(s)\n version Display the Newt version number\n\nFlags:\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\nUse \nnewt [command] --help\n for more information about a command.",
+ "text": "Installing Newt on Linux\n\n\nYou can install the latest release (1.2.0) of the newt tool from a Debian binary package (amd64). You can also download and build the latest release version of newt from source.\n\n\nThis page shows you how to:\n\n\n\n\n\n\nSet up your computer to download Debian binary packages from the runtimeco APT repository.\n\n\nNote:\n The key for signing the repository has changed. If you set up your computer before release 1.1.0, you will need to download and import the public key again.\n\n\n\n\n\n\nInstall the latest release version of newt from a Debian binary package. You can use apt-get to install the package or manually download and install the Debian binary package.\n\n\n\n\n\n\nDownload, build, and install the latest release version of newt from source.\n\n\n\n\n\n\nIf you are installing on an amd64 platform, we recommend that you install from the binary package.\n\n\nSee \nInstalling Previous Releases of Newt\n to install an earlier version of newt.\n\n\nNote:\n We have tested the newt tool binary and apt-get install from the runtimeco APT repository for Ubuntu version 16. Earlier Ubuntu versions (for example: Ubuntu 14) may have incompatibility with the repository. You can manually download and install the Debian binary package.\n\n\nNote:\n See \nSetting Up a Go Environment to Contribute to Newt and Newtmgr Tools\n if you want to:\n\n\n\n\nUse the newt tool with the latest updates from the master branch. The master branch may be unstable and we recommend that you use the latest stable release version.\n\n\nContribute to the newt tool.\n\n\n\n\n\n\nSetting Up Your Computer to use apt-get to Install the Package\n\n\nThe newt Debian packages are stored in a private APT repository on \nhttps://github/runtimeco/debian-mynewt\n. To use apt-get, you must set up the following on your computer to retrieve packages from the repository:\n\n\nNote\n: You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed.\n\n\n\n\nInstall the \napt-transport-https\n package to use HTTPS to retrieve packages. \n\n\nDownload the public key for the runtimeco APT repository and import the key into the apt keychain.\n\n\nAdd the repository for the binary and source packages to the apt source list.\n\n\n\n\n\nInstall the apt-transport-https package:\n\n\n$ sudo apt-get update\n$ sudo apt-get install apt-transport-https\n\n\n\n\n\n\n\nDownload the public key for the runtimeco apt repo (\nNote:\n There is a \n-\n after \napt-key add\n):\n\n\n$ wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -\n\n\n\n\n\n\n\nAdd the repository for the binary and source packages to the \nmynewt.list\n apt source list file:\n\n\n$ sudo tee /etc/apt/sources.list.d/mynewt.list \nEOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF\n\n\n\n\n\n\nUpdate the available packages: \n\n\n$ sudo apt-get update\n\n\n\n\n\n\n\nNote:\n If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package.\n\n\nW: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404\n\n\n\n\n\n\n\nInstalling the Latest Release of Newt from a Binary Package\n\n\nYou can use either apt-get to install the package, or manually download and install the Debian binary package.\n\n\n\n\nMethod 1: Using apt-get to Upgrade or to Install\n\n\nRun the following commands to upgrade or install the latest version of newt:\n\n\n$ sudo apt-get update \n$ sudo apt-get install newt\n\n\n\n\n\nNote:\n If you encounter build errors (such as missing \nsys/mman.h\n), please make sure you have a 32-bit glibc:\n\n\n$ sudo apt-get install gcc-multilib\n\n\n\n\n\n\n\nMethod 2: Downloading and Installing the Debian Package Manually\n\n\nDownload and install the package manually.\n\n\n$ wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$ sudo dpkg -i newt_1.2.0-1_amd64.deb\n\n\n\n\n\n\nSee \nChecking the Installed Version of Newt\n to verify that you are using the installed version of newt.\n\n\n\n\nInstalling the Latest Release of Newt from a Source Package\n\n\nIf you are running Linux on a different architecture, you can build and install the latest release version of newt from source.\n\n\n\n1. You need Go version 1.7.6 or higher to build Newt. Currently, the latest Go version that Ubuntu installs is 1.6. Run \ngo version\n to check if you have Go 1.7.6 installed. You can download Go from \nhttps://golang.org/dl/\n.\n\n\n\n2. Download and unpack the newt source:\n\n\n$ wget -P /tmp https://github.com/apache/mynewt-newt/archive/mynewt_1_2_0_tag.tar.gz\n$ tar -xzf /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n3. Run the build.sh to build the newt tool.\n\n\n$ cd mynewt-newt-mynewt_1_2_0_tag\n$ ./build.sh\n$ rm /tmp/mynewt_1_2_0_tag.tar.gz\n\n\n\n\n\n\n4. You should see the \nnewt/newt\n executable. Move the executable to a bin directory in your PATH:\n\n\n\n\n\n\nIf you previously built newt from the master branch, you can move the binary to your $GOPATH/bin directory.\n\n\n$ mv newt/newt $GOPATH/bin\n\n\n\n\n\n\n\n\n\nIf you are installing newt for the first time and do not have a Go workspace set up, you can move the binary to /usr/bin or a directory in your PATH:\n\n\n$ mv newt/newt /usr/bin\n\n\n\n\n\n\n\n\n\n\n\n Checking the Installed Version of Newt\n\n\n\n1. Check which newt you are using and that the version is the latest release version.\n\n\n$ which newt\n/usr/bin/newt\n$ newt version\nApache Newt version: 1.2.0\n\n\n\n\n\n\n2. Get information about newt:\n\n\n$ newt\nNewt allows you to create your own embedded application based on the Mynewt \noperating system. Newt provides both build and package management in a single \ntool, which allows you to compose an embedded application, and set of \nprojects, and then build the necessary artifacts from those projects. For more \ninformation on the Mynewt operating system, please visit \nhttps://mynewt.apache.org/. \n\nPlease use the newt help command, and specify the name of the command you want \nhelp for, for help on how to use a specific command\n\nUsage:\n newt [flags]\n newt [command]\n\nExamples:\n newt\n newt help [\ncommand-name\n]\n For help on \ncommand-name\n. If not specified, print this message.\n\nAvailable Commands:\n build Build one or more targets\n clean Delete build artifacts for one or more targets\n create-image Add image header to target binary\n debug Open debugger session to target\n info Show project info\n install Install project dependencies\n load Load built target to board\n mfg Manufacturing flash image commands\n new Create a new project\n pkg Create and manage packages in the current workspace\n resign-image Re-sign an image.\n run build/create-image/download/debug \ntarget\n\n size Size of target components\n sync Synchronize project dependencies\n target Commands to create, delete, configure, and query targets\n test Executes unit tests for one or more packages\n upgrade Upgrade project dependencies\n vals Display valid values for the specified element type(s)\n version Display the Newt version number\n\nFlags:\n -h, --help Help for newt commands\n -j, --jobs int Number of concurrent build jobs (default 8)\n -l, --loglevel string Log level (default \nWARN\n)\n -o, --outfile string Filename to tee output to\n -q, --quiet Be quiet; only display error output\n -s, --silent Be silent; don\nt output anything\n -v, --verbose Enable verbose output when executing commands\n\nUse \nnewt [command] --help\n for more information about a command.",
"title": "Install Newt on Linux"
},
{
@@ -217,7 +217,7 @@
},
{
"location": "/newt/install/newt_linux/#setting-up-your-computer-to-use-apt-get-to-install-the-package",
- "text": "The newt Debian packages are stored in a private APT repository on https://github/runtimeco/debian-mynewt . To use apt-get, you must set up the following on your computer to retrieve packages from the repository: Note : You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed. Install the apt-transport-https package to use HTTPS to retrieve packages. Download the public key for the runtimeco APT repository and import the key into the apt keychain. Add the repository for the binary and source packages to the apt source list. \nInstall the apt-transport-https package: $sudo apt-get update\n$sudo apt-get install apt-transport-https Download the public key for the runtimeco apt repo ( Note: There is a - after apt-key add ): wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add - Add the repository for the binary and source packages to the mynewt.list apt source list file. $sudo -s\n[sudo] password for user :\nroot$ cat /etc/apt/sources.list.d/mynewt.list EOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF\nroot$exit Note: Do not forget to exit the root shell. \nVerify the content of the source list file: $more /etc/apt/sources.list.d/mynewt.list\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main \nUpdate the available packages: $sudo apt-get update Note: If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package. W: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404",
+ "text": "The newt Debian packages are stored in a private APT repository on https://github/runtimeco/debian-mynewt . To use apt-get, you must set up the following on your computer to retrieve packages from the repository: Note : You only need to perform this setup once on your computer. However, if you previously downloaded and imported the public key for the runtimeco APT repository, you will need to perform step 2 again as the key has changed. Install the apt-transport-https package to use HTTPS to retrieve packages. Download the public key for the runtimeco APT repository and import the key into the apt keychain. Add the repository for the binary and source packages to the apt source list. \nInstall the apt-transport-https package: $ sudo apt-get update\n$ sudo apt-get install apt-transport-https Download the public key for the runtimeco apt repo ( Note: There is a - after apt-key add ): $ wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add - Add the repository for the binary and source packages to the mynewt.list apt source list file: $ sudo tee /etc/apt/sources.list.d/mynewt.list EOF\ndeb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main\nEOF \nUpdate the available packages: $ sudo apt-get update Note: If you are not using Ubuntu version 16, you may see the following errors. We have provided instructions on how to manually download and install the binary package. W: Failed to fetch https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/dists/latest/main/source/Sources Ht\ntpError404",
"title": "Setting Up Your Computer to use apt-get to Install the Package"
},
{
@@ -227,12 +227,12 @@
},
{
"location": "/newt/install/newt_linux/#method-1-using-apt-get-to-upgrade-or-to-install",
- "text": "Run the following commands to upgrade or install the latest version of newt: $ sudo apt-get update \n$ sudo apt-get install newt",
+ "text": "Run the following commands to upgrade or install the latest version of newt: $ sudo apt-get update \n$ sudo apt-get install newt Note: If you encounter build errors (such as missing sys/mman.h ), please make sure you have a 32-bit glibc: $ sudo apt-get install gcc-multilib",
"title": "Method 1: Using apt-get to Upgrade or to Install"
},
{
"location": "/newt/install/newt_linux/#method-2-downloading-and-installing-the-debian-package-manually",
- "text": "Download and install the package manually. $wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$sudo dpkg -i newt_1.2.0-1_amd64.deb \nSee Checking the Installed Version of Newt to verify that you are using the installed version of newt.",
+ "text": "Download and install the package manually. $ wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb\n$ sudo dpkg -i newt_1.2.0-1_amd64.deb \nSee Checking the Installed Version of Newt to verify that you are using the installed version of newt.",
"title": "Method 2: Downloading and Installing the Debian Package Manually"
},
{
diff --git a/newt/install/newt_linux/index.html b/newt/install/newt_linux/index.html
index 044837e00..9a030c9ad 100644
--- a/newt/install/newt_linux/index.html
+++ b/newt/install/newt_linux/index.html
@@ -461,39 +461,28 @@ <h3 id="setting-up-your-computer-to-use-apt-get-to-install-the-package">Setting
</ol>
<p><br>
Install the apt-transport-https package:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$sudo apt-get update
-$sudo apt-get install apt-transport-https
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo apt-get update
+$ sudo apt-get install apt-transport-https
</pre></div>
<p><br></p>
<p>Download the public key for the runtimeco apt repo (<strong>Note:</strong> There is a <code>-</code> after <code>apt-key add</code>):</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ wget -qO - https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -
</pre></div>
<p><br></p>
-<p>Add the repository for the binary and source packages to the <code>mynewt.list</code> apt source list file.</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$sudo -s
-[sudo] password for <user>:
-root$ cat > /etc/apt/sources.list.d/mynewt.list <<EOF
+<p>Add the repository for the binary and source packages to the <code>mynewt.list</code> apt source list file:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo tee /etc/apt/sources.list.d/mynewt.list <<EOF
deb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main
EOF
-root$exit
-</pre></div>
-
-
-<p><strong>Note:</strong> Do not forget to exit the root shell.</p>
-<p><br>
-Verify the content of the source list file:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$more /etc/apt/sources.list.d/mynewt.list
-deb https://raw.githubusercontent.com/runtimeco/debian-mynewt/master latest main
</pre></div>
<p><br>
Update the available packages: </p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$sudo apt-get update
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo apt-get update
</pre></div>
@@ -515,11 +504,16 @@ <h4 id="method-1-using-apt-get-to-upgrade-or-to-install">Method 1: Using apt-get
</pre></div>
+<p><strong>Note:</strong> If you encounter build errors (such as missing <code>sys/mman.h</code>), please make sure you have a 32-bit glibc:</p>
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ sudo apt-get install gcc-multilib
+</pre></div>
+
+
<p><br></p>
<h4 id="method-2-downloading-and-installing-the-debian-package-manually">Method 2: Downloading and Installing the Debian Package Manually</h4>
<p>Download and install the package manually.</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb
-$sudo dpkg -i newt_1.2.0-1_amd64.deb
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ wget https://raw.githubusercontent.com/runtimeco/debian-mynewt/master/pool/main/n/newt/newt_1.2.0-1_amd64.deb
+$ sudo dpkg -i newt_1.2.0-1_amd64.deb
</pre></div>
@@ -567,16 +561,16 @@ <h3 id="installing-the-latest-release-of-newt-from-a-source-package">Installing
<h3 id="checking-the-installed-version-of-newt"><a name="check"></a> Checking the Installed Version of Newt</h3>
<p><br>
1. Check which newt you are using and that the version is the latest release version.</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$which newt
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ which newt
/usr/bin/newt
-$newt version
+$ newt version
Apache Newt version: 1.2.0
</pre></div>
<p><br>
2. Get information about newt:</p>
-<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$newt
+<div class="codehilite" style="background: #ffffff"><pre style="line-height: 125%"><span></span>$ newt
Newt allows you to create your own embedded application based on the Mynewt
operating system. Newt provides both build and package management in a single
tool, which allows you to compose an embedded application, and set of
diff --git a/sitemap.xml b/sitemap.xml
index 709ac29a8..9da93ba50 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,13 +13,13 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/pages/securitybullets/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -28,7 +28,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -36,7 +36,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -44,7 +44,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -52,7 +52,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -60,7 +60,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -68,7 +68,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -77,7 +77,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -89,7 +89,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -125,7 +125,7 @@
<url>
<loc>http://mynewt.apache.org/known_issues/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -135,37 +135,37 @@
<url>
<loc>http://mynewt.apache.org/newt/install/prev_releases/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/newtmgr/prev_releases/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/go_env/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/ide/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
diff --git a/v0_9_0/sitemap.xml b/v0_9_0/sitemap.xml
index c0b4383db..ef87c34ab 100644
--- a/v0_9_0/sitemap.xml
+++ b/v0_9_0/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -12,7 +12,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -20,7 +20,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -28,7 +28,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -36,7 +36,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -44,7 +44,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -53,7 +53,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -65,7 +65,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -101,7 +101,7 @@
<url>
<loc>http://mynewt.apache.org/known_issues/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -111,13 +111,13 @@
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
diff --git a/v1_0_0/sitemap.xml b/v1_0_0/sitemap.xml
index 73886f3b2..11c041591 100644
--- a/v1_0_0/sitemap.xml
+++ b/v1_0_0/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,7 +13,7 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -22,7 +22,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -30,7 +30,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -38,7 +38,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -46,7 +46,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -54,7 +54,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -62,7 +62,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -71,7 +71,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -83,7 +83,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -119,7 +119,7 @@
<url>
<loc>http://mynewt.apache.org/known_issues/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -129,25 +129,25 @@
<url>
<loc>http://mynewt.apache.org/faq/go_env/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/ide/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
diff --git a/v1_1_0/sitemap.xml b/v1_1_0/sitemap.xml
index b84ee83ee..5ed501fae 100644
--- a/v1_1_0/sitemap.xml
+++ b/v1_1_0/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>http://mynewt.apache.org/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,13 +13,13 @@
<url>
<loc>http://mynewt.apache.org/pages/ble/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/pages/securitybullets/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -28,7 +28,7 @@
<url>
<loc>http://mynewt.apache.org/quick-start/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -36,7 +36,7 @@
<url>
<loc>http://mynewt.apache.org/about/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -44,7 +44,7 @@
<url>
<loc>http://mynewt.apache.org/talks/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -52,7 +52,7 @@
<url>
<loc>http://mynewt.apache.org/download/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -60,7 +60,7 @@
<url>
<loc>http://mynewt.apache.org/community/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -68,7 +68,7 @@
<url>
<loc>http://mynewt.apache.org/events/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -77,7 +77,7 @@
<url>
<loc>http://mynewt.apache.org/os/introduction/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -89,7 +89,7 @@
<url>
<loc>http://mynewt.apache.org/os/get_started/vocabulary/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -125,7 +125,7 @@
<url>
<loc>http://mynewt.apache.org/known_issues/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -135,25 +135,25 @@
<url>
<loc>http://mynewt.apache.org/faq/go_env/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/ide/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/how_to_edit_docs/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>http://mynewt.apache.org/faq/answers/</loc>
- <lastmod>2017-11-14</lastmod>
+ <lastmod>2017-11-19</lastmod>
<changefreq>daily</changefreq>
</url>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services