MoinMoin prepackaged for Distribution

To make the installation of MoinMoin even easier it should be packaged for different distributions/operation systems. As we use dist utils several package formats are quite trivial. Nevertheless is it difficult to build packages for a large number of platforms. This page describes current status of diverse moin packages for diverse OSes.

DesktopEdition

This is a special Edition of MoinMoin. It works on every platform and out of the box. No webserver is required. This is the best way of just trying MoinMoin out or use MoinMoin as PersonalWiki.

See DesktopEdition

Linux Distributions

Arch Linux

MoinMoin can be installed from the [community] repositories.

You can also package it yourself using the following PKGBUILD with makepkg, then pacman -U.

# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Samuel Mathieson <smathieson@gmail.com>

pkgname=moinmoin
_xpkgname=moin
pkgver=1.9.5
pkgrel=1
pkgdesc="A python wiki clone"
arch=(any)
url="http://moinmo.in/"
license=('GPL')
depends=('python2')
conflicts=('moin')
source=(http://static.moinmo.in/files/moin-$pkgver.tar.gz)
md5sums=('adfa15e3e37cf26b4b014f209959e9d9')

build() {
  cd $srcdir/${_xpkgname}-$pkgver

  # python2 fix
  for file in $(find . -name '*.py' -print) wiki/server/*; do
    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
  done

  python2 setup.py build
  python2 setup.py install --root=$pkgdir --record=INSTALLED_FILES
}


OpenSUSE

Package rename

As of May 2016, the openSUSE package of MoinMoin has been renamed from python-moin to moinmoin-wiki.

In Tumbleweed, the rename is already in effect, and it will also apply to future distribution releases.

For existing openSUSE releases (i.e., 13.2, and Leap 42.1), the old package name will remain in use.

MoinMoin is available from the official repositories for openSUSE 13.2 and later. The package configures MoinMoin to serve wiki pages via the Apache web server. To install it, run:

zypper install moinmoin-wiki

Once the package (and its dependencies) have been installed, follow the instructions in /usr/share/doc/packages/moinmoin-wiki/README.SUSE to complete the setup of MoinMoin. The README file also contains some useful information about the package itself.

For older releases, a package may be available from devel:languages:python/moinmoin-wiki, the package devel project on OBS (openSUSE Build Service). For example, to install MoinMoin on openSUSE 13.1, first add the corresponding repository to zypper:

zypper addrepo -f http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_13.1/ dlp

then install the package as described above.

For Evergreen, and retired openSUSE releases, you can try to build an RPM yourself using a source RPM from OBS. For example:

wget http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Tumbleweed/src/moinmoin-wiki-1.9.8-7.1.src.rpm
rpmbuild --rebuild moinmoin-wiki-1.9.8-7.1.src.rpm

(NB: The exact version numbers may vary - browse the repository to find the current ones.)

Failing that, you could try another set of old build instructions.


Other Linuxes

Mac OS X

Basically you install on Mac OS X using the ApacheOnUnix instructions. The commands on the INSTALL.html are the same except the user and group of the web server, and how you run chown. I installed moin like that many times on 10.2 and 10.3 without any problem.

To make it easier to those new to the command line, I update the Mac OS X instructions on MoinMaster. If you have any problems, check first HelpOnInstalling/ApacheOnMacOsx.

I may create an easier installer if I have time for this. -- NirSoffer 2004-08-06 16:41:45

FreeBSD

FreeBSD is "father" of most packaging systems in world of unices. System for compiling and (or)installing of all programs is called "Ports and Packages Collection" and starting point on Web for learning about it is: FreeBSD Ports . Installing one program is easy, here an example for MoinMoin:

#cd /usr/ports/www/moinmoin/
#make install clean

That's it. If You are behind proxy or firewall, set first variables http_proxy and ftp_proxy somewhat like this, for example:

#export http_proxy=http://your.proxy:port
#export ftp_proxy=http://your.proxy:port

Dir /usr/ports is kind of skeleton for all programms (which are not in base FreeBSD release) with appropriate makefiles, dependency lists, specific FreeBSD patches and basic info about them. After source code has been compiled and package made out if it (make), installed in its appropriate directories (install), and all clutter deleted (clean), you can mostly use it at once.

Ok, then let's see what the status of MoinMoin port for FreeBSD:

OpenBSD

Since OpenBSD 3.7, there is a moinmoin port under the www category. The ports system is similar to FreeBSD (actually borrowed, but now goes its own ways). See the OpenBSD ports & package collection page for more information.

Before turning into a port, moinmoin was used on OpenBSD releases 3.0 thru 3.5 and it worked flawlessly.

Solaris

tjyang is customizing moin-1.3.3 package sources created by TWW Inc. (http://www.thewrittenword.com ). The moin-1.3.3 was created as part of support contract between TWW and tjyang's workplace.

The binary package and its package source will be released back to moinmoin community in return for great moinmoin wiki engine and its supportive commnunity. Special thanks to AlexanderSchremmer for his support on IRC #moin channel. Currently the package is not ready for release.

The customization includes followings.

Other OSes

Feel free to add your package instructions/scripts here.

If you don't find a package ...

... then simply use the tarball from MoinMoinDownload, it is usually fresher than most packages you get and fits our installation instructions better. Don't be afraid: as python is interpreted, you don't need to compile it.

MoinMoin: MoinMoinPackages (last edited 2016-05-02 18:10:27 by OlavReinert)