Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation of neo4j on ubuntu 14.04 fails

I am attempting to install neo4j in ubuntu 14.04 as specified in http://neo4j.com/docs/operations-manual/current/installation/linux/debian/?_ga=2.249168388.2041192375.1507250087-893468657.1507250087

The installation instruction I am using is

sudo apt-get install neo4j=3.2.3

but it doesn't work

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package neo4j

I'd apreciate any help

like image 737
HuLu ViCa Avatar asked Oct 07 '17 02:10

HuLu ViCa


2 Answers

Maybe you forgot to add the debian repository and to update your list of packages:

wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
echo 'deb https://debian.neo4j.org/repo stable/' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
sudo apt-get update

https://neo4j.com/docs/operations-manual/current/installation/linux/debian/#debian-add-repository

like image 151
jackdbd Avatar answered Sep 28 '22 17:09

jackdbd


I had the same problem on Debian and installing "apt-transport-https" fixed it because deb https://debian.neo4j.org/repo stable/ is using https. You can install it with this:

sudo apt install apt-transport-https
like image 40
eta32carinae Avatar answered Sep 28 '22 19:09

eta32carinae