db-lab1/dependencies/README-ubuntu.md

47 lines
721 B
Markdown
Raw Normal View History

2021-10-21 10:13:09 +08:00
# Dependencies (Ubuntu)
To build the dependencies & the project itself, The following must be installed:
- g++
- make
- CMake
For each dependency, shell is assumed to be in the directory of `dependencies`. So, the first command is always changing into the directory which contains the dependency.
## [Boost](https://www.boost.org/)
shell:
```
cd boost
./bootstrap
./b2
sudo ./b2 install
```
## [Crypto++](https://cryptopp.com/)
shell:
```
cd cryptopp
make
```
# [PostgreSQL](https://www.postgresql.org/)
**The database should be installed locally.**
# [Libpqxx](https://github.com/jtv/libpqxx)
shell:
```
cd libpqxx
./configure
make
```
# [inja](https://github.com/pantor/inja)
*Nothing should be done...*