Last active
February 20, 2024 14:11
-
-
Save olegslavkin/2d6da49ef547a0500d10 to your computer and use it in GitHub Desktop.
Install klish util
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check Ubuntu 14.04.3 (amd86) | |
# Install klish (The klish is a framework for implementing a CISCO-like CLI on a UNIX systems. It is configurable by XML files. The KLISH stands for Kommand Line Interface Shell) | |
# http://libcode.org/projects/klish/ | |
# Author: oleg@slavkin.info | |
echo "Step 0. Update apt-get" | |
sudo apt-get update | |
echo "Step 1. Install tools" | |
sudo apt-get -y install git dh-autoreconf libexpat1-dev | |
echo "Step 2. Clone klish git Repo" | |
cd ~/ | |
git clone https://src.libcode.org/klish | |
echo "Step 3. Configure and make" | |
cd klish | |
./autogen.sh | |
./configure | |
make | |
echo "Step 4. Install klish" | |
make install | |
echo "Step 5. Check version" | |
clish -v | |
echo "END!" | |
echo "Run test: LD_LIBRARY_PATH=/usr/local/lib/ CLISH_PATH=~/klish/xml-examples/klish/etc/clish-enable clish" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment