Created
September 11, 2018 10:18
-
-
Save Wituz/2b1c1718c8c4ff1f5124feb32cfdf8e9 to your computer and use it in GitHub Desktop.
Install fslex and fsyacc on Ubuntu 18.04
This file contains hidden or 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 | |
| wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
| sudo dpkg -i packages-microsoft-prod.deb | |
| sudo apt-get install apt-transport-https -y | |
| sudo apt-get update | |
| sudo apt-get install dotnet-sdk-2.1 -y | |
| sudo apt-get install nuget -y | |
| mkdir ~/nuget | |
| mkdir ~/nuget/bin | |
| echo 'export PATH=~/nuget/bin:$PATH' >> ~/.bashrc | |
| cd ~/nuget | |
| nuget install FsLexYacc | |
| chmod +x ~/nuget/FsLexYacc.7.0.6/build/fs* | |
| ln -s ~/nuget/FsLexYacc.7.0.6/build/fslex.exe ~/nuget/bin/fslex | |
| ln -s ~/nuget/FsLexYacc.7.0.6/build/fsyacc.exe ~/nuget/bin/fsyacc | |
| source ~/.bashrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment