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

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

Re: What exactly does "installing a package" mean?


From: Kevin W . van Rooijen
Subject: Re: What exactly does "installing a package" mean?
Date: Mon, 26 Oct 2015 22:31:50 +0100
User-agent: mu4e 0.9.15; emacs 24.5.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Marcin,

Installing a package /usually/ refers to installing a package through
the Emacs built in package manager.
http://www.emacswiki.org/emacs/InstallingPackages

These packages get installed in the 'package-user-dir', you yourself
should not have to manually modify any contents in that directory.
If you want to try and clean up your package management I suggest
taking a look at
use-package https://github.com/jwiegley/use-package
and Melpa https://github.com/milkypostman/melpa

Installing a package manually would mean adding the path to your package
to our load-path, and then require it manually. Though looking into
Emacs' built-in package manager is worth the effort.

So instead of removing them from your package-user-dir manually, try adding the
packages you need through use-package and let your Emacs configurations
handle it for you.

Marcin Borkowski writes:

> Hi all,
>
> do I get it correctly that "installing a package" means that Emacs
> creates a certain subdirectory of `package-user-dir' and puts the
> relevant file(s) there - and that's it?
>
> In particular, is deleting a subdirectory of `package-user-dir' enough
> to uninstall the package?  Is moving its subdirectory somewhere else,
> restarting Emacs, then copying it back again and restarting again
> equivalent to uninstalling and then installing again?
>
> The reason I'm asking is that I'd like to get rid of the mess I managed
> to introduce in `package-user-dir', but OTOH this mess is working, and
> I don't want to break something accidentally, or rather, I want to have
> a simple way to rollback any changes.
>
> TIA,


- --

Kevin W. van Rooijen
@attichacker
PGP 4096R: A0A9 0D06 A754 6D4E EAD4  E6B8 A006 B0B1 CD62 28AB
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJWLpvGAAoJEHBsdeXUwRWBrbkH/i+iDB+3LxiwPsFnO5Ist30u
CO7emNjxsAO+Txi/F578s5KBE9KKQ/bwXuHG6yk5BQFqlwBchPMg/3Iw+NxF24/2
SUU1xgpIdP9l8CB2zsP8Bs69SW+dzI3mtbe7GZAr/aa8xmO7IGTY9C1DZPQ80lcB
ay/rDwTT+ZMUFwb8TUA+BBj5xN9wx/KtarEGFrMju+MR2FhkaKwvLCOY6QDnuHzO
iw7BjaJh2KkxwWEKG5WOHFSkhm0zv+5wHR+1I6ZQgEautUjhSXK0mGO79PuFhvB1
cL3ezqZvGLilRs/jYiCIzKd/LDIIQ82HVz/aqgc32eAQSX6WUXvm+bB8kg96+1U=
=0tIe
-----END PGP SIGNATURE-----



reply via email to

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