About Yocto
The Cisco NX-OS Release 9.2(1) software is based on Yocto 2.0. More applications can be installed by downloading Yocto 2.0, downloading the new software to be built, building the software, and installing the software on the switch.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter contains the following sections:
The Cisco NX-OS Release 9.2(1) software is based on Yocto 2.0. More applications can be installed by downloading Yocto 2.0, downloading the new software to be built, building the software, and installing the software on the switch.
In the example below, we are building Ruby version 2.2.2 in a Ubuntu 16.04 virtual machine.
Step 1 |
Install all essential packages on the Ubuntu 16.04 virtual machine.
|
Step 2 |
Download Yocto 2.0.
|
Step 3 |
Source the oe-init-build-env file.
|
Step 4 |
Use a text editor to edit conf/local.conf to add the following lines:
|
Step 5 |
Enter the following command:
After the build completes, the RPMs are present in tmp/deploy/rpm/x86_64/*.rpm. |
Step 6 |
Copy the RPMs to the switch.
|
Step 7 |
From the Bash shell, enter the following commands. You will be entering y at one point in the install process.
|
Step 8 |
The following commands provide an example of building Ruby version 2.2.2 in a Ubuntu 16.04 virtual machine. You will be entering y at one point in the install process.
|