Skip to content

Commit 79d4e5d

Browse files
authored
Add sudo instructions in document
modify comments for make install
2 parents dc0e1db + c6950a2 commit 79d4e5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/build/build_from_source.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ mkdir build
125125
cd build
126126
# you can add build option here, such as:
127127
cmake -DWITH_GPU=ON -DWITH_DOC=OFF -DCMAKE_INSTALL_PREFIX=<path to install> ..
128+
# please use sudo make install, if you want
129+
# to install PaddlePaddle into the system
128130
make -j `nproc` && make install
129131
# PaddlePaddle installation path
130132
export PATH=<path to install>/bin:$PATH

0 commit comments

Comments
 (0)