Skip to content

Instantly share code, notes, and snippets.

@Wituz
Created September 11, 2018 10:18
Show Gist options
  • Select an option

  • Save Wituz/2b1c1718c8c4ff1f5124feb32cfdf8e9 to your computer and use it in GitHub Desktop.

Select an option

Save Wituz/2b1c1718c8c4ff1f5124feb32cfdf8e9 to your computer and use it in GitHub Desktop.
Install fslex and fsyacc on Ubuntu 18.04
#/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