cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
11
Helpful
0
Replies

YDK-Cpp installation made super simple!

abhirame
Cisco Employee
Cisco Employee

Starting with release 0.6.0, prebuilt binaries for YDK-Cpp are now part of the Artifact Repository. This means a dramatically simpler installation experience.  Instead of downloading/cloning the YDK-Cpp code, building the libraries from source code and installing them, you can just use the prebuilt binaries to automate the installation. Previously, a full installation of YDK-Cpp (YDK core package, plus XR/XE/OpenConfig/IETF) could take many more steps.

Now, taking Ubuntu as an example, to install the system dependencies and the YDK core package, issue:

$ sudo apt-get install gdebi-core libtool-bin

$ wget https://devhub.cisco.com/artifactory/debian-ydk/0.6.0/libydk_0.6.0-1_amd64.deb

$ sudo gdebi libydk_0.6.0-1_amd64.deb

Then, to install the IETF bundle package, issue:

$ wget https://devhub.cisco.com/artifactory/debian-ydk/0.6.0/libydk-ietf_0.1.3-1_amd64.deb

$ sudo gdebi libydk-ietf_0.1.3-1_amd64.deb

Then, to install the OpenConfig bundle package, issue:

$ wget https://devhub.cisco.com/artifactory/debian-ydk/0.6.0/libydk-openconfig_0.1.3-1_amd64.deb

$ sudo gdebi libydk-openconfig_0.1.3-1_amd64.deb

Then, to install the Cisco-IOS-XR bundle package, issue:

$ wget https://devhub.cisco.com/artifactory/debian-ydk/0.6.0/libydk-cisco-ios-xr_6.2.2-1_amd64.deb

$ sudo gdebi libydk-cisco-ios-xr_6.2.2-1_amd64.deb

Then, to install the Cisco-IOS-XE bundle package, issue:

$ wget https://devhub.cisco.com/artifactory/debian-ydk/0.6.0/libydk-cisco-ios-xe_16.6.1-1_amd64.deb

$ sudo gdebi libydk-cisco-ios-xe_16.6.1-1_amd64.deb

That's it. That simple!

Note that you still need to install some of the system dependencies for your specific OS platform the first time you use YDK-Cpp. See our updated quick installation instructions in the README.

Also, you can browse all the available YDK-Cpp packages for 0.6.0 at the below links:

Let's get developing!

0 Replies 0