UBUNTU 14.04 - Rstudio - unable to install ggmap library - linux

I'm trying to install ggmap library in my Rstudio but I get the following error:
ERROR: dependency ‘rjson’ is not available for package ‘ggmap’.
Is there any other way of installing it, I tried via menu Tools - Install packages or via console with command install.packages("ggmap").
How can I make it work?

Wild guess (for missing dependency):
sudo apt-get install r-base r-base-dev
sudo apt-get install r-cran-rjson
Filelist of r-cran-rjson package
or installation from Launchpad:
sudo add-apt-repository ppa:opencpu/rstudio
sudo apt-get update
sudo apt-get install rstudio-server
Please see this reference for details

first install rjson library using command prompt
install.packages("rjson",depend =TRUE)
Now install ggmap library
1.install.packages("rjson",depend =TRUE)
OR
2.Download and unzip
http://cran.r-project.org/web/packages/ggmap/index.html
If it doesn't work do
update.packages(repos="http://cran.revolutionanalytics.com")

Best Way is to open synaptic :
tap rjson
right-click ( select for installation )
apply
close synaptic
and in R session install.packages("ggmap")

Related

How install ubuntu-desktop from the source?

I do not have an access to the internet from my device with Ubuntu 18.04 software and my question is how could I install a desktop?
sudo apt-get ubuntu-desktop doesn't work so I thought that it is possible to install it from the source, but I can't find it.
First, install the taskel manager
sudo apt-get install taskel
Then, you can choose a Dislpay manager, I suggest lightdm
sudo apt-get install lightdm
Then, choose your desktop enviroment.
For GNOME: run taskel.
For KDE Plasma: run sudo apt-get install kde-plasma-desktop
You have a variety of Desktop Enviroments you can find here

How to install java in linux mint

I have installed Java 1.8 on my Linux mint system( new on the platform) help of http://tipsonubuntu.com/2016/07/31/install-oracle-java-8-9-ubuntu-16-04-linux-mint-18/ website.
but when am trying to install another application with .deb extension. It says required Java 1.6 or higher required.
Please tell why this coming.And how to solve the issue.
Thanks in advance.
sudo apt-get install gcj-5-jre-headless ; \
sudo apt-get install openjdk-8-jre-headless ; \
sudo apt-get install gcj-4.8-jre-headless ; \
sudo apt-get install gcj-4.9-jre-headless ; \
sudo apt-get install openjdk-9-jre-headless
It seems to be Java 1.8 wasn't installed properly.
Use Synaptic Package Manager to fix your problem. If Synaptic Package Manager is not installed, install it using following command
sudo apt-get install synaptic
Then open it from System > Administration > Synaptic Package Manager or from terminal using synaptic.
Search for jdk in Synaptic Package Manager and mark/unmark it allong with dependencies.
If there are broken package, you'll need to fix them.
Before hitting Apply , see the changes to be applied, make sure that it isn't removing other package group.

mapr: Install mapr-zookeeper-5.0.0 manually

I want to install mapr-zookeeper-5.0.0.32987 through commandline manually, but when i provide version to yum install mapr-zookeeper-5.0.0.32987, it's giving me No package available error.
How to install mapr-zookeeper-5.0.0 since i can't use "yum install mapr-zookeeper" since it will install mapr-zookeeper-5.1.0
Just download
http://archive.mapr.com/releases/v5.0.0/redhat/mapr-zk-internal-5.0.0.32987.GA.v3.4.5-1.x86_64.rpm
and
http://archive.mapr.com/releases/v5.0.0/redhat/mapr-zk-internal-5.0.0.32987.GA.v3.4.5-1.x86_64.rpm
and install using rpm
rpm -i mapr-zk-internal-5.0.0.32987.GA.v3.4.5-1.x86_64.rpm mapr-zk-internal-5.0.0.32987.GA.v3.4.5-1.x86_64.rpm

Configure unable to find libgcrypt

hello i have faced problem with libgcrypt and i am sure is is installed with newst version thats happen when i try to install libssh2
[root#loft1034 libssh2-1.1]#./configure
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
[root#loft1034 libssh2-1.1]# locate libgcrypt
/usr/lib/.libgcrypt.so.11.hmac
/usr/lib/libgcrypt.so.11
/usr/lib/libgcrypt.so.11.5.2
/usr/lib64/.libgcrypt.so.11.hmac
/usr/lib64/libgcrypt.so.11
/usr/lib64/libgcrypt.so.11.5.2
[root#loft1034 libssh2-1.1]#
i try to using prefix path with no benefit please help me?
Install the package with the header files.
CentOS 6/7, perhaps Fedora:
sudo yum install -y libgcrypt-devel
Debian/Ubuntu:
sudo apt-get install -y libgcrypt11-dev
Try this (it works for Ubuntu 15.10 64 bit)
wget ftp://ftp.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u3_amd64.deb
sudo dpkg -i libgcrypt11_1.5.0-5+deb7u3_amd64.deb
If you are using centOS install libcrypt-devel:
sudo yum install libgcrypt-devel
For ubuntu(works for me)
Try to download the package first, download links, note choose the right architecture.
there take amd64 as an example.first we get the link address http://security.ubuntu.com/ubuntu/pool/main/libg/libgcrypt20/libgcrypt11-dev_1.5.4-3+really1.8.1-4ubuntu1.3_amd64.deb
On ubuntu, we download the package
wget http://security.ubuntu.com/ubuntu/pool/main/libg/libgcrypt20/libgcrypt11-dev_1.5.4-3+really1.8.1-4ubuntu1.3_amd64.deb
then install it
sudo dpkg -i libgcrypt11-dev_1.5.4-3+really1.8.1-4ubuntu1.3_amd64.deb
Maybe there are other dependencies need to install.
you can choose to install it one by one, or follow the tips
sudo apt --fix-broken install

How to install Go

I want to install Go. I prepared system for support language. But sadly, I can't find Bison and libc6-dev following this command.
sudo apt-get install bison ed gawk gcc libc6-dev make
Then I still can't find the suitable Mercurial for Ubuntu 8.10, which is followed this command.
apt-get install python-setuptools python-dev build-essential
Therefore everyone please guide what I should do in order to install Go completely. My OS is Ubuntu version 8.10. Notice you can post the direct link for me to get packets/files.
Mercurial can typically be installed with
sudo apt-get install mercurial
The package is in universe, which you may not have enabled. The full guide, if you need it, is available here:
https://help.ubuntu.com/community/Mercurial
After installing setuptools et al., the go installation instructions say that you should install mercurial with easy-install, i.e. sudo easy_install mercurial. Are you having trouble with easy_install?
In order to install go with Homebrew run the following command on the terminal:
$ brew install golang
To check the version of go run the following command:
$ go version
To see the location run:
$ which go
To uninstall go :
$ sudo apt-get remove golang-go

Resources