Binaries and Build Scripts

From RKWard
Revision as of 08:45, 31 May 2011 by Tfry (Talk | contribs)

Jump to: navigation, search

Contents

Purpose of this page

To provide information on the various distributions that have already included RKWard or for which simple build instructions / scripts exist. Obviously, packages do not exist for all common distributions, yet, and some packages are outdated. Instructions on building from source are available: Building RKWard From Source

Debian & derivatives

RKWard is now included in the official debian distribution. Due to the nature of the debian release cycle, inclusion in the testing and stable archives may take a lot of time, and even debian unstable may not include new releases, immediately.

More up to date packages are available. The following apt-lines (add to /etc/apt/sources.list) may be of interest to you:

deb-src for all systems

# the latest source packages for all debian distributions
deb-src http://rkward.sourceforge.net/debian ./

With the above line in /etc/apt/sources.list , the following series of commands should be enough to build and install your own binary .deb. This should work on all .deb-based systems, including Ubuntu (if it does not, let us know):

# update package cache
sudo apt-get update
# fetch build dependencies
sudo apt-get build-dep rkward
# fetch and build sources
apt-get source -b rkward
# install the package
sudo dpkg -i rkward-[VERSION]-[ARCH].deb

Official repositories

Using the official repositories on Debian based systems (such as Ubuntu), RKWard can be easily installed by

$ apt-get install rkward

Currently available versions on the official repositories: Debian and Ubuntu

Inofficial Ubuntu repositories

RKWard is available for Ubuntu in a variety of versions from the Launchpad project page:

Gentoo

RKWard is masked testing on x86 and amd64 in the official portage tree. To install, add the keyword to your package.keywords and pull it in using emerge:

# echo "sci-mathematics/rkward" >> /etc/portage/package.keywords
# emerge -av rkward

In most cases you are done at this point and ready to use RKWard. As an alternative you can also build RKWard from SVN, but be warned that not every snapshot is guaranteed to build. To build from the latest SVN you can put this ebuild into your local portage overlay (e.g. /usr/local/portage/sci-mathematics/rkward-9999.ebuild):

# Copyright 1999-2009 Gentoo Foundation                                                            
# Distributed under the terms of the GNU General Public License v2                                 
# $Header: $     


EAPI="2"

inherit kde4-base

DESCRIPTION="An IDE/GUI for the R-project"
HOMEPAGE="http://rkward.sourceforge.net/"
ESVN_REPO_URI="http://rkward.svn.sourceforge.net/svnroot/rkward/trunk/rkward"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND=">=dev-lang/R-2.7.0
        dev-lang/php[cli]"
RDEPEND="${DEPEND}
        !<=sci-mathematics/rkward-0.5.0b"

src_install() {
        kde4-base_src_install
        # avoid file collisions
        rm -f "${D}"/usr/$(get_libdir)/R/library/R.css
        rm -f "${D}"/usr/share/apps/katepart/syntax/r.xml
}

Then just use

# emerge -av rkward

to check out subversion and built RKWard from the latest sources.


This appears to be the central place for information about the rkward package in Gentoo: http://packages.gentoo.org/package/sci-mathematics/rkward

FreeBSD

The FreeBSD port is typically updated very quickly for new releases of RKWard, and hence almost always up to date.

Core instructions provided:

  • To install the port:
cd /usr/ports/math/rkward-kde4/ && make install clean
  • To add the package:
pkg_add -r rkward-kde4

SUSE / openSUSE

Detlef Steuer maintains packages for SUSE / openSUSE at https://build.opensuse.org/package/show?package=rkward&project=devel:languages:R:supplement.

Fedora

Generic installation:

$ yum install rkward

You can also find the build (of all versions of RKWard) at koji and other information regarding the package at pkgdb.

ArchLinux

A package is available here: http://aur.archlinux.org/packages/rkward/

This is at version 0.4.7a at the time of this writing.

Slackware

Please use the R build script available at SlackBuilds.org in case your installation of R doesn't include the R shared library, for it's required by RKWard.

13.1

RKWard 0.5.3 slackbuild is located at SlackBuilds.org.

13.0

RKWard 0.5.3 slackbuild is located at SlackBuilds.org.

Other releases

For Slackware 12.2 and older (KDE 3) there is a 0.4.9b slackbuild, but note that this one has only been tested on 12.2.

Pardus

A package is available here. At 0.4.7 at the time of this writing, i.e. up to date (and generally updated fairly quickly): http://svn.pardus.org.tr/pardus/devel/desktop/kde/rkward/

Mandriva

The current released package for Mandriva seems to be at 0.4.6:

Source rpm for 2007.1

Seek the latest packages and binaries with rpmfind.

Somebody with knowledge on Mandriva, please correct / add information, on where binary packages can be found. And esp. whether there is a dynamic link always pointing to the most recent files.

Windows

See RKWard on Windows for details.

Mac OS

See RKWard on Mac for details.

Personal tools
Namespaces

Variants
Actions
RKWard
Documentation
wiki
Toolbox
Affiliations