How to install APR in Ubuntu

一笑奈何 提交于 2019-12-09 04:41:11

问题


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


来源:https://stackoverflow.com/questions/22075531/how-to-install-apr-in-ubuntu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!