git clone https://github.com/jemalloc/jemalloc.git cd jemalloc ./autogen.sh mkdir build cd build ../configure --prefix=$PWD/local make -j$(nproc)