Skip to content

Instantly share code, notes, and snippets.

@yesoreyeram
Last active July 13, 2017 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yesoreyeram/5515563e641265860dc081b0b261ad8f to your computer and use it in GitHub Desktop.
Save yesoreyeram/5515563e641265860dc081b0b261ad8f to your computer and use it in GitHub Desktop.
Mono Installation for Ubuntu & Octopus Deploy
# update hostname in hosts file (Will help to fix “sudo: unable to resolve hostname” issue while installing)
echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts
# Install mono (required for octopus to connect)
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt-get update
sudo apt-get install mono-devel --allow-unauthenticated -–yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment