2022-02-28 16:23:57 +01:00
# Generation
2017-06-12 19:32:26 +02:00
2022-02-28 16:23:57 +01:00
rpn is proposed for **GNU/Linux** .
2017-06-12 19:32:26 +02:00
2022-02-28 16:23:57 +01:00
It can be generated following the steps below.
2017-06-12 19:32:26 +02:00
2022-02-28 16:40:09 +01:00
rpn is dynamically linked against GNU MP and GNU MPFR and integrates [linenoise-ng ](https://github.com/louisrubet/linenoise-ng.git ) and [mpreal ](http://www.holoborodko.com/pavel/mpfr/ ) code as git submodules.
2017-06-12 19:32:26 +02:00
2022-02-28 16:40:09 +01:00
## Generate and install under Ubuntu 20.04 LTS
2022-02-28 16:23:57 +01:00
```shell
2022-02-28 16:40:09 +01:00
sudo apt install git cmake g++ libmpfr6 libmpfr-dev
git clone https://github.com/louisrubet/rpn/
mkdir -p rpn/build & & cd rpn/build
cmake ..
make -j
2022-02-28 16:23:57 +01:00
sudo make install
```
2017-06-12 21:59:10 +02:00
2022-02-28 16:40:09 +01:00
## Generate and install under Fedora 35
2017-06-19 21:43:26 +02:00
2022-02-28 16:23:57 +01:00
```shell
2022-02-28 16:40:09 +01:00
sudo dnf install git cmake g++ mpfrf mpfr-devel
git clone https://github.com/louisrubet/rpn/
mkdir -p rpn/build & & cd rpn/build
cmake ..
make -j
sudo make install
2022-02-28 16:23:57 +01:00
```