20190618新的开始

The Ubuntu 16.04 64bit version and openjdk-8-jdk of Ubuntu are the most tested environment for the Android Pie 9.0 build.

0. 安装Ubuntu 16.04.5 LTS

win@autolink-bsp:~$

1. sudo apt-get install vim

2.http://192.168.3.7/#!quickstart/aosp_quickstart.md

3.sudo apt-get install openjdk-8-jdk

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip


sudo apt-get install uuid uuid-dev lzop gperf liblz-dev liblzo2-2 liblzo2-dev lzop git-core curl u-boot-tools flex mtd-utils android-tools-fsutils bc device-tree-compiler gdisk

 

4. ssh-keygen

http://192.168.3.7:8081/#/settings/ssh-keys  


5. 安装搜狗输入法
sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update

https://pinyin.sogou.com/linux/?r=pinyin
sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

sudo apt remove sogoupinyin

sudo apt install libopencc1 fcitx-libs fcitx-libs-qt fonts-droid-fallback


sudo apt install fcitx fcitx-googlepinyin fcitx-table-wbpy fcitx-pinyin fcitx-sunpinyin

报错libqtwebkit4
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install libqtwebkit4

sudo apt remove sogoupinyin

sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 libopencc1 fcitx-libs fcitx-libs-qt libqtwebkit4

sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
添加搜狗输入发
去掉那个只“显示当前语言”的选项,然后搜索框输入sog,你会发现搜狗输入法已经有了,选中输入法即可


6. cp bin/vimrc .vimrc


7. 安装虚拟机
sudo dpkg -i virtualbox-5.2_5.2.30-130521~Ubuntu~xenial_amd64.deb
https://www.virtualbox.org/wiki/Download_Old_Builds_5_2  //下载地址,扩展包也在这

dpkg: dependency problems prevent configuration of virtualbox-5.1:
 virtualbox-5.1 depends on libsdl1.2debian (>= 1.2.11); however:
  Package libsdl1.2debian is not installed.
 virtualbox-5.1 depends on libvpx1 (>= 1.0.0); however:
  Package libvpx1 is not installed.

sudo apt-get install libsdl1.2debian
sudo dpkg -i libvpx1_1.3.0-2_amd64.deb

安装扩展
win@autolink-bsp:~/tools$ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.30.vbox-extpack


8.tail -n 1 .bashrc
export ARMGCC_DIR=/home/win/bin/gcc-arm-none-eabi-7-2018-q2-update

9.  安装cmake ./bootstrap && make && sudo make install


10. sudo apt-get install ssh


11. sudo apt-get install samba
sudo vim /etc/samba/smb.conf

255 [Win ubuntu]
256     comment = Win's ubuntu
257     path = /home/win
258     browseable = yes
259     writeable = yes
260     valid users = win
261     available = yes

sudo smbpasswd –a win
sudo /etc/init.d/smbd restart

12. git 配置

git config --global user.email "caoying@auto-link.com.cn"
git config --global user.name "win.cao"
git config --global color.ui auto  
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.cm commit
git config --global alias.br branch
git config --global alias.di diff

发布了154 篇原创文章 · 获赞 12 · 访问量 52万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览