How to install APR in Ubuntu

2020-05-22 09:41发布

Apache Portable Runtime is a dependency to compile some apps.

./configure says that apr-1 is needed.

How to install it on Ubuntu ?

标签: ubuntu apr
4条回答
Evening l夕情丶
2楼-- · 2020-05-22 10:00

use:

sudo apt-get install libtcnative
查看更多
冷血范
3楼-- · 2020-05-22 10:02
sudo apt-get install libapr1 libapr1-dev
查看更多
ら.Afraid
4楼-- · 2020-05-22 10:05

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.

查看更多
祖国的老花朵
5楼-- · 2020-05-22 10:10

run the following commands

    sudo apt-get update
    sudo apt --fix-broken install
    sudo apt-get install libapr1 libapr1-dev
查看更多
登录 后发表回答