From 9c1cb5ff4ea29e42f3aa5dac2bbf12cf9d84b6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Wed, 12 Jun 2024 17:52:44 +0200 Subject: [PATCH] update windows installation --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 61db6f9..301351a 100644 --- a/README.md +++ b/README.md @@ -32,19 +32,17 @@ I can't provide information for all distributions, but in general it should be l **Linux systems**: - `boost` and `cmake`: should be available as a system package via your package manager. -- `readline` should be installed already, otherwise try your package manager as well. -- `cpr` is a bit more complicated: - - On Arch, there is a package in the [AUR](https://aur.archlinux.org/packages/cpr). - - On Fedora, there is also a package via [rpm](https://src.fedoraproject.org/rpms/cpr). - - There might be packages for other distributions, check out the [CPR project on Github](https://github.com/libcpr/cpr#packages-for-linux-distributions). - - If there is no package available for your distribution, see [Installing cpr as a local CMake dependency](# Installing cpr as a local CMake dependency). +- `readline` should be installed already, otherwise try your package manager as well. On some systems, you will need to additionally install `libreadline-dev` (or similar), +- `cpr` should be fetched as a submodule from its GitHub repository automatically by CMake + - Alternatively, install cpr globally via your package manager. For example, this is possible for Arch via [AUR](https://aur.archlinux.org/packages/cpr) and Fedora via [rpm](https://src.fedoraproject.org/rpms/cpr) **Mac OS**: - I recommend installing packages with [Homebrew](https://brew.sh). - So `brew install boost cpr readline cmake` should do the job. +- Note this is not tested, since I do not have access to a Mac. **Windows**: -- Currently, I have no idea regarding windows, sorry for that. +- I recommend using the 'Windows Subsystem for Linux (WSL)'. Then, follow the Linux system installation from above. ### Installing cpr as a local CMake dependency - There is also the option to install `cpr` directly as a dependency through `CMake`.