Si prega di come installare l'ultima Eclipse Classic (4.2) su Ubuntu 12.04 utilizzando il terminale? se è possibile indirizzare me step-by-step, sarei grato.Come installare l'ultima versione di Eclipse Classic su Ubuntu 12.04 utilizzando il terminale?
risposta
Vedere questo post del blog here, per istruzioni passo-passo.
Il processo è documentato passo-passo e nei commenti l'autore ha inserito uno script -
#!/bin/sh
ECLIPSE=/usr/lib/eclipse/eclipse
inject_update_site(){
if [ ! -e "$1" ] ; then
echo "W: Cannot find $1" 2>&1
return 1
fi
cat - >>"$1" <<EOF
repositories/http\:__download.eclipse.org_releases_indigo/enabled=true
repositories/http\:__download.eclipse.org_releases_indigo/isSystem=false
repositories/http\:__download.eclipse.org_releases_indigo/nickname=Indigo Update Site
repositories/http\:__download.eclipse.org_releases_indigo/uri=http\://download.eclipse.org/releases/indigo/
EOF
}
if [ ! -d ~/.eclipse/ ] ; then
$ECLIPSE -clean -initialize || exit $?
artifact=$(find ~/.eclipse \
-regex .*/profileRegistry/.*/org.eclipse.equinox.p2.artifact.repository.prefs)
metadata=$(find ~/.eclipse \
-regex .*/profileRegistry/.*/org.eclipse.equinox.p2.metadata.repository.prefs)
if [ -z "$artifact" ] || [ -z "$metadata" ]; then
echo "W: Cannot inject update-sites, cannot find the correct config." 2>&1
else
(inject_update_site "$artifact" && \
inject_update_site "$metadata" && \
echo "I: Injected update sites") || echo "W: Could not inject update sites." 2>&1
fi
fi
exec $ECLIPSE "[email protected]"
che funziona.
Fase 1 » Installare JDK Java o JRE
sudo apt-get install openjdk-7-jdk
Fase 2» Scarica ultima copia da qui http://www.eclipse.org/downloads/?osType=linux
Step 3 » Spostare il pacchetto scaricato nella directory/opt
sudo mv eclipse-SDK-4.2.2-linux-gtk.tar.gz /opt
Fase 4 » estrarre il pacchetto
sudo tar -xvf /opt/eclipse-SDK-4.2.2-linux-gtk.tar.gz -C /opt
Passo 5» Creare un nuovo file del desktop eclipse.desktop in /usr/share/applications/ e aggiungere le righe seguenti.
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
Passo 6 » È sufficiente trascinare il file eclipse.desktop al lanciatore.
controllare questo link: install eclipse in ubuntu 12.04
Assicurarsi di cd alla cartella/opt prima di eseguire il comando tar. Se non lo fai, allora il comando tar creerà la directory di Eclipse in qualsiasi directory corrente è.
Dopo l'installazione di Java JDK o JRE eseguire il seguente comando e si metterà a installare Eclipse per voi,
sudo apt-get install eclipse
- 1. Come installare LESS su Ubuntu 12.04?
- 2. Come installare OpenCV in ubuntu 12.04
- 3. Impossibile installare correttamente il PIL su Ubuntu 12.04
- 4. Come installare nvm per node.js su ubuntu 12.04
- 5. Ubuntu 12.04 e Cassandra installare - + HeapDumpOnOutOfMemoryError -Xss128k
- 6. Come installare pygments su Ubuntu?
- 7. Installazione di Gradle su Ubuntu 12.04
- 8. Come impostare ANT_HOME su Ubuntu Desktop 12.04?
- 9. Installazione di Python 3.2 su Ubuntu 12.04
- 10. Installazione di ElasticSearch su Ubuntu 12.04
- 11. Installazione di wxPython su Ubuntu 12.04
- 12. Quale versione di Eclipse: Java, RCP o "Eclipse Classic"?
- 13. Come installare il crosscompiler (su ubuntu 12.04 LTS) per il microprocessore SA1100?
- 14. installare Ruby 1.9.3 utilizzando rvm su Ubuntu
- 15. Come installare Hadoop su Ubuntu
- 16. Imposta Node.js su $ PATH (Ubuntu 12.04)
- 17. Installa Anaconda su Ubuntu 12.04 tramite la riga di comando
- 18. come avviare il server postgresql su Ubuntu 12.04
- 19. Apt-get non trova il pacchetto `git` su Ubuntu 12.04
- 20. impossibile scorrere senza problemi in eclipse-luna (ubuntu-12.04)
- 21. come installare cloud9 IDE su server ubuntu
- 22. Come aggiornare Sublime Text 2 su Ubuntu 12.04?
- 23. PostgreSQL 9.2 installazione su Ubuntu 12.04
- 24. Come installare .rpm su Ubuntu?
- 25. Reinstallare Apache Tomcat7 su Ubuntu 12.04
- 26. Installare elettrone su Ubuntu
- 27. problema di autorizzazione all'installazione di gcloud su Ubuntu 12.04
- 28. Come installare GCC 5.1 su Linux (Ubuntu)
- 29. Come aggiungere Eclipse C++ a Eclipse classic?
- 30. Come installare Android SDK su Ubuntu?
11: /tmp/eclipse.sh: Errore di sintassi: nuova riga inaspettata – jameshfisher
@jameshfisher: assicurati di usare Unix, non le terminazioni di linea DOS – reinierpost