From 813f9141f897ad62de6bedcb0ef17798213c8434 Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Wed, 10 Jan 2024 15:43:41 +0000 Subject: [PATCH] Add some linux compiling instructions --- docs/compiling.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/compiling.md b/docs/compiling.md index 9a0c93a2..1fa05152 100644 --- a/docs/compiling.md +++ b/docs/compiling.md @@ -41,4 +41,13 @@ cd velopack/src/Rust cargo build --release --features windows copy {path_to_osx_update} target/release/updatemac dotnet build -c Release /p:PackRustAssets=true -``` \ No newline at end of file +``` + +### Compiling on Linux +If you are on Linux (tested on Ubuntu), there are additional package pre-requisites: +```sh +sudo apt install libssl-dev pkg-config +``` +You need to verify that `nbgv` is working on the command line, you may be missing a `DOTNET_ROOT` variable in your bash profile, which might need to point at `/usr/share/dotnet` or `$HOME/.dotnet`. + +If you are missing localisation packages, you can search for them or add `export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1` to your bash profile. \ No newline at end of file