From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#70071: [FR] Provide official install scripts without requiring
 root, e.g., by making a static build possible
Date: Sun, 31 Mar 2024 12:31:15 +0300
Message-ID: <86bk6ubvdo.fsf@gnu.org>
References: <CAE9z9A3iH9+1xPiUDVBUOehyakqfzSoFN5JtKy8gqKroTwxrAw@mail.gmail.com>
 <87frw6yeub.fsf@gmx.de>
 <CAE9z9A2_zLqPR8H_QoeW04DioNXdHM43Z1kw8xfyWiRHJG-Q1A@mail.gmail.com>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="3952"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 70071-done@debbugs.gnu.org, michael.albinus@gmx.de
To: Rudi C <rudiwillalwaysloveyou@gmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 31 11:32:17 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rqrY0-0000lq-Qn
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Mar 2024 11:32:17 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rqrXl-0001V5-7v; Sun, 31 Mar 2024 05:32:01 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rqrXk-0001UI-Cc
 for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2024 05:32:00 -0400
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rqrXk-0000ha-4e
 for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2024 05:32:00 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rqrXm-0008L2-HP
 for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2024 05:32:02 -0400
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-To: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 31 Mar 2024 09:32:02 +0000
Resent-Message-ID: <handler.70071.D70071.171187749031955.done@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 70071
X-GNU-PR-Package: emacs
Mail-Followup-To: 70071@debbugs.gnu.org, eliz@gnu.org,
 rudiwillalwaysloveyou@gmail.com
Original-Received: via spool by 70071-done@debbugs.gnu.org id=D70071.171187749031955
 (code D ref 70071); Sun, 31 Mar 2024 09:32:02 +0000
Original-Received: (at 70071-done) by debbugs.gnu.org; 31 Mar 2024 09:31:30 +0000
Original-Received: from localhost ([127.0.0.1]:46634 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rqrXG-0008JJ-Ay
 for submit@debbugs.gnu.org; Sun, 31 Mar 2024 05:31:30 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51986)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1rqrXC-0008IQ-8o
 for 70071-done@debbugs.gnu.org; Sun, 31 Mar 2024 05:31:28 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1rqrX4-0000Ys-Aw; Sun, 31 Mar 2024 05:31:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=3hyLQ/2YRJWoZB4HEeRJvOSStEfrAd+FMW7Su+l8LTY=; b=dNlNDTrr+gdc
 8IuqIsY8c1OyIvHjrhzR6h+ohUTjmWQ5Lv10NfijJf/G8Bxtz0h+UfsYjQm92hlvsnO1abBJm8qvS
 IaOoyQSXt4YLxhJ9LGVfJ2+cy4ImTHzOfKRQumYxTYq3LfeQCeZuE08FwrZFNmB+7Ru8f8n3p3GR3
 y8Ajd/3eKFyZy3b4Ldh+itOn9L/GRfXNRVJgadbwL3/B1mzCPbBOWbxa8oJFyY3R8kYg0ixyyElis
 jJYo/B4MXP58Yzcr6+LvaA3T/eQ4I8D3rFK59IM+6HnsqpBB5tgpBpTh+oMw/jrq2hPN/vr9et83M
 uk7IvEfBduwe/bJWIvCfuQ==;
In-Reply-To: <CAE9z9A2_zLqPR8H_QoeW04DioNXdHM43Z1kw8xfyWiRHJG-Q1A@mail.gmail.com>
 (message from Rudi C on Sun, 31 Mar 2024 12:36:16 +0330)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:282427
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/282427>

> Cc: 70071@debbugs.gnu.org
> From: Rudi C <rudiwillalwaysloveyou@gmail.com>
> Date: Sun, 31 Mar 2024 12:36:16 +0330
> 
> I discovered a tool called junest (https://github.com/fsquillace/junest) that appears to work for installing Emacs
> without root access.

I'm glad you found a solution for you.

> Given that many users do not have root access, it is crucial to provide an official, well-documented method for
> installing Emacs in such environments. Addressing this issue should take precedence over introducing new
> features, as it will significantly improve the user experience and make Emacs more accessible to a wider
> audience.

As already mentioned, such a method exists and is well-documented: use
the --prefix option of the configure script to install Emacs in a
directory to which you have access.

This is not specific to Emacs, btw: every package that is built using
Autoconf-produced configure script and Makefiles accepts the --prefix
option to specify where to install it.

> In the current state, recommending Emacs to new users can be difficult, as the installation process requires a
> considerable amount of Linux knowledge. By streamlining the installation process for non-root users, Emacs
> will become more user-friendly and attractive to newcomers.

Users who are not knowledgeable enough to install Emacs on their own
should use a distro, or ask someone else to help them.

> As for what this officially endorsed (and tested) way of installing emacs without root should be, I don't have the
> expertise. But perhaps GNU Guix could officially support a non-root mode, as it seems technically possible.

Please suggest this to the Guix folks.  It is possible they will
provide such a feature, if it isn't already provided.  I don't know
enough about Guix to tell more, sorry.

> Alternatively, the Emacs installation documentation could include instructions on using a non-root package
> manager like junest, which should be tested to ensure compatibility with Emacs.

Sorry, we cannot possibly advertise other packages for these jobs: we
don't have the manpower for tracking them and studying them.

And with that, I'm closing this bug report, since I think we have
already covered everything that is relevant to this issue.