Skip to content
Prev 259 / 919 Next

Installing texlive dependencies

Hi Petar

I can only guess that the dependencies for R rpm's aren't quite
specified right for texlive 2011
but if the appropriate texlive 2011 packages are already installed
then there should be no problems

It is difficult to guess exactly what you need on your system but
here's what I have on mine. Collections pull in the actual packages.
Unfortunately I can't remember the exact details but here's what I
think I did

The repo file is

/etc/yum.repos.d/texlive-release.repo
===========================
[texlive]
name=TeX Live
baseurl=http://jnovy.fedorapeople.org/texlive/2011/packages.fc16/
enabled=1
metadata_expire=1d
gpgcheck=0
=======================

which for Fedora 16 you can install with

rpm -i http://jnovy.fedorapeople.org/texlive/2011/packages.fc16/texlive-release.noarch.rpm

see http://fedoraproject.org/wiki/Features/TeXLive for details of how
to upgrade/install etc - the essential line is

yum clean all

otherwise things don't update properly

and so this is probably
$ yum clean all
$ yum update   (assuming no texlive 2007 on your system although this
is supposed to work to upgrade to texlive 2011 I'm not quite so sure)
$ yum install texlive-collection-latex texlive-collection-latexextra
etc etc - the texlive collections below (or just keep adding until R
installs)
$ yum install R R-devel etc


[root at clearwell ~]# yum list all texlive*collection*
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.aarnet.edu.au
 * rpmfusion-free: ucmirror.canterbury.ac.nz
 * rpmfusion-free-updates: ucmirror.canterbury.ac.nz
 * rpmfusion-nonfree: ucmirror.canterbury.ac.nz
 * rpmfusion-nonfree-updates: ucmirror.canterbury.ac.nz
 * updates: mirror.aarnet.edu.au
Installed Packages
texlive-collection-basic.noarch         2011-5.20120115_r25109.svn20730 @texlive
texlive-collection-bibtexextra.noarch   2011-5.20120115_r25109.svn24610 @texlive
texlive-collection-binextra.noarch      2011-5.20120115_r25109.svn25012 @texlive
texlive-collection-documentation-base.noarch
                                        2011-5.20120115_r25109.svn17091 @texlive
texlive-collection-fontsextra.noarch    2011-5.20120115_r25109.svn25226 @texlive
texlive-collection-fontsrecommended.noarch
                                        2011-5.20120115_r25109.svn22193 @texlive
texlive-collection-fontutils.noarch     2011-5.20120115_r25109.svn24759 @texlive
texlive-collection-formatsextra.noarch  2011-5.20120115_r25109.svn21879 @texlive
texlive-collection-genericrecommended.noarch
                                        2011-5.20120115_r25109.svn19849 @texlive
texlive-collection-htmlxml.noarch       2011-5.20120115_r25109.svn13822 @texlive
texlive-collection-latex.noarch         2011-5.20120115_r25109.svn25030 @texlive
texlive-collection-latexextra.noarch    2011-5.20120115_r25109.svn25184 @texlive
texlive-collection-latexrecommended.noarch
                                        2011-5.20120115_r25109.svn25030 @texlive
texlive-collection-metapost.noarch      2011-5.20120115_r25109.svn23252 @texlive
texlive-collection-music.noarch         2011-5.20120115_r25109.svn25121 @texlive
texlive-collection-pictures.noarch      2011-5.20120115_r25109.svn25031 @texlive
texlive-collection-pstricks.noarch      2011-5.20120115_r25109.svn25142 @texlive
texlive-collection-publishers.noarch    2011-5.20120115_r25109.svn24685 @texlive
texlive-collection-texinfo.noarch       2011-5.20120115_r25109.svn15216 @texlive
texlive-collection-xetex.noarch         2011-5.20120115_r25109.svn24140 @texlive
Available Packages
DELETED

Once these were installed then install R

[root at clearwell ~]# yum list all R-*
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.optus.net
 * rpmfusion-free: ucmirror.canterbury.ac.nz
 * rpmfusion-free-updates: ucmirror.canterbury.ac.nz
 * rpmfusion-nonfree: ucmirror.canterbury.ac.nz
 * rpmfusion-nonfree-updates: ucmirror.canterbury.ac.nz
 * updates: mirror.optus.net
Installed Packages
R.x86_64                                     2.15.0-1.fc16             installed
R-DynDoc.noarch                              1.32.0-2.fc16             @updates
R-RCurl.x86_64                               1.7.0-2.fc16              @updates
R-RODBC.x86_64                               1.3.3-1.fc16              @updates
R-RUnit.noarch                               0.4.26-3.fc16             @updates
R-XML.x86_64                                 3.4.3-2.fc16              @updates
R-bitops.x86_64                              1.0.4.1-6.fc16            @updates
R-car.noarch                                 2.0-9.fc15                installed
R-core.x86_64                                2.15.0-1.fc16             @updates
R-devel.x86_64                               2.15.0-1.fc16             installed
R-java.x86_64                                2.15.0-1.fc16             @updates
R-java-devel.x86_64                          2.15.0-1.fc16             @updates
R-tkWidgets.noarch                           1.32.0-2.fc16             @updates
R-widgetTools.noarch                         1.32.0-2.fc16             @updates
R-xtable.noarch                              1.6.0-1.fc16              @updates
R-zoo.x86_64                                 1.7.6-2.fc16              @updates
Available Packages
DELETED

I've found that things like pdflatex / sweave etc run fine if I use
something like

R CMD Sweave ....
R CMD pdflatex ....  etc but I mainly use 'R CMD rubber' which does
all the rerunning of pdflatex and bibtex as required

so I don't worry about putting Sweave.sty in the right place and I
tend to use Makefiles anyway as I'm too lazy to work out what I need
each time

Hope this helps - but it does take quite a long time and lots of downloading

Good luck!

Cheers
peter
On Thu, Apr 26, 2012 at 6:01 PM, Petar Milin <pmilin at ff.uns.ac.rs> wrote: