Pash is an open source implementation of Powershell which can be used on linux, mac or windows mobiles.
The main goal of implementing the Pash is to provide a rich shell environment for other operating systems as well as to provide a hostable scripting engine for rich applications. The script should run across the machine and different OS seamlessly is a secondary goal.(Source:http://pash.sourceforge.net)
In this blog post I am going to provide installation of Pash on ubuntu machine.
Install MONO
First we have to install mono platform designed to allow developers to create cross platform applications.
rahul@ubuntu:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF rahul@ubuntu:~$ echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list rahul@ubuntu:~$ sudo apt-get update rahul@ubuntu:~$ sudo apt-get install mono-devel rahul@ubuntu:~$ sudo apt-get install mono-complete
Clone git repository
rahul@ubuntu:~$ cd /var/local rahul@ubuntu:/var/local$ git clone https://github.com/Pash-Project/Pash.git
Build Pash source code
rahul@ubuntu:/var/local$ cd pash rahul@ubuntu:/var/local/Pash$ sudo xbuild