libcurl with ares on ubuntu 14.04

I read that post

But it answers how to compile curl. I know that.
I would like to replace libcurl package.

  • Docker service does not start
  • Why do there exist “-i” and “-t” options for the “docker exec” command?
  • Register to Eureka from Docker with a custom IP
  • Build custom Docker microsoft dotnet image with NuGet packages already downloaded
  • docker-runc not installed on system
  • How to make nginx-docker container running always
  • So when I will install software aptitude will know that libcurl exists.
    When ubuntu will update then it should not overrite libcurl.

    sudo checkinstall
    

    not recommended but advertising by most posts

    sudo make install
    

    e.g.
    http://www.howtogeek.com/105413/how-to-compile-and-install-from-source-on-ubuntu/

    How do I install curl with ares enabled

    I wonder if it worth to use docker if I need libcurl with ares for single app.

  • How to fix “error in run: Failed to get machine ”boot2docker-vm“: machine does not exist”?
  • Deploying project in Docker with Angular 4, Django and postgresql
  • Clean docker environment: devicemapper
  • Docker containers starts at different subtnets
  • What happens in background when forwarding x11 through ssh?
  • How to saving a Docker container State?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.