How to install APR in Ubuntu

2020-05-22 09:28发布

问题:

Apache Portable Runtime is a dependency to compile some apps.

./configure says that apr-1 is needed.

How to install it on Ubuntu ?

回答1:

sudo apt-get install libapr1 libapr1-dev


回答2:

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.



回答3:

use:

sudo apt-get install libtcnative


回答4:

run the following commands

    sudo apt-get update
    sudo apt --fix-broken install
    sudo apt-get install libapr1 libapr1-dev


标签: ubuntu apr