Linux Next button installs PowerShell, the bash script

Source: Internet
Author: User

Description

Currently, PowerShell under Linux is approximately equal to pash. I hope you focus on mono, focus on pash.

One-click installation script includes for Centos6,centos7,ubuntu 14.04 Ubuntu 14.10

Installation script is installed with Yum or APT, mono official latest version, then compile and install the latest version of Pash, and finally generate two commands:

Mybuild for compiling pash

Mypash for running Pash

1 CENTOS6

#!/bin/bash# CENTOS6, one-click installation of Mono,pash shell scripts. # CentOS6.6test passed.    # under Linux with: # CD XXXX # xxxx is the directory to enter. # bash./Install_pash.txt # Run. #脚本开始Yum-YInstall wgetgit #安装mono #http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=mono-optcd/etc/Yum. repos.d/wgethttp//Download.opensuse.org/repositories/home:tpokorra:mono/centos_centos-6/home:tpokorra:mono.repoYum-YInstallmono-opt# Build two bash alias, #mybuild为编译, or update Pash#mypash for running pash# PowerShell missionary original -- Geneva- onpermission to reprint, but must retain the name and provenance, otherwise investigate legal liabilityEcho "alias mybuild= ' CD/; rm-rf/pash; git clone https://github.com/Pash-Project/Pash.git; cd/pash/;/opt/mono/bin/x Build/pash/pash.proj '">>/root/. BASHRCEcho "alias mypash= '/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/pash.exe '">>/root/. bashrc# installation PASHCD/RM-RF/Pash git clone https://Github.com/pash-project/pash.gitcd/pash//opt/mono/bin/xbuild/pash/Pash.projSleep 6#运行/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/Pash.exe
View Code

2 Centos7

#!/bin/bash# Centos7, one-click installation of Mono,pash shell scripts.    # under Linux with: # CD XXXX # xxxx is the directory to enter. # bash./centos7_install_pash.txt# run. #脚本开始Yum-YInstall wgetgit #安装mono #http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=mono-optcd/etc/Yum. repos.d/wgethttp//Download.opensuse.org/repositories/home:tpokorra:mono/centos_centos-7/home:tpokorra:mono.repoYum-YInstallmono-opt# Build two bash alias, #mybuild为编译, or update Pash#mypash for running pash# PowerShell missionary original -- Geneva- onpermission to reprint, but must retain the name and provenance, otherwise investigate legal liabilityEcho "alias mybuild= ' CD/; rm-rf/pash; git clone https://github.com/Pash-Project/Pash.git; cd/pash/;/opt/mono/bin/x Build/pash/pash.proj '">>/root/. BASHRCEcho "alias mypash= '/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/pash.exe '">>/root/. bashrc# installation PASHCD/RM-RF/Pash git clone https://Github.com/pash-project/pash.gitcd/pash//opt/mono/bin/xbuild/pash/Pash.projSleep 6#运行/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/Pash.exe
View Code

3 ubuntu 14.04

#!/bin/bash# ubuntu14.Geneva, one-click installation of the Mono,pash shell script. # Ubuntu14.04test passed.    # under Linux with: # CD XXXX # xxxx is the directory to enter. # bash./Ubuntu1404_install_pash.txt # Run. #脚本开始sudoapt-Get updatesudoApt-get-yInstall wgetgit # http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=mono-opt#安装monowgethttp//Download.opensuse.org/repositories/home:tpokorra:mono/xubuntu_14.04/release.keysudoApt-key Add-<Release.keysudo SH-C"Echo ' deb http://download.opensuse.org/repositories/home:/tpokorra:/mono/xUbuntu_14.04//' >>/etc/apt/ Sources.list.d/mono-opt.list"sudoapt-Get updatesudoApt-get-yInstallmono-opt# Build two bash alias, #mybuild为编译, or update Pash#mypash for running pash# PowerShell missionary original -- Geneva- onpermission to reprint, but must retain the name and provenance, otherwise investigate legal liabilityEcho "alias mybuild= ' CD/; rm-rf/pash; git clone https://github.com/Pash-Project/Pash.git; cd/pash/;/opt/mono/bin/x Build/pash/pash.proj '">>/root/. BASHRCEcho "alias mypash= '/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/pash.exe '">>/root/. bashrc# installation PASHCD/RM-RF/Pash git clone https://Github.com/pash-project/pash.gitcd/pash//opt/mono/bin/xbuild/pash/Pash.projSleep 6#运行/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/Pash.exe
View Code

4 ubuntu14.10

#!/bin/bash# ubuntu14.Ten, one-click installation of the Mono,pash shell script.    # under Linux with: # CD XXXX # xxxx is the directory to enter. # bash./Ubuntu14010_install_pash.txt # Run. #脚本开始sudoapt-Get updatesudoApt-get-yInstall wgetgit # http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=mono-opt#安装monowgethttp//Download.opensuse.org/repositories/home:tpokorra:mono/xubuntu_14.10/release.keysudoApt-key Add-<Release.keysudo SH-C"Echo ' deb http://download.opensuse.org/repositories/home:/tpokorra:/mono/xUbuntu_14.10//' >>/etc/apt/ Sources.list.d/mono-opt.list"sudoapt-Get updatesudoApt-get-yInstallmono-opt# Build two bash alias, #mybuild为编译, or update Pash#mypash for running pash# PowerShell missionary original -- Geneva- onpermission to reprint, but must retain the name and provenance, otherwise investigate legal liabilityEcho "alias mybuild= ' CD/; rm-rf/pash; git clone https://github.com/Pash-Project/Pash.git; cd/pash/;/opt/mono/bin/x Build/pash/pash.proj '">>/root/. BASHRCEcho "alias mypash= '/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/pash.exe '">>/root/. bashrc# installation PASHCD/RM-RF/Pash git clone https://Github.com/pash-project/pash.gitcd/pash//opt/mono/bin/xbuild/pash/Pash.projSleep 6#运行/opt/mono/bin/mono/pash/source/pashconsole/bin/debug/Pash.exe
View Code

Linux Next button installs PowerShell, the bash script

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.