emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 73569eb957e: ; * INSTALL: Mention installation without root acces


From: Eli Zaretskii
Subject: master 73569eb957e: ; * INSTALL: Mention installation without root access (bug#70071).
Date: Sat, 6 Apr 2024 06:31:31 -0400 (EDT)

branch: master
commit 73569eb957e47e99d8181950afd7977a1ffa1acc
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * INSTALL: Mention installation without root access (bug#70071).
---
 INSTALL | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/INSTALL b/INSTALL
index 2aaa02f37d7..90ae622f340 100644
--- a/INSTALL
+++ b/INSTALL
@@ -59,6 +59,15 @@ sections if you need to.
 
       where SOURCE-DIR is the top-level Emacs source directory.
 
+  2c. If you don't have write access to the default directory where
+      Emacs and its data files will be installed, specify an alternative
+      installation directory:
+
+                ./configure --prefix=/SOME/OTHER/DIRECTORY
+
+      where /SOME/OTHER/DIRECTORY is a directory writeable by your user,
+      for example, a subdirectory of your home directory.
+
   3. When 'configure' finishes, it prints several lines of details
      about the system configuration.  Read those details carefully
      looking for anything suspicious, such as wrong CPU and operating
@@ -440,6 +449,12 @@ should put emacs and its data files.  This defaults to 
'/usr/local'.
   (where CONFIGURATION is the configuration name, like
   i686-pc-linux-gnu), unless the '--exec-prefix' option says otherwise.
 
+If you don't have write access to the default '/usr/local' tree, and
+cannot have root access (without which "make install" will fail),
+specify '--prefix=PREFIXDIR' where PREFIXDIR is a directyory writeable
+by your user, for example your HOME directory or some subdirectory of
+it.
+
 The '--exec-prefix=EXECDIR' option allows you to specify a separate
 portion of the directory tree for installing architecture-specific
 files, like executables and utility programs.  If specified,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]