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
  • 26,870
  • 12
  • 93
  • 104
Thiago Negri
  • 5,221
  • 2
  • 28
  • 39

4 Answers4

39
sudo apt-get install libapr1 libapr1-dev
sorin
  • 161,544
  • 178
  • 535
  • 806
Thiago Negri
  • 5,221
  • 2
  • 28
  • 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,703
  • 8
  • 66
  • 110
  • 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
  • 11,718
  • 17
  • 75
  • 74
Enrique San Martín
  • 2,202
  • 7
  • 30
  • 51
3

run the following commands

    sudo apt-get update
    sudo apt --fix-broken install
    sudo apt-get install libapr1 libapr1-dev
Issaka Faisal
  • 267
  • 3
  • 5