From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Resources for an old newbie ? Date: Wed, 31 May 2023 01:24:00 +0200 Message-ID: <875y89z9m7.fsf@dataswamp.org> References: <0e037ca2-517d-3b52-2187-a7bba7956fbd@starynkevitch.net> <87353ndhzg.fsf@web.de> <871qj7397n.fsf@dataswamp.org> <87ilch19ub.fsf@dataswamp.org> <87cz2nvk51.fsf@web.de> <87v8gfybhv.fsf@robbyzambito.me> <87zg5p5hm0.fsf@web.de> <875y8a698v.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35613"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:2VEID00A2lxuyP35aszrBK8Ay9M= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 31 04:47:11 2023 Return-path: Envelope-to: geh-help-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 ) id 1q4Brj-00091v-Nn for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 31 May 2023 04:47:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4Br9-0001hn-Ch; Tue, 30 May 2023 22:46:35 -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 ) id 1q48hK-0006yt-KR for help-gnu-emacs@gnu.org; Tue, 30 May 2023 19:24:14 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q48hH-00035A-QZ for help-gnu-emacs@gnu.org; Tue, 30 May 2023 19:24:14 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1q48hE-0001Zy-Um for help-gnu-emacs@gnu.org; Wed, 31 May 2023 01:24:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 30 May 2023 22:46:34 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143803 Archived-At: Here are the minimal (?) commands required to install the latest Emacs on Debian. I removed the shell functions in this version, if that is what made it so scary last time. (But actually I recommend using functions: less error prone, faster and more reliable.) Anyway, as you now see below beyond doubt, it is a trivial affair. Installing Emacs is step 1-3 and 5, that is 12 commands. Upgrading it after that, step 4 and 5, is only 7 commands. All of them well familiar to most Joe Unix Hacker on the globe. If one can do it better or shorter, do say! And when we are done, we could mail the EmacsWiki maintainers and ask them to publish the list of commands, if they lack such a page. # 1. setup directories src_dir=~/src emacs_dir=${src_dir}/emacs mkdir -p $emacs_dir # 2. get dependencies sudo apt-get -qq update sudo apt-get install build-essential debian-goodies libgccjit-10-dev sudo apt-get build-dep emacs # 3. get source cd $src_dir git clone https://git.savannah.gnu.org/git/emacs.git # 4. refresh source/upgrade cd $emacs_dir git fetch git merge # 5. compile and install autogen.sh configure --with-x-toolkit=no --with-native-compilation make sudo make install https://dataswamp.org/~incal/conf/.zsh/install-emacs (with functions, recommended) https://dataswamp.org/~incal/scripts/emacs-install-minimal (as a script) -- underground experts united https://dataswamp.org/~incal