LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-14-2012, 10:27 PM   #1
ratman1
Member
 
Registered: Oct 2009
Location: Perth, Australia
Distribution: Slackware64 14.0
Posts: 44

Rep: Reputation: 0
Cannot remove emacs


Hi

This may be a strange question, and there is probably a very logical answer for it that I have not yet come across, but here it is.

I installed emacs with a simple
Code:
apt-get install emacs
and after a while decided that I did not need it so I removed it (purged it) with
Code:
apt-get purge emacs
That should have worked, right? Emacs should have been uninstalled and purged of any configurations.

However, just out of curiosity, I did a search for emacs related files with
Code:
find / -name "emacs"
This returned a list of files:
Code:
/usr/local/share/emacs
/usr/bin/emacs
/usr/lib/emacs
/usr/share/emacs
/var/lib/dpkg/alternatives/emacs
/etc/alternatives/emacs
/etc/emacs
Why are those files there if I removed emacs? Also, typing emacs at the terminal starts emacs. I thought I removed it!

My only thoughts are that the package "emacs" is merely a dummy package that further installs the "proper" emacs packages.

Please help, I am getting quite confused as to how to properly remove emacs.
 
Old 09-14-2012, 10:31 PM   #2
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Code:
sudo apt-get purge emacs23
?? That is a bit odd.
 
Old 09-14-2012, 10:41 PM   #3
ratman1
Member
 
Registered: Oct 2009
Location: Perth, Australia
Distribution: Slackware64 14.0
Posts: 44

Original Poster
Rep: Reputation: 0
That did the trick of removing the emacs program itself, so now it doesn't start when I type emacs at a terminal. Thanks
Code:
>> find / -name "emacs"
/usr/local/share/emacs
/usr/lib/emacs
/usr/share/emacs
/etc/emacs
They are all just directories - should I just delete them? The /usr/share/emacs had a lot of files in it, 2234 in fact. Considering emacs is no longer installed, I am guessing I won't need those files any more.
 
  


Reply

Tags
emacs, remove, uninstall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get emacs -nw when I call emacs from a terminal but GUI emacs elsewhere? Blackened Justice Linux - Newbie 4 09-08-2011 07:57 AM
LXer: Emacs Wiki Founder Sought to Remove Bottleneck LXer Syndicated Linux News 0 08-12-2007 10:30 AM
LXer: Emacs Wiki Founder Sought to Remove Bottleneck LXer Syndicated Linux News 0 08-11-2007 04:31 PM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration