Binaries and Build Scripts

From RKWard
(Difference between revisions)
Jump to: navigation, search
(Unofficial Ubuntu repositories: URL update (configured a subdomain))
m (Gentoo: update repo info, can someby check this?)
 
(14 intermediate revisions by 3 users not shown)
Line 12: Line 12:
  
 
  # the latest source packages for all debian distributions
 
  # the latest source packages for all debian distributions
  deb-src http://rkward.sourceforge.net/debian ./
+
  deb-src https://files.kde.org/rkward/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, [[Contact|let us know]]):
 
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, [[Contact|let us know]]):
Line 22: Line 22:
 
  # fetch and build sources
 
  # fetch and build sources
 
  apt-get source -b rkward
 
  apt-get source -b rkward
  # install the package
+
  sudo dpkg -i rkward-[VERSION]-[ARCH].deb
+
  # finally, install the resulting package
 
+
  # its name should look something like "rkward_[VERSION]_[ARCH].deb", e.g.:
=== i386 binary for debian lenny ===
+
  sudo dpkg -i rkward_0.6.5-1_amd64.deb
 
+
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 http://rkward.sourceforge.net/debian stable/
+
  
 
=== Official repositories ===
 
=== Official repositories ===
Line 41: Line 36:
 
[http://packages.ubuntu.com/search?keywords=rkward&searchon=names&exact=1&suite=all&section=all Ubuntu]
 
[http://packages.ubuntu.com/search?keywords=rkward&searchon=names&exact=1&suite=all&section=all Ubuntu]
  
=== Unofficial Ubuntu repositories ===
+
=== Inofficial 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 and Karmic, 64bit versions (amd64) are available as well as i386.
+
RKWard is available for Ubuntu in a variety of versions from the [https://launchpad.net/rkward Launchpad project page]:
  
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:
+
* If you are using the version R shipped with Ubuntu by default:
sudo echo "deb <nowiki>http://deb.reaktanz.de/rkward</nowiki> karmic main" > /etc/apt/sources.list.d/rkward.list
+
** The latest stable release of RKWard: https://launchpad.net/~rkward-devel/+archive/rkward-stable
sudo aptitude update
+
** Testing snapshots: https://launchpad.net/~rkward-devel/+archive/rkward-devel
sudo aptitude install rkward
+
** Daily development snapshots: https://launchpad.net/~rkward-devel/+archive/rkward-dailys
If you get a complaint that the GnuPG key DDCDA632 is unknown, you can fix that by adding it to your apt-key ring:
+
* If you are using the CRAN version of R:
gpg --fetch-keys <nowiki>http://deb.reaktanz.de/gnupg_pub_key.asc</nowiki>
+
** The latest stable release of RKWard: https://launchpad.net/~rkward-devel/+archive/rkward-stable-cran
gpg --export --armor DDCDA632 | sudo apt-key add -
+
** Testing snapshots: https://launchpad.net/~rkward-devel/+archive/rkward-devel-cran
 +
** Daily development snapshots: https://launchpad.net/~rkward-devel/+archive/rkward-dailys-cran
  
Pick the one repository that holds the RKWard package you need:
+
== Gentoo ==
 +
This appears to be the central place for information about the rkward package in Gentoo: http://packages.gentoo.org/package/sci-mathematics/rkward
  
==== KDE4 versions: ====
+
Note that the most recent release of RKWard is often 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:
 
+
* RKWard compiled against the official Ubuntu [http://packages.ubuntu.com/search?keywords=r-base-core&searchon=names&exact=1&suite=all&section=all 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 <nowiki>http://deb.reaktanz.de/rkward</nowiki> karmic main
+
# '''or'''
+
deb <nowiki>http://deb.reaktanz.de/rkward</nowiki> jaunty main
+
# '''or'''
+
deb <nowiki>http://deb.reaktanz.de/rkward</nowiki> intrepid main
+
 
+
'''Notice''': Support for KDE4 versions in Hardy (8.04) has ended with RKWard 0.5.1-pre2 [http://www.mail-archive.com/rkward-devel@lists.sourceforge.net/msg00387.html due to the old version of R]. If you want to try newer versions of RKWard you need to upgrade to the latest CRAN R first, see below:
+
 
+
* RKWard compiled against the latest [http://cran.r-project.org/bin/linux/ubuntu/ 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 <nowiki>http://deb.reaktanz.de/rkward-cran</nowiki> karmic main
+
# '''or'''
+
deb <nowiki>http://deb.reaktanz.de/rkward-cran</nowiki> jaunty main
+
# '''or'''
+
deb <nowiki>http://deb.reaktanz.de/rkward-cran</nowiki> intrepid main
+
# '''or'''
+
deb <nowiki>http://deb.reaktanz.de/rkward-cran</nowiki> hardy main
+
 
+
==== KDE3 versions: ====
+
* Compiled against the official version of R released with Ubuntu 8.04 (hardy)
+
deb <nowiki>http://deb.reaktanz.de/rkward-kde3</nowiki> hardy main
+
 
+
* Compiled against the latest CRAN version of R released for Ubuntu 8.04 (hardy)
+
deb <nowiki>http://deb.reaktanz.de/rkward-kde3-cran</nowiki> hardy main
+
 
+
== 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
 
  # echo "sci-mathematics/rkward" >> /etc/portage/package.keywords
Line 102: Line 69:
  
 
DESCRIPTION="An IDE/GUI for the R-project"
 
DESCRIPTION="An IDE/GUI for the R-project"
HOMEPAGE="http://rkward.sourceforge.net/"
+
HOMEPAGE="https://rkward.kde.org/"
ESVN_REPO_URI="http://rkward.svn.sourceforge.net/svnroot/rkward/trunk/rkward"
+
ESVN_REPO_URI="git://anongit.kde.org/rekonq/rkward"
 +
GIT_ECLASS="git"
  
 
LICENSE="GPL-2"
 
LICENSE="GPL-2"
Line 124: Line 92:
 
Then just use  
 
Then just use  
 
  # emerge -av rkward
 
  # emerge -av rkward
to check out subversion and built RKWard from the latest sources.
+
to check out git 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 ==
 
== FreeBSD ==
 
+
* Information on the FreeBSD port of RKWard is here: http://www.freshports.org/math/rkward-kde4/
* Information on the FreeBSD port for KDE3 is here: http://www.freshports.org/math/rkward/ (no longer maintained?)
+
* Information on the FreeBSD port for KDE4 is here: http://www.freshports.org/math/rkward-kde4/
+
  
 
The FreeBSD port is typically updated very quickly for new releases of RKWard, and hence almost always up to date.  
 
The FreeBSD port is typically updated very quickly for new releases of RKWard, and hence almost always up to date.  
Line 144: Line 107:
 
== SUSE / openSUSE ==
 
== SUSE / openSUSE ==
  
Detlef Steuer has prepared packages for OpenSUSE. Further information and one-click installation links are at: http://fawn.hsu-hh.de/~steuer/rkward.html .
+
Starting with openSUSE 12.3, RKWard will be included in the official distribution. To recommended way to get RKWard binaries for your installation is using the package search: http://software.opensuse.org/search/find .
  
Currently, only the KDE 3 version (latest, 0.4.9b) is packaged.
+
The SUSE binaries are packaged by Detlef Steuer, and he has a lot more useful links and information, at: http://fawn.hsu-hh.de/~steuer/?Dr._Detlef_Steuer:Projekte%2FProjects:Rkward_%28openSUSE%29
 +
 
 +
''Sometimes'' development snapshots get published at https://build.opensuse.org/project/show?project=home:tfry-suse:rkward-devel , but these are often ''less'' recent than the above binaries.
  
 
== Fedora ==
 
== Fedora ==
Line 157: Line 122:
 
== ArchLinux ==
 
== ArchLinux ==
  
A package is available here: http://aur.archlinux.org/packages/rkward/
+
A package is available here: https://aur.archlinux.org/packages.php?ID=4277
 
+
This is at version 0.4.7a at the time of this writing.
+
  
 
== Slackware ==
 
== Slackware ==
  
=== 13.0 ===
+
Please use the R build script available at SlackBuilds.org in case your installation of R doesn't include the R shared library, since it's required by RKWard.
  
RKWard 0.5.1 slackbuild is located at [http://slackbuilds.org/repository/13.0/academic/rkward/ SlackBuilds.org].
+
Slackware builds of RKWard seem not to be maintained, very actively, and are often outdated. Search for
 +
"rkward" on http://slackbuilds.org/ . You may want to try compiling with the SlackBuild scripts from earlier versions of RKWard, or earlier Slackware releases.
  
N.B.: 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 [http://slackbuilds.org/repository/13.1/academic/rkward/ SlackBuilds.org].
  
=== Other releases ===
+
'''13.0''': RKWard 0.5.3 slackbuild is located at [http://slackbuilds.org/repository/13.0/academic/rkward/ SlackBuilds.org].
 
+
For Slackware 12.2 and older (KDE 3) there is a [http://slackbuilds.org/repository/12.2/academic/rkward/ 0.4.9b slackbuild], but note that this one has only been tested on 12.2.
+
  
 
== Pardus ==
 
== 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/
+
A package is available here: http://svn.pardus.org.tr/pardus/2011/devel/science/mathematics/rkward/ . This is typically udpated very quickly after new releases.
  
 
== Mandriva ==
 
== Mandriva ==
The current released package for Mandriva seems to be at 0.4.6:
 
  
[ftp://fr2.rpmfind.net/linux/MandrakeCooker/2007.1/SRPMS/contrib/release/rkward-0.4.6-2mdv2007.1.src.rpm Source rpm for 2007.1]
+
The Mandriva packaging often lags a bit behind. We recommend searching rpmfind for the most recent available version:
 
+
http://www.rpmfind.net/linux/rpm2html/search.php?query=rkward&submit=Search+...&system=Mandriva&arch=
Seek the latest packages and binaries with [http://www.rpmfind.net/linux/rpm2html/search.php?query=rkward&submit=Search+... 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.
 
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.
Line 188: Line 148:
 
== Windows ==
 
== Windows ==
 
See [[RKWard on Windows]] for details.
 
See [[RKWard on Windows]] for details.
 +
 +
== Mac OS ==
 +
See [[RKWard on Mac]] for details.

Latest revision as of 18:10, 5 April 2016

Contents

[edit] 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

[edit] 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:

[edit] deb-src for all systems

# the latest source packages for all debian distributions
deb-src https://files.kde.org/rkward/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

# finally, install the resulting package
# its name should look something like "rkward_[VERSION]_[ARCH].deb", e.g.:
sudo dpkg -i rkward_0.6.5-1_amd64.deb

[edit] 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

[edit] Inofficial Ubuntu repositories

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

[edit] Gentoo

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

Note that the most recent release of RKWard is often 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="https://rkward.kde.org/"
ESVN_REPO_URI="git://anongit.kde.org/rekonq/rkward"
GIT_ECLASS="git"

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 git and built RKWard from the latest sources.

[edit] 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

[edit] SUSE / openSUSE

Starting with openSUSE 12.3, RKWard will be included in the official distribution. To recommended way to get RKWard binaries for your installation is using the package search: http://software.opensuse.org/search/find .

The SUSE binaries are packaged by Detlef Steuer, and he has a lot more useful links and information, at: http://fawn.hsu-hh.de/~steuer/?Dr._Detlef_Steuer:Projekte%2FProjects:Rkward_%28openSUSE%29

Sometimes development snapshots get published at https://build.opensuse.org/project/show?project=home:tfry-suse:rkward-devel , but these are often less recent than the above binaries.

[edit] 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.

[edit] ArchLinux

A package is available here: https://aur.archlinux.org/packages.php?ID=4277

[edit] Slackware

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

Slackware builds of RKWard seem not to be maintained, very actively, and are often outdated. Search for "rkward" on http://slackbuilds.org/ . You may want to try compiling with the SlackBuild scripts from earlier versions of RKWard, or earlier Slackware releases.

13.1: RKWard 0.5.3 slackbuild is located at SlackBuilds.org.

13.0: RKWard 0.5.3 slackbuild is located at SlackBuilds.org.

[edit] Pardus

A package is available here: http://svn.pardus.org.tr/pardus/2011/devel/science/mathematics/rkward/ . This is typically udpated very quickly after new releases.

[edit] Mandriva

The Mandriva packaging often lags a bit behind. We recommend searching rpmfind for the most recent available version: http://www.rpmfind.net/linux/rpm2html/search.php?query=rkward&submit=Search+...&system=Mandriva&arch=

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.

[edit] Windows

See RKWard on Windows for details.

[edit] Mac OS

See RKWard on Mac for details.

Personal tools
Namespaces

Variants
Actions
RKWard
Documentation
wiki
Toolbox
Affiliations