Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install APR in Ubuntu

Tags:

ubuntu

apr

Apache Portable Runtime is a dependency to compile some apps.

./configure says that apr-1 is needed.

How to install it on Ubuntu ?

like image 975
Thiago Negri Avatar asked Feb 27 '14 17:02

Thiago Negri


People also ask

What is APR in Linux?

The Apache Portable Runtime (APR) is a supporting library for the Apache web server. It provides a set of APIs that map to the underlying operating system (OS).

What is APR util?

Introduction to Apr UtilThe Apache Portable Runtime Utility Library provides a predictable and consistent interface to underlying client library interfaces. This application programming interface assures predictable if not identical behaviour regardless of which libraries are available on a given platform.


2 Answers

sudo apt-get install libapr1 libapr1-dev 
like image 50
Thiago Negri Avatar answered Oct 04 '22 01:10

Thiago Negri


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.

like image 42
Felipe Mendivelso Osorio Avatar answered Oct 03 '22 23:10

Felipe Mendivelso Osorio