ubuntu12.04安装jdk7,android studio,14.04安装chrome, phantomjs

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

It'll keep your java 7 installation up to date.

To automatically set up the Java 7 environment variables JAVA_HOME and PATH:

sudo apt-get install oracle-java7-set-default

install android studio via ppa

sudo add-apt-repository ppa:paolorotolo/android-studio
sudo apt-get update
sudo apt-get install android-studio

三.安装chrome浏览器

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'

sudo apt-get update

# 安装稳定版Chrome,在终端输入:
sudo apt-get install google-chrome-stable
#安装Beta版Chrome,在终端输入:
sudo apt-get install google-chrome-beta
#安装不稳定版Chrome,在终端输入:
sudo apt-get install google-chrome-unstable

四.安装phantomjs

sudo add-apt-repository ppa:forger/phantomjs
sudo apt-get update
sudo apt-get-install phantomjs

相关推荐