From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim McNamara Newsgroups: gmane.emacs.help Subject: Re: Installation Question Date: Thu, 11 Dec 2003 13:37:51 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071172093 3291 80.91.224.253 (11 Dec 2003 19:48:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2003 19:48:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 20:48:07 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUWn9-00024C-00 for ; Thu, 11 Dec 2003 20:48:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AUXhr-00032I-Nd for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2003 15:46:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!priapus.visi.com!orange.octanews.net!news.octanews.net!zeus.visi.com!news-out.visi.com!petbe.visi.com!gemini.bitstream.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:ecbr5sQBkcFf/A3K0vgkByMYjZE= Original-Lines: 23 Original-NNTP-Posting-Host: 29faee70.news.bitstream.net Original-X-Trace: 1071171571 gemini.bitstream.net 1094 216.243.177.155 Original-X-Complaints-To: abuse@bitstream.net Original-Xref: shelby.stanford.edu gnu.emacs.help:119230 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15169 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15169 exits funnel writes: > The result seems to be that the new version is resting in > /usr/local/bin but /usr/bin which is first in my path so when I try > to run emacs I'm still getting the old one. I realize I could swap > the order of the directories in my path but I'm wondering what the > conventional solution is? Should I just remove the version in > /usr/local/bin? No, that's the one you want to be running. One potential approach- not saying this is the correct or best one- is to change the name of /usr/bin/emacs (e.g., 'mv /usr/bin/emacs old.emacs') and then create a link in /usr/bin called 'emacs' that links to /usr/local/bin/emacs which is your shiny new version. I don't know the correct syntax for this in Linux, it's a little different than in BSDish Unixen IIRC. > What's the difference between /usr/local/bin and /usr/bin anyway? > Should the install script have copied 21.3 to /usr/local/bin? /usr/bin is for system-installed binaries, whereas /usr/local/bin is for user install binaries (or so I've been told). Often 'make install' puts new software in /usr/local/bin to avoid overwriting the old software.