Skip to content

Commit 9ffc3da

Browse files
committed
Installing in $HOME should not be the default advice
We ourselves install most of the time in /opt, and asking people to open their homefolder can yield other problems. Left the mention of prefix so people are aware they can pick another location to keep the documentation clear. (cherry picked from commit df281ac)
1 parent c3e0040 commit 9ffc3da

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

doc/manual/install-domserver.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ taken than simply running ``./configure && make && make install``.
5757

5858
After installing the required software as described above, run configure.
5959
In this example to install DOMjudge in the directory ``domjudge`` under
60-
your home directory::
60+
`/opt`::
6161

62-
./configure --prefix=$HOME/domjudge
62+
./configure --prefix=/opt/domjudge
6363
make domserver
6464
sudo make install-domserver
6565

doc/manual/install-judgehost.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ These instructions assume a release `tarball <https://www.domjudge.org/download>
5454
for instructions to build from git sources.
5555

5656
After installing the software listed above, run configure. In this
57-
example to install DOMjudge in the directory ``domjudge`` under your
58-
home directory::
57+
example to install DOMjudge in the directory ``domjudge`` under `/opt`::
5958

60-
./configure --prefix=$HOME/domjudge
59+
./configure --prefix=/opt/domjudge
6160
make judgehost
6261
sudo make install-judgehost
6362

0 commit comments

Comments
 (0)