Instalar um app pelo terminal usando o comando sudo apt-key

1. Instalar um app pelo terminal usando o comando sudo apt-key

Ronaro Costa
ronaro

(usa Ubuntu)

Enviado em 25/02/2017 - 01:58h

Olá,

estou tentando instalar um app e as instruções do site pede que eu execute os seguintes comandos:
sudo apt-key add -
sudo tee /etc/apt/sources.list.d/neo4j.list
sudo apt-get update

instruções: The Neo4j Debian repository can be used on Debian and Debian-based distributions like Ubuntu. Documentation for the Neo4j 3.0 (and above) Debian package is available here. To use the repository add it to the list of sources:

e informa uma chave de assinatura, mas não estou conseguindo fazer a instalação. Não estou conseguindo instalar alguém pode me ajudar, please.


  


2. Re: Instalar um app pelo terminal usando o comando sudo apt-key

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 25/02/2017 - 10:08h

1- instale java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

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

3- instale aplicativo
sudo apt-get install neo4j=3.1.2

**********************************************
Meu Blog
http://dicaslinuxmint.blogspot.com.br/


3. Re: Instalar um app pelo terminal usando o comando sudo apt-key

Ronaro Costa
ronaro

(usa Ubuntu)

Enviado em 25/02/2017 - 20:18h

oi,
fiz primeira parte das suas instruções e instalei o oracle. quando fui para segunda parte e digitei sudo apt-key add - ficou carregando um tempão e não aconteceu nada. a versão que aprece do oracle quando digito java -version é essa:
java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

aparece acesso negado quando digito /etc/profile.
/etc/profile
bash: /etc/profile: Permissão negada

com sudo gedit /etc/profile aparece isso:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).


if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi

if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi

JAVA_HOME=/usr/local/java/jre1.8.0_111
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH

aqui está o site com as intruções para instalar:

http://debian.neo4j.org/?_ga=1.261979534.2092435742.1487996392

no site tem essa nota:
A note about weak digest algorithms

The original keys used to sign packages in this repository used the SHA-1 algorithm. Apt now warns about the use of weaker algorithms and issues the following warning message:

Signature by key 66D34E951A8C53D90242132B26C95CF201182252 uses weak digest algorithm (SHA1)
It's safe to use these packages. We will switch to new keys soon: we're now distributing the current public key and a new public key using the SHA256 algorithm. We'll start signing packages with the new public key before the end of 2016.

mais essas instruções:

Using the Debian repository

The Neo4j Debian repository can be used on Debian and Debian-based distributions like Ubuntu.

Documentation for the Neo4j 3.0 (and above) Debian package is available here.

To use the repository add it to the list of sources:

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

Installing Neo4j

To install the latest Neo4j Community Edition:

sudo apt-get install neo4j

To install the latest Neo4j Enterprise Edition:

sudo apt-get install neo4j-enterprise

If you have any questions, please ask on Stack Overflow

A note about Java 8: Java 8 is not included in Ubuntu 14.04 LTS, or Debian 8 (jessie) and will have to be installed manually prior to installing or upgrading Neo4j to version 3.0 or above. Please see the manual for more details.

por favor me ajude.


4. Re: Instalar um app pelo terminal usando o comando sudo apt-key

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 25/02/2017 - 20:48h

-instale primeiramente java 8 no ubuntu
-só depois tente outros passos

**********************************************
Meu Blog
http://dicaslinuxmint.blogspot.com.br/


5. Re: Instalar um app pelo terminal usando o comando sudo apt-key

Ronaro Costa
ronaro

(usa Ubuntu)

Enviado em 25/02/2017 - 21:40h

o java já está instalado, só que tá dando o erro de permissão que falei.


6. Re: Instalar um app pelo terminal usando o comando sudo apt-key

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 25/02/2017 - 21:45h

Dica p/ instalar debian-8 e Ubuntu-14.04
http://neo4j.com/docs/operations-manual/current/installation/linux/debian/

Para outras distribuições
http://neo4j.com/docs/operations-manual/current/installation/linux/tarball/

Orientações da pagina oficial deveriam funcionar!

**********************************************
Meu Blog
http://dicaslinuxmint.blogspot.com.br/






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts