help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to uninstall Emacs?


From: Emanuel Berg
Subject: Re: How to uninstall Emacs?
Date: Fri, 10 Apr 2015 00:48:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Jorge <jorge13515@gmail.com> writes:

> To be able to easily uninstall Emacs, I installed it
> in a prefix. Configure it with: $ ./configure
> --prefix=/usr/local/$emacs_version Then when you
> type: $ sudo make install it will install into the
> chosen prefix. Then create symlinks into
> /usr/local/bin: $ sudo ln -sirv $prefix/bin/*
> /usr/local/bin
>
> Later, to uninstall: $ sudo rm -rI $prefix $ find -L
> -type l /usr/local/bin <Review the list of broken
> links in /usr/local/bin. Confirm you want to remove
> them all> $ sudo find -L -type l /usr/local/bin -exec
> rm {} +

On an aptitude system (e.g. Debian, the Ubuntus, and
so on) you don't have to bother uninstalling programs
because they are just binaries (and sometimes scripts)
that lie passively unless you invoke them: they are
put into their respective boxes in the filesystem and
do not interfere with other programs - they are also
small, so disk space shortage cannot be remedied that
way either.

The package manager is the best way to not have to
deal with the make, configure, and 'make install'
dance, and you don't have to fiddle the symlinks,
either.

Of course it is still possible to uninstall - sudo
aptitude remove - but that is mostly done (seldom)
when the upgrade/installation process has had some
dust in its machinery and you need to give it
a fresh start.

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]