cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1247
Views
0
Helpful
2
Replies

Instillation of NSO in Ubuntu 19.04 help

rward2801
Level 1
Level 1

I have followed this guide https://developer.cisco.com/docs/nso/#!getting-nso/getting-nso

but It says the folder nso-5.1 is not empty when it is. So I created folder nso-5.01 is runs and says it is completed but that folder is empty.

rw@rw-NSO:~$ sudo sh nso-5.1.0.1.linux.x86_64.installer.bin $Home/nso-5.1
ERROR ** /nso-5.1 is not empty, aborting installation

rw@rw-NSO:~$ sudo sh nso-5.1.0.1.linux.x86_64.installer.bin $Home/nso-5.1.0
INFO Using temporary directory /tmp/ncs_installer.2891 to stage NCS installation bundle
INFO Unpacked ncs-5.1.0.1 in /nso-5.1.0
INFO Found and unpacked corresponding DOCUMENTATION_PACKAGE
INFO Found and unpacked corresponding EXAMPLE_PACKAGE
INFO Generating default SSH hostkey (this may take some time)
INFO SSH hostkey generated
INFO Environment set-up generated in /nso-5.1.0/ncsrc
INFO NCS installation script finished
INFO Found and unpacked corresponding NETSIM_PACKAGE
INFO NCS installation complete

rw@rw-NSO:~$ ls
cisco_x509_verify_release.py nso-5.1.0 README.signature
Desktop nso-5.1.0.1.linux.x86_64.installer.bin tailf.cer
Documents nso-5.1.0.1.linux.x86_64.installer.bin.signature Templates
Downloads nso-5.1.0.1.linux.x86_64.signed.bin Videos
Music Pictures
nso-5.1 Public
rw@rw-NSO:~$ cd nso-5.1.0
rw@rw-NSO:~/nso-5.1.0$ ls
rw@rw-NSO:~/nso-5.1.0$

 

2 Replies 2

gschudel
Cisco Employee
Cisco Employee

I'm pretty sure the output told you exactly where it installed this... and you're not looking in the correct place (because of "sudo")...

 

look...

rw@rw-NSO:~$ sudo sh nso-5.1.0.1.linux.x86_64.installer.bin $Home/nso-5.1.0
INFO Using temporary directory /tmp/ncs_installer.2891 to stage NCS installation bundle
INFO Unpacked ncs-5.1.0.1 in /nso-5.1.0
INFO Found and unpacked corresponding DOCUMENTATION_PACKAGE
INFO Found and unpacked corresponding EXAMPLE_PACKAGE
INFO Generating default SSH hostkey (this may take some time)
INFO SSH hostkey generated
INFO Environment set-up generated in /nso-5.1.0/ncsrc
INFO NCS installation script finished
INFO Found and unpacked corresponding NETSIM_PACKAGE
INFO NCS installation complete

 

and... you are in "~/nso-5.1.0"   (note the "tilda")

 

rw@rw-NSO:~$ cd nso-5.1.0
rw@rw-NSO:~/nso-5.1.0$ ls
rw@rw-NSO:~/nso-5.1.0$

 

Do a "pwd" here...

 

Pretty sure if you look in... "/nso-5.1.0"   (slash....) you will find your directory...

 

If all else fails there are the "basic Linux commands" to find things...

 

cd /

find . -name nso-5.1.0

 

(again note the "slash" ....)...

 

 

 

 

 

 

 

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Shell variables are case sensitive. You are running the script referring to $Home, this is not the same as $HOME.

 

As a sanity check what is the output of:

sudo echo $Home

sudo echo $HOME

 

...this will also reveal whether running the sudo command is replacing the value of $HOME with that of the target user. ie, the files may be installed in /root/nso-5.1.0

 

cheers,

Seb.