The successful compilation of Paddle version 2.5.0 on the aarch64 architecture was accomplished on the company's Kunpeng server. The process involved installing essential dependencies such as CMake version 3.16.8. The following commands were executed for CMake installation: 'wget https://github.com/Kitware/CMake/releases/download/v3.16.8/cmake-3.16.8.tar.gz', 'tar -xzf cmake-3.16.8.tar.gz && cd cmake-3.16.8', './bootstrap', 'make', and 'sudo make install'. Subsequently, Patchelf was installed by cloning the repository 'https://github.com/NixOS/patchelf' and executing the commands: 'cd patchelf', './bootstrap.sh', './configure', 'make check', and 'sudo make install'. The final step involved Paddle installation by cloning the repository 'https://github.com/Paddle/Paddle.git', checking out version 'v2.5.0-rc1', and creating a 'build' directory.