I am running version 3.6 of R on CentOS (CentOS Linux release 7.9.2009 (Core)). Is there a simple way to upgrade R to the latest version and upgrade all the installed libraries?
EPEL repository on my machine is epel-release-7-13.noarch and by default, it installs version 3.6 of R.
I was referring to the following post -https://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r but the package installr is only available for Windows.
There is another post (How to upgrade R in ubuntu?) that describes how to upgrade R on Ubuntu, however some of these commands do not work on CentOS.
I am sure there must be a painless way to upgrade R in CentOS.
I think this post may help you:
How can I install the newest version of R (currently 4.0.0) on CentOS?
At this point, I'm sure you've solved the problem, but perhaps this will help others.
Official centOS instructions are located here:
https://cran.r-project.org/bin/linux/fedora
With centOS, there's not an easy solution, but this may be the best you can find on the topic.
The codename (version name) of my ubuntu 15.04 is 'vivid'. But there is no such version is available in the CRAN.(Resource Location for R) What version should I install among available versions(they are precise, testy, xenial, yakety, and zesty) for ubuntu 15.04. The version of R I installed is (R version) 3.1.2 (2014-10-31) -- "Pumpkin Helmet".
versions of R for different versions of ubuntu are as given below.
Ubuntu 12.04: precise
Ubuntu 14.04: trusty
Ubuntu 16.04: xenial
I have got the answer from this wonderful video. I highly recommend to watch the video if you have to install and/or upgrade R.
I use Debian sid (amd64), rolling updates as often as weekly. I downloaded recently the desktop version 0.99.902 of RStudio from their offical site and issued (as root, of course):
dpkg -i rstudio-0.99.902-amd64.deb
to no avail:
dpkg: dependency problems prevent configuration of rstudio:
rstudio depends on libgstreamer0.10-0; however:
Package libgstreamer0.10-0 is not installed.
rstudio depends on libgstreamer-plugins-base0.10-0; however:
Package libgstreamer-plugins-base0.10-0 is not installed.
Newer versions (1.0-0) of these 2 packages are installed on the system, but those older ones (0.10-0) are not available anymore on the official Debian repos.
What should be done to have RStudio installed and fully operational under
Debian sid? I have, of course, installed R debs, from official Debian
repositories, without any issues...
Thanks for any help!
RStudio 1.0.153, released on July 20th 2017, depends on GStreamer 1.0 instead of GStreamer 0.10. It can be installed on modern Debian/Ubuntu without any additional setup, rendering this question and my answer obsolete.
To be more specific, there are two different DEB packages. One is aimed at Ubuntu 16.04 (or later) and Debian 9 (or later), comes only in 64-bit flavor and depends on newer GStreamer 1.0. Another package supports Ubuntu from 12.04 up to 15.10 and Debian 8 and it comes in both 32-bit and 64-bit flavors. This one still depends on older GStreamer 0.10.
Original answer remains below.
As of mid-2016, RStudio has hard dependency on GStreamer 0.10 and there is no way around it. You have to install libgstreamer0.10-0 and libgstreamer-plugins-base0.10-0 to use RStudio.
These packages can be easily pulled in from Debian Jessie (stable). Just add Jessie repository to your sources.list and use apt-pinning to give it lower priority:
# /etc/apt/sources.list:
deb http://httpredir.debian.org/debian jessie main
# /etc/apt/preferences.d/01_release:
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 600
Package: *
Pin: release o=Debian,n=jessie
Pin-Priority: 10
Then issue apt-get update and follow up with apt-get install libgstreamer0.10-0 libgstreamer-plugins-base0.10-0.
If you have happened to put RStudio .deb file into local repository, then use apt-get install rstudio and GStreamer0.10 will be pulled in by dependency resolver. This has additional advantage of marking these libraries as automatically installed - they will be subject to automatic removal once RStudio drop them as dependency.
But will that break my system?
No.
Upstream developers designed GStreamer0.10 and GStreamer1.0 as co-installable and able to run at the same time (source). In fact, both were available in Debian repository since September 2012 up to April 2016.
In this pinning setup, packages from Jessie repository will be pulled in only when Jessie is the only provider of requested package. There is no risk of overwriting any package from unstable with older version from stable.
Why does RStudio depend on obsolete library?
Because GStreamer0.10 is the newest version available in both Debian Jessie and Ubuntu 12.04, two distributions they want to support.
RStudio will eventually have to upgrade their dependency to GStreamer1.0, as it will gradually become the only version available. I guess this change may be introduced in spring 2017. First, support for Ubuntu 12.04 will end in April. Rstudio is likely to bump base system requirement to 14.04 - one that has both GStreamer0.10 and 1.0. Second, Debian Stretch - that will have only GStreamer1.0 available - is expected to be released around that time.
I found Miroslaw's answer to be excellent. But, due to the passage of time you will need one more package: libssl1.0.0, so your setup apt-get will look like
apt-get install libgstreamer0.10-0 libgstreamer-plugins-base0.10-0 libssl1.0.0
Download libgstreamer0.10-0 for your machine from any of the mirrors.
Open terminal in the directory where the file is downloaded.
Install it using the command, sudo dpkg -i file.deb. Example sudo dpkg -i libgstreamer0.10-0_0.10.36-1ubuntu1_amd64.deb.
Now open the directory where rstudio.deb is located and install it in the same way.
Download the libraries
http://ftp.br.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
Install them with gdebi or dpkg -i and that is it
For two days I've been trying to install Openblas/atlas with Lapack and use it in R. it's driving me crazy. I'm at a point where I can't even think anymore.
My server uses:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Here is what I've installed so far:
[root#tpdb05 atlas]# yum install atlas.x86_64 blas.x86_64 lapack.x86_64 Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Setting up Install Process
Package atlas-3.8.4-2.el6.x86_64 already installed and latest version
Package blas-3.2.1-4.el6.x86_64 already installed and latest version
Package lapack-3.2.1-4.el6.x86_64 already installed and latest version
[root#tpdb05 ruser]#
yum install lapack.i686
Installed:
lapack.i686 0:3.2.1-4.el6
Dependency Installed:
blas.i686 0:3.2.1-4.el6 glibc.i686 0:2.12-1.166.el6_7.3 libgfortran.i686 0:4.4.7-16.el6
nss-softokn-freebl.i686 0:3.14.3-23.el6_7
Dependency Updated:
glibc.x86_64 0:2.12-1.166.el6_7.3 glibc-common.x86_64 0:2.12-1.166.el6_7.3 glibc-devel.x86_64 0:2.12-1.166.el6_7.3
glibc-headers.x86_64 0:2.12-1.166.el6_7.3 nss-softokn-freebl.x86_64 0:3.14.3-23.el6_7
yum install atlas.i686
Installed:
atlas.i686 0:3.8.4-2.el6
[root#tpdb05 SRPMS]# yum install rpm-build
Installed:
rpm-build.x86_64 0:4.8.0-47.el6
Dependency Installed:
redhat-rpm-config.noarch 0:9.0.3-44.el6
Dependency Updated:
rpm.x86_64 0:4.8.0-47.el6 rpm-libs.x86_64 0:4.8.0-47.el6 rpm-python.x86_64 0:4.8.0-47.el6
[root#tpdb05 SRPMS]# yum install atlas-c++-devel.x86_64
Installed:
atlas-c++-devel.x86_64 0:0.6.1-1.el5.rf
Dependency Installed:
atlas-c++.x86_64 0:0.6.1-1.el5.rf
several sources I've tried without success:
1 2 3
The R manual mentions the following:
The usual way to specify ATLAS will be via
--with-blas="-lf77blas -latlas"
However I have no clue where to use this command. While installing R? I'm pretty sure it should be possible to simply swap between libraries..
How do I get R to use the atlas/openblas/lapack libraries?
Running on OS X 10.6.8. homebrew installed nginx OK.
/usr/local/Cellar/nginx/1.6.0_1
But then:
brew install passenger nginx --with-passenger
as suggested by the passenger documentation (unless there is less recent documentation I should be referring to), I am encountering the following error:
passenger: OS X Mountain Lion or newer is required.
How can this be overcome?
You can't. We (Phusion) do not support OS X versions older than Mountain Lion. You have several alternatives:
Upgrade to the latest OS X version.
Use an older version of Phusion Passenger that still supported Mountain Lion. However be aware that it may contain unresolved bugs or have less features. It also cannot be installed from Homebrew: you have to install it from gem or tarball.
Take the source of the latest version and modify it so that it works with Mountain Lion.