From 2172ce3da3337f7a3f6cf5c0e0a0810b176cd3b0 Mon Sep 17 00:00:00 2001 From: Ron Hough Date: Sat, 11 Mar 2023 15:04:08 -0600 Subject: [PATCH] wip --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb0b76b..97bb753 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ and public headers. ## Prerequisites * Ubuntu 22.04 (or equivalent) * Additional required packages: - * `python3-venv` * `g++` * `cmake` + * `python3-venv` ## Setup 1. Create a `python` virtual environment, install `conan`, and create a default profile: @@ -18,8 +18,15 @@ pip install conan conan profile detect ``` -## Build +## Building and running 1. To build, run: ```bash ./build.sh ``` +1. The build command will generate a `deb` package in the `_packages` directory. To install (to + `/usr/local`) run: +``` +sudo dpkg -i _packages/_packages/cppchallenge_1.0.0_*.deb +sudo ldconfig +``` + __TODO__: The `sudo ldconfig` step should be added to the `deb` package `postinst` step...