Automation
Automation

How-To: Install JUISE on MacOS using Homebrew

by on ‎08-05-2015 07:05 PM - edited on ‎09-11-2017 04:08 PM by Administrator Administrator (2,149 Views)

Overview

The following article explains how to install JUISE on MacOS using Homebrew.

Resolution

A colleague of mine gave me the instructions for MacOS users to install the JUISE program (SLAX/NETCONF) using Homebrew.  For information on JUISE, please see https://github.com/juniper/juise andhttps://github.com/Juniper/libslax, respectively.

Props to Joshual L. for the following:

  1. Install or update XCode.
  2. Install "Command-Line Tools" in Xcode under the "> Xcode > Preferences > Downloads" tab.
  3. Install Homebrew.

1

ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

 

 
4.Run Brew Doctor to ensure the install is complete.
 

1

brew doctor

 

5.Look through the warnings and errors from Brew Doctor and fix any problems (remove files, chown folders, and modify your PATH, if necessary).6.Install libslax.
 

1

brew install libslax

 

6.Link libslax if necessary.
 

1

brew link libslax


7.Force symlink for libslax if necessary.
 

1

brew link -f libslax

 

8.Install JUISE.

1

brew install juise

 

9.Link JUISE if necessary.

1

brew link juise

 

10.Force symlink for JUISE.

1

brew link -f juise

 

11.Run Brew Doctor to ensure everything is still fine.

1

brew doctor

 

12.Validate that JUISE is installed.

1

juise --version

 

Source

Jeremy Schulman post to Junos Automation (Scripting) Forum 10-24-2012.

 

Feedback