all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: What exactly does "installing a package" mean?
Date: Wed, 28 Oct 2015 02:58:43 +0100	[thread overview]
Message-ID: <87fv0vah4c.fsf@debian.uxu> (raw)
In-Reply-To: d99g0nF23boU1@mid.individual.net

Joost Kremers <joost.m.kremers@gmail.com> writes:

> Well, that's a bit of a naive statement. Of course
> it's all files and directories, the question is,
> *which* files and directories. If Emacs were to keep
> a list of installed packages and would save this
> list to, say, `~/.emacs.d`, then it would still be
> "all files and directories", but as an Emacs user,
> you might still run into trouble if you delete
> a package from `package-user-dir` but do not update
> the file containing the list of installed packages.
>
> For example, if you remove the files of a package
> xyz on a Debian(-based) system, dpkg will still
> think xyz installed, because its own database still
> says it is.

In general, there are many reasons to use a package
manager, notably reduced complexity and convenience
(those two are perhaps the same thing).

In general, there are a couple of reasons *not* to use
a package manager, notably (eventually) better
understanding and control (those two are perhaps the
same thing).

Talking specifically, on a Debian system or fork, I'd
strongly advice against not using apt-get or aptitude,
because that works so well and the strength of Debian
is (except for its Unix architecture which it shares
with all Linux distros) - the strength of Debian is
the immense and well-maintained software repositories,
exactly those which you browse and extract software
from with aptitude!

Talking specifically, on an Emacs system, I mean in
Emacs, the package situation is much less complicated
than on a Debian system. There is inline documentation
instead of separate manpages and info-files. There is
a userspace directory instead of the plethora of
directories holding binaries on a Unix system. Also,
Emacs relies to a much lesser degree on package
software than does a Debian system, which would be
crippled without the dear repos next door.

As, in Emacs, the packages are just a bunch of Elisp
files, while using a package manager is as well, if
you want to do stuff manually with `provide',
`require', `load-path', `batch-byte-compile' - this is
fine as well! (You can even do both.)

Mixing it up (package manager and manual edits) for
the same package/source file(s) tho is the one thing
I wouldn't recommend.

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




  reply	other threads:[~2015-10-28  1:58 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
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 [this message]
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=87fv0vah4c.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /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.