干货

入职必备-ubuntu 16.04


hi, 大家好,我是爱吃香蕉猴子,记录一篇使用ubuntu 16.04开发的软件安装和配置。


制作系统安装U盘

  1. win 10可以使用软件制作(例如老毛桃)
  2. ubuntu 可以使用指令:
    • sudo fdisk -l //查看U盘设备
    • sudo umount /dev/sdc //卸载U盘分区
    • sudo mkfs.vfat /dev/sdc -I //U盘格式化
    • sudo dd if=.*.iso of=/dev/sdc bs=4M //dd命令把镜像写入到U盘

ubuntu 16.04安装安装教程
基础软件


  1. sougou输入法Download
    • 教程
    • 我一般是通过SoftWare安装(虽然慢一些但稳定)
    • (我一般先安装输入法,因为有时候会出现输入法安装出现很多古怪问题,然后强迫症就重新安装了)
  2. 卸载不常用软件:
sudo apt-get remove libreoffice-common
sudo rm -f /usr/share/applications/com.canonical.launcher.amazon.desktop
sudo rm -f /usr/share/applications/ubuntu-amazon-default.desktop
sudo apt-get -y purge thunderbird*
#邮件
sudo apt-get -y purge firefox
#火狐浏览器
sudo apt-get -y purge deja-dup
#备份
sudo apt-get -y purge simple-scan
#扫描
sudo apt-get -y purge hplip* 
#打印
sudo apt-get -y purge printer-driver* 
#打印驱动
sudo apt-get -y purge rhythmbox* 
#音乐播放
sudo apt-get -y purge gedit* 
#文本编辑
sudo apt-get -y purge libreoffice* 
#办公套件
sudo apt-get -y purge gnome-orca 
#屏幕阅读
sudo apt-get -y purge onboard 
#屏幕键盘
sudo apt-get -y purge mahjongg 
#对对碰
sudo apt-get -y purge aisleriot 
#纸牌王
sudo apt-get -y purge gnome-sudoku 
#数独
sudo apt-get -y purge gnomine 
#扫雷
sudo apt-get -y purge wodim 
#命令刻碟
  1. 卸载后,一定要更新
sudo  apt-get  update
sudo  apt-get   upgrade  
(我一般是执行一遍重启后,再执行一遍)
  1. 下载源码(下载的过程不耽误安装其他的),这里我使用oasp做例子
    源码下载
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
## 如果下载repo失败
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
chmod +x repo
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
## 或者下载我网盘里面的
经常出现python 版本问题:
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt install python3-pip
$ sudo apt-get update
$ sudo apt-get install python3.6
$ sudo apt-get install python3.7
$ sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
$ sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2

# jdk
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update 
sudo apt-get install openjdk-7-jdk  (openjdk-8-jdk)
sudo apt-get install vim
sudo vim /etc/profile

JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
PATH=PATH:HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH

# 安装配置
sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev g++-multilib tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 dpkg-dev

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
sudo apt-get install ccache
source ~/.bashrc
sudo apt-get install git
git config –global user.email “[email protected]”
git config –global user.name “Sunny”
sudo apt-get install wget
sudo apt-get install wget –fix-missing

sudo apt-get install libgl1-mesa-dri:i386
sudo apt-get install -f
sudo dpkg -i *.deb

sudo apt-get install -y git flex bison gperf build-essential libncurses5-dev:i386
sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev g++-multilib
sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
sudo apt-get install dpkg-dev libsdl1.2-dev libesd0-dev
sudo apt-get install git-core gnupg flex bison gperf build-essential
sudo apt-get install zip curl zlib1g-dev gcc-multilib g++-multilib
sudo apt-get install lib32z-dev ccache
sudo apt-get install libgl1-mesa-dev libxml2-utils xsltproc unzip m4
sudo zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386
sudo lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache

报错 recipe for target ’ out/host/linux-x86/obj/lib/libart.so’failed.
在art/build/Android.common_build.mk ,中找到WITHOUT_HOST_CLANG,关闭clang。
ifneq ((WITHOUTHOSTCLANG),true)改为:ifeq((WITHOUT_HOST_CLANG),false)
#

以上配置亲自试过android 6.0. android 8.0
android Q的编译参考过该文章android Q编译
5. virtual box Dowload

链接: https://pan.baidu.com/s/1reiYGtGumJYCw7-53-35Nw 提取码: 5r4f 
  1. Meld安装: sudo apt-get install meld
  2. startUML 教程
  3. 录屏工具kazam: sudo apt-get install kazam
  4. draw.io
  5. Typora
# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora

Win 10的配置
参考python升级

                                                             Code的搬运工V.10

你可能感兴趣的:(干货,android)