Skip to content

Commit

Permalink
Merge pull request #651 from apache/update-build-instructions
Browse files Browse the repository at this point in the history
Remove 'snap install' from build instructions
  • Loading branch information
rlenferink authored Sep 24, 2023
2 parents be8a413 + d6dc00c commit 9bf7aff
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions documents/building/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,13 @@ For Ubuntu 22.04, use the following commands:
```bash
sudo apt-get install -yq --no-install-recommends \
build-essential \
cmake \
git \
default-jdk \
python3 \
python3-pip \
ninja-build

#The cmake version for Ubuntu 20 is older than 3.14,
#use snap to install the latest cmake version
snap install cmake

#Install conan
pip3 install -U conan
```
Expand Down Expand Up @@ -148,6 +145,7 @@ For Ubuntu 22.04, use the following commands:
#### get dependencies
sudo apt-get install -yq --no-install-recommends \
build-essential \
cmake \
git \
curl \
uuid-dev \
Expand All @@ -160,17 +158,13 @@ sudo apt-get install -yq --no-install-recommends \
libczmq-dev \
libcpputest-dev \
rapidjson-dev

#The cmake version for Ubuntu 20 is older than 3.14,
#use snap to install the latest cmake version
snap install cmake
```

For OSX systems with brew installed, use the following commands:
```bash
brew update && \
brew install lcov libffi libzip czmq rapidjson libxml2 cmake jansson && \
brew link --force libffi
brew update && \
brew install lcov libffi libzip czmq rapidjson libxml2 cmake jansson && \
brew link --force libffi
```

Use CMake and make to build Apache Celix
Expand Down Expand Up @@ -244,4 +238,4 @@ cd celix/build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../libs/pushstreams
make -j
sudo make install
```
```

0 comments on commit 9bf7aff

Please sign in to comment.