all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin W. van Rooijen <kevin.van.rooijen@attichacker.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: What exactly does "installing a package" mean?
Date: Mon, 26 Oct 2015 22:31:50 +0100	[thread overview]
Message-ID: <87d1w15nax.fsf@attichacker.com> (raw)
In-Reply-To: <87bnbll6b9.fsf@mbork.pl>

-----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	other threads:[~2015-10-26 21:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 20:32 What exactly does "installing a package" mean? Marcin Borkowski
2015-10-26 21:31 ` Kevin W. van Rooijen [this message]
2015-10-26 23:42   ` Marcin Borkowski
2015-10-27  0:11     ` Emanuel Berg
2015-10-27  0:31       ` Kevin W. van Rooijen
     [not found]     ` <mailman.1106.1445904123.7904.help-gnu-emacs@gnu.org>
2015-10-27 14:28       ` Joost Kremers
2015-10-28  1:58         ` Emanuel Berg
2015-10-27  1:11 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1w15nax.fsf@attichacker.com \
    --to=kevin.van.rooijen@attichacker.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.