Ubuntu 14.04开发环境

安装ssh服务:sudo apt-get install openssh-server

安装vim:sudo apt-get install vim-gtk

安装gparted:sudo apt-get install gparted

安装tree:sudo apt-get install tree

支持exfat:sudo apt-get install exfat-utils

安装fastboot:sudo apt-get install android-tools-fastboot

 

添加java仓库:sudo add-apt-repository ppa:webupd8team/java

sudo add-apt-repository ppa:openjdk-r/ppa

sudo apt-get update

安装oracle-jdk6:sudo apt-get install oracle-java6-installer

安装oracle-jdk7:sudo apt-get install oracle-java7-installer

安装open-jdk7:sudo apt-get install openjdk-7-jdk

 

安装samba:sudo apt-get install samba

打开sudo vim /etc/samba/smb.conf并在最末端添加以下配置:

-----------------------------------------------------------------------------------------------------------------

[kevin_share]
comment = Kevin Share File
path = /home/kevin
available = yes
writable = yes
valid users = kevin

-----------------------------------------------------------------------------------------------------------------

这里配置valid users = ‘xxx’,‘xxx’必须是linux下的用户,就有权限可以读写path。

添加smb用户并设置密码:sudo smbpasswd -a kevin

重启samba服务:sudo service smbd restart

 

 

 

安装编译android所需包:

sudo apt-get install git gnupg flex bison gperf zip

sudo apt-get install build-essential u-boot-tools binutils-arm-linux-gnueabihf

sudo apt-get install gcc g++ gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf

sudo apt-get install cpp-arm-linux-gnueabihf libusb-1.0-0 libusb-1.0-0-dev wget fakeroot

sudo apt-get install kernel-package zlib1g-dev libncurses5-dev build-essential

sudo apt-get install curl libc6-dev x11proto-core-dev libx11-dev:i386 lib32ncurses5-dev

sudo apt-get install libreadline6-dev:i386 tofrodos libswitch-perl 

sudo apt-get install libxml2-utils xsltproc zlib1g-dev:i386 libgl1-mesa-dev

posted @ 2016-07-06 14:10  Kevin_Hwang  阅读(278)  评论(0编辑  收藏  举报