From 87a8ea683edc26852128063718c7c8bd5bcdc421 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 4 Nov 2015 16:25:52 -0800 Subject: [PATCH] Document dependencies --- docs/Dependencies.md | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 docs/Dependencies.md diff --git a/docs/Dependencies.md b/docs/Dependencies.md new file mode 100644 index 0000000000..47f1ff3eb1 --- /dev/null +++ b/docs/Dependencies.md @@ -0,0 +1,52 @@ +# Ubuntu 14.04 + +Note that some of these dependencies are only required for building +CoreCLR and CoreFX on Linux. We should find a reduced set for +PowerShell on Linux itself. + +Note that the distributed version of Mono is too old for .NET +projects, the [CoreCLR][] docs point to the [Mono][] docs on how to +install an up-to-date version. + +Also note that the distributed version of Git has a bug with `git +clean -fdx` and submodules. I would recommned upgrading. + +[CoreCLR]: https://github.com/dotnet/coreclr/blob/master/Documentation/building/linux-instructions.md +[Mono]: http://www.mono-project.com/docs/getting-started/install/linux/ + +```sh +sudo su + +echo "Adding Mono Project repository" +echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF + +apt-get update + +apt-get install -y \ + git \ + wget \ + mono-devel \ + gcc \ + g++ \ + llvm-3.5 \ + clang-3.5 \ + lldb-3.6 lldb-3.6-dev \ + strace \ + libicu-dev \ + libunwind8 libunwind8-dev \ + libssl-dev \ + libcurl4-openssl-dev \ + libpam0g-dev \ + make \ + cmake \ + gettext +``` + +# Arch Linux + +It's Arch, everything is already new enough. + +``` +sudo pacman --noconfirm -S git wget gcc mono make cmake icu pam lldb strace +```