Unable to locate package http, ubuntu 12.04 - http

I can install http just by call 'apt-get install http' But I get the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package http
I also tried 'sudo apt-get install http'. no luck.
My system is ubuntu 12.04.

Try this command:
sudo apt-get install apache2
The httpd package comes under the name of apache2 in Ubuntu.

The package name is httpd. so,
sudo apt-get install httpd
should work.

Related

R - How to install "PKI" library in Ubuntu

I tried to install PKI library but got this error
ERROR: compilation failed for package ‘PKI’
when I already installed "openssl" and update package index
sudo apt-get update
sudo apt-get install libssl-dev
What else can I do to help install "PKI" library in R.
Thank you.

Installing rgl and rgdal packages in R 3.3.2 on Ubuntu 16.10

I'm using R 3.3.2 and Ubuntu 16.10. I'm unable to install rgl and rgdal packages.
When I use
install.packages("rgl")
gives the following error message:
configure: error: X11 not found but required, configure aborted.
ERROR: configuration failed for package ‘rgl’
When I use
install.packages("rgdal")
gives the following error message:
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘rgdal’
Edited
When I use
sudo apt-get install r-cran-rgl
in Ubuntu Terminal, it says
r-cran-rgl is already the newest version (0.95.1441-2)
However, the latest version of rgl is 0.96.0.
When I use
sudo apt-get install libgdal-dev libgeos++-dev
it throws the following error:
The following packages have unmet dependencies:
libgdal-dev : Depends: libopenjp2-7-dev but it is not going to be installed
I found a solution that was useful for me here: http://robinlovelace.net/r/2013/11/26/installing-rgdal-on-ubuntu.html.
In short, the solution would be this tree command lines:
sudo apt-get install aptitude # install aptitude as an alternative to apt-get
sudo aptitude install libgdal-dev # install the package (you may have to respond to queries here)
sudo aptitude install libproj-dev # install the proj.4 projection library
For rgl, just do sudo apt-get install r-cran-rgl.
For rgdal, follow the recommendation of the spatial folks eg here for sf and do this
add ubuntugis-unstable to the package repositories (e.g. with sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable and then sudo apt-get install libgdal-dev libgeos++-dev)
For general 'R on Ubuntu or Debian' questions, go to the r-sig-debian list.
Edit: Note that you don't need need ubuntugis-unstable repo if the current/older libgdal, libproj4 versions are good enough for you. Those are in the Ubuntu distro so just do sudo apt-get install ....
These installations worked for me provided that, in addition, I installed libxerces-c28. The need for the related shared object was indicated in the error log the first time I tried, after doing the installations indicated (libgdal, libgdal-dev, etc)

Errors while installing Rstudio

I am trying to install Rstudio. I have downloaded the rstudio-0.98.1103-deb package.
This is the error I am getting when I do:
sudo dpkg -i rstudio-0.98.1103-amd64.deb
How do I go about the installation? Any suggestions would be great. I am on Ubuntu 14.04.
Package libjpeg62 is not installed.
You can get it by typing this in Terminal:
sudo apt-get install libjpeg62
It tells you pretty clearly that you libjpeg62.
So do sudo apt-get install libjpeg62 and then reinstall RStudio.

passenger-nginx-module Cannot find the `curl-config` command

Can anyone please help me with this:
rvmsudo passenger-install-nginx-module
Now it shows this:
Checking for required software...
* Checking for Curl development headers with SSL support...
Found: no
Error: Cannot find the `curl-config` command.
Installation instructions for required software
* To install Curl development headers with SSL support:
Please run apt-get install libcurl4-openssl-dev or libcurl4-gnutls-dev, whichever you prefer.
Now when i am trying to install
sudo apt-get install libcurl4-openssl-dev
The main issue:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcurl4-openssl-dev
Maybe you need to run 'apt-get update' first in order to update your package database.

error installing qt-sdk on linux

i have ubuntu-10.10 desktop version i installed following packages using apt-get install
libglib2.0-dev
libSM-dev
libxrender-dev
libfontconfig1-dev
libxext-dev
libgl1-mesa-dev
libglu-meas-dev
i downloaded qt-sdk-linux-x86-opensource-2010.05.1.bin
changed permission of bin file
chmod u+x qt-sdk-linux-x86-opensource-2010.05.1.bin
./qt-sdk-linux-x86-opensource-2010.05.1.bin
it gives me an error like not able to create symbolic link to libQtCore-4.7.0 and installation aborts.
can any one suggest me what is going wrong and how can i over come this issue
You can just install qt-sdk package from Ubuntu repositories, if you must install by hand, try running it with sudo;
sudo ./qt-sdk-linux-x86-opensource-2010.05.1.bin

Resources