diff --git a/doc/getstarted/build_and_install/build_from_source_en.md b/doc/getstarted/build_and_install/build_from_source_en.md index fbca407030e6829a5d5df2e5d247e3103a8d3b75..27b478a0fdd9ab5c507d17a3c2e5e2b3450b13ff 100644 --- a/doc/getstarted/build_and_install/build_from_source_en.md +++ b/doc/getstarted/build_and_install/build_from_source_en.md @@ -101,8 +101,8 @@ As a simple example, consider the following: ```bash # necessary sudo apt-get update - sudo apt-get install -y git curl gcc g++ gfortran make build-essential - sudo apt-get install -y python python-pip python-numpy libpython-dev + sudo apt-get install -y git curl gcc g++ gfortran make build-essential autotools-dev + sudo apt-get install -y python python-pip python-numpy libpython-dev automake sudo pip install 'protobuf==3.1.0.post1' # install cmake 3.4 diff --git a/paddle/scripts/docker/Dockerfile b/paddle/scripts/docker/Dockerfile index 127ebf26c2373024e64873e90731022581de714d..d46dd48f744b339403358ad9710ca893d1e1f392 100644 --- a/paddle/scripts/docker/Dockerfile +++ b/paddle/scripts/docker/Dockerfile @@ -10,6 +10,7 @@ RUN apt-get update && \ apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \ apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \ apt-get install -y python-numpy python-matplotlib gcc g++ gfortran && \ + apt-get install -y autotools-dev automake && \ apt-get clean -y RUN pip install --upgrade pip && \ diff --git a/paddle/scripts/docker/Dockerfile.gpu b/paddle/scripts/docker/Dockerfile.gpu index a729e33d468cd3092b063e68cd2570f53eb157b2..58070b2ad9c8623bf1ec3d0ba03b752441fb44e2 100644 --- a/paddle/scripts/docker/Dockerfile.gpu +++ b/paddle/scripts/docker/Dockerfile.gpu @@ -10,6 +10,7 @@ RUN apt-get update && \ apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \ apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \ apt-get install -y python-numpy python-matplotlib gcc g++ gfortran && \ + apt-get install -y autotools-dev automake && \ apt-get clean -y RUN pip install --upgrade pip && \