doc: remove usage of sudo and reduce notes
Change-Id: I67cf7d6537c429df304fc3fa89c8d68c702c646a Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a1ae6fdcdf
commit
3cf33cb0d8
1 changed files with 7 additions and 16 deletions
|
@ -42,10 +42,6 @@ Installing Requirements and Dependencies
|
|||
|
||||
Install the following with either apt-get or dnf.
|
||||
|
||||
.. note::
|
||||
Minor version updates of the listed required packages might also
|
||||
work.
|
||||
|
||||
Install the required packages in a Ubuntu host system with:
|
||||
|
||||
.. code-block:: console
|
||||
|
@ -61,10 +57,6 @@ Install the required packages in a Fedora host system with:
|
|||
$ sudo dnf install git make gcc glib-devel.i686 glib2-devel.i686 \
|
||||
glibc-static libstdc++-static glibc-devel.i686
|
||||
|
||||
.. important::
|
||||
Ensure that at least the 32 bit versions of the packages are installed.
|
||||
Ideally, both the 32 and 64 bit versions should be installed.
|
||||
|
||||
.. _zephyr_sdk:
|
||||
|
||||
Installing the Zephyr Software Development Kit
|
||||
|
@ -90,28 +82,27 @@ Follow these steps to install the SDK on your Linux host system.
|
|||
including the latest version.
|
||||
|
||||
Alternatively, you can use the following command to download the desired
|
||||
version:
|
||||
version, replacing <version> with the version number you wish to download.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ wget https://nexus.zephyrproject.org/content/repositories/releases/org/zephyrproject/zephyr-sdk/<version>-i686/zephyr-sdk-<version>-i686-setup.run
|
||||
|
||||
.. note::
|
||||
Replace <version> with the version number you wish to download.
|
||||
|
||||
#. Run the installation binary, follow this example:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ chmod +x zephyr-sdk-<version>-i686-setup.run
|
||||
|
||||
$ sudo ./zephyr-sdk-<version>-i686-setup.run
|
||||
$ ./zephyr-sdk-<version>-i686-setup.run
|
||||
|
||||
There is no need for `sudo` if the SDK is installed in the current
|
||||
user's home directory.
|
||||
|
||||
#. Follow the installation instructions on the screen. The
|
||||
toolchain's default installation location is :file:`/opt/zephyr-sdk/`.
|
||||
To install in the default installation location, you will need to use sudo. It is recommended
|
||||
to install the SDK in your home directory and not in a system directory.
|
||||
|
||||
#. To use the Zephyr SDK, export the following environment variables and
|
||||
use the target location where SDK was installed, type:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue