From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: How to uninstall Emacs? Date: Wed, 8 Apr 2015 15:15:33 -0600 Message-ID: <20150408151108594765585@bob.proulx.com> References: <878ue21nkc.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1428527757 15706 80.91.229.3 (8 Apr 2015 21:15:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2015 21:15:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 23:15:56 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YfxKE-0001OK-Hh for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 23:15:54 +0200 Original-Received: from localhost ([::1]:54895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfxKD-0001FH-K4 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 17:15:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfxJz-0001EL-7p for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 17:15:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfxJu-0003nr-Rb for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 17:15:39 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:55411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfxJu-0003nk-Jc for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 17:15:34 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 0064E21230 for ; Wed, 8 Apr 2015 15:15:34 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id D49802DC41; Wed, 8 Apr 2015 15:15:33 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <878ue21nkc.fsf@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103589 Archived-At: Rodolfo Medina wrote: > I recently installed Emacs after downloading it from git > repositories. Suppose I would like to uninstall it - I want to try > how the Emacs distribution provided by Debian works and then, > perhaps, reinstall Emacs from git. How can I completely uninstall > it? Or you could simply try the Debian one without uninstalling your version. When you compile from git sources and 'make install' it will install emacs into /usr/local/bin/emacs. Since PATH includes /usr/local/bin ahead of /usr/bin calling emacs calls your locally compiled binary first. To avoid this you can simply call the system packaged version directly. You can do this even with your locally compiled one installed in /usr/local/bin. /usr/bin/emacs Calling it specifically by that path will invoke the system packaged version. You can verify this by looking at the emacs version. The version is usually displayed near the bottom of the start up splash screen. If not (I customize mine away) you can ask it directly. M-x emacs-version If you have customizations in your dot emacs file you can test the stock system configuration with the -q option. The -q option instructs emacs not to load an init file. /usr/bin/emacs -q Bob