25

Apache Portable Runtime is a dependency to compile some apps.

./configure says that apr-1 is needed.

How to install it on Ubuntu ?

Scott Stensland
  • 24,813
  • 12
  • 87
  • 96
Thiago Negri
  • 5,133
  • 2
  • 26
  • 39

4 Answers4

38
sudo apt-get install libapr1 libapr1-dev
sorin
  • 149,293
  • 163
  • 498
  • 754
Thiago Negri
  • 5,133
  • 2
  • 26
  • 39
15

Try this:

  • sudo apt-get install apache2-dev libapr1-dev libaprutil1-dev
  • sudo exec $SHEL
  • sudo service apache2 restart

That's enough to use correctly Apache Portable Runtime and Apache Portable Runtime Utils.

Good Luck.

Reed
  • 14,307
  • 8
  • 62
  • 107
  • My thanks. Installation ```libapr1```, ```libapr1-dev``` packages (first answear) lead to build error - apr headers not found. Then I installed a ```apache2-dev``` package and build finish successfully. – isnullxbh Dec 28 '16 at 05:45
5

use:

sudo apt-get install libtcnative
shilovk
  • 9,510
  • 16
  • 66
  • 68
Enrique San Martín
  • 2,084
  • 7
  • 28
  • 50
3

run the following commands

    sudo apt-get update
    sudo apt --fix-broken install
    sudo apt-get install libapr1 libapr1-dev
Issaka Faisal
  • 237
  • 4
  • 5