Binaries and Build Scripts

From RKWard
Revision as of 21:00, 20 July 2009 by M-eik (Talk | contribs)

Jump to: navigation, search


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 ./

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

i386 binary for debian lenny

This package is unlikely to work correctly on any other system. If you are not using debian lenny, including R from debian lenny, try the "deb-src"-approach. detailed above, instead.

# backport of the most recent releases to debian stable (currently i386 only)
deb stable/

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

Unofficial Ubuntu repositories

Meik Michalke has diligently compiled RKWard under a lot of scenarios. They are built from the sources of the latest release (including beta and pre-releases, when they were announced for public testing). Currently, packages for Hardy and Intrepid are all 32bit versions (i386). For Jaunty, 64bit versions (amd64) are available as well as i386.

To stay up to date, just add one of the repositories from the list below to your sources.list. We recommend to use/create the file /etc/apt/sources.list.d/rkward.list for this purpose. The package you need to install afterwards is simply called "rkward", for example:

sudo echo "deb jaunty main" > /etc/apt/sources.list.d/rkward.list
sudo aptitude update
sudo aptitude install rkward

Pick the one repository that holds the RKWard package you need:

KDE4 versions:

  • RKWard compiled against the official Ubuntu R. To use these pre-compiled binaries use the following repositories (add them to /etc/apt/sources.list.d/rkward.list):
# use only one of these:
deb jaunty main
# or
deb intrepid main
# or
deb hardy main
  • RKWard compiled against the latest CRAN's R for Ubuntu. Note that these are generally newer versions of R than those released officially with Ubuntu. To use these pre-compiled binaries use the following repositories (add them to /etc/apt/sources.list.d/rkward_cran.list):
# use only one of these:
deb jaunty main
# or
deb intrepid main
# or
deb hardy main

KDE3 versions:

  • Compiled against the official version of R released with Ubuntu 8.04 (hardy)
deb hardy main
  • Compiled against the latest CRAN version of R released for Ubuntu 8.04 (hardy)
deb hardy main


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

This appears to be the central place for information about the rkward package in Gentoo:


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


Detlef Steuer has prepared packages for OpenSUSE. Further information and one-click installation links are at: .

Currently, only the KDE 3 version (latest, 0.4.9b) is packaged.


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.


A package is available here:

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



RKWard 0.4.9b slackbuild is located at

N.B.: please use the R build script available at in case your installation of R doesn't include the R shared library, for it's required by RKWard.

Other releases

Although not tested, the above slackbuild may also work on older versions of Slackware. Nevertheless, binary packages for 11.0 and 12.1 can be found at LinuxPackages.


There's a slackbuild for version 0.4.9b at Slamd64Builds (KDE3).


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):


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.

Personal tools