emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: How to install latest Org-mode?
Date: Tue, 14 May 2013 20:52:06 +0200	[thread overview]
Message-ID: <87bo8dpf6x.fsf@Rainer.invalid> (raw)
In-Reply-To: 20130514195220.74bf472a@aga-netbook

Marcin Borkowski writes:
> * I'd like the install method to be relatively quick - less than an
>   hour, say, and I'd prefer my Org-mode to be relatively easy to
>   upgrade later.

I'd suggest using ELPA, but if you rather want to go the Git route, read
on.

> I'm leaning towards cloning the git repo and building Org-mode from
> sources.  From http://orgmode.org/manual/Installation.html I can see
> that what I should do is more or less
>
> cd ~/src/
> git clone git://orgmode.org/org-mode.git
> make autoloads
> echo (add-to-list 'load-path "~/path/to/orgdir/lisp") >> ~/.emacs
> make
> make doc
> make config
> make install
>
> Is that right?

No. The most painless setup would be:

$ cd ~/src/
$ git clone git://orgmode.org/org-mode.git
$ git checkout maint
$ make config

Check if the installation paths are pointing to where you want them (it
should work out-of-the box, but Debian based systems might prefer to
have some stuff in different directories), maybe adapt them in local.mk
and edit ~/.emacs to require org-loaddefs.  From then on always do

$ make up2

to pull the latest version, compile and test it and only install if the
test is good.

> Is using the archive or the package system a better
> idea in my described case?  What does upgrading Org-from-git-repo look
> like?

See above.

Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

  reply	other threads:[~2013-05-14 18:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-14 17:52 How to install latest Org-mode? Marcin Borkowski
2013-05-14 18:52 ` Achim Gratz [this message]
2013-05-14 20:26   ` Marcin Borkowski
2013-05-14 20:57     ` Achim Gratz
2013-05-14 21:15       ` Marcin Borkowski
2013-05-14 21:38 ` John Hendy
2013-05-14 22:15   ` Marcin Borkowski
2013-05-14 22:30     ` John Hendy
2013-05-14 22:37       ` Marcin Borkowski

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87bo8dpf6x.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).