Skip to content

Instantly share code, notes, and snippets.

@sr9yar
Created December 4, 2018 17:19
Show Gist options
  • Save sr9yar/023ad13a72c0c3626ab0b0fda55c8fd8 to your computer and use it in GitHub Desktop.
Save sr9yar/023ad13a72c0c3626ab0b0fda55c8fd8 to your computer and use it in GitHub Desktop.
Blender 2.79 install for Azure Render VM
#!/bin/bash
echo '# Running apt-get update ...'
apt-get update
echo '# Installing imagemagick ...'
apt-get install -y imagemagick
echo '# Installing blender ...'
apt-get install -y software-properties-common
add-apt-repository -y ppa:thomas-schiex/blender
apt-get install -y blender
echo '# Installing python-pip ...'
apt-get install -y python-pip
echo '# Installing azure-batch ...'
pip install azure-batch==4.1.3
echo '# Installing packages-microsoft-prod.deb ...'
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
echo '# Installing apt-transport-https ...'
sudo apt-get -y install apt-transport-https
echo '# Running apt-get update ...'
sudo apt-get update
echo '# Installing install dotnet-sdk-2.1 ...'
sudo apt-get -y install dotnet-sdk-2.1
wget -O azcopy.tar.gz https://aka.ms/downloadazcopyprlinux
tar -xf azcopy.tar.gz
./install.sh
echo "## DONE ##"
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment