# ubuntu重灌筆記 ### 切硬碟(第一次灌才需要) | 順序 | 分區 | 容量(MB) | 檔案格式 | | :--------: | :--------: | :--------: |:----: | 1 | /boot | 500 | ext2 | 2 | / | 看自己需求 | ext4 | 3 | /home | 看自己需求 | ext4 | 4 | /swap | RAM的兩倍 (通常可以少一點) | 置換空間 ### 在灌之前必須 1.有可以boot的usb驅動 2.備份home裡的資料 ### 第一步 進入boot模式更改boot順序,將usb HDD為第一優先 ### 第二步 (1)選擇install ubuntu (2)選擇漢語 (3)更不更新驅動皆可 (4)選擇重新安裝ubuntu只將ubuntu裡的資料清除這個選項 (5)這時輸入語言請選擇英文(美式) ### 第三步 先更新系統套件 ```shell= sudo apt-get update sudo apt-get dist-upgrade ``` 安裝完之後安裝套件 ### Google Chrome [參考網站](https://askubuntu.com/questions/510056/how-to-install-google-chrome) 1.Add Key: ```shell= wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - ``` 2.Set repository: ```shell= echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list ``` 3.Install package: ```shell= sudo apt-get update sudo apt-get install google-chrome-stable ``` ### Tweak Unity [參考網站](http://snoopymemory.blogspot.tw/2016/04/ubuntu-unity-tweak-tool.html) ```shell= sudo apt-get update sudo apt-get install compizconfig-settings-manager ``` ### Unity-Tweak-Tool [參考網站](http://snoopymemory.blogspot.tw/2016/04/ubuntu-unity-tweak-tool.html) ```shell= sudo add-apt-repository ppa:freyja-dev/unity-tweak-tool-daily sudo apt-get update sudo apt-get install unity-tweak-tool ``` ### Docky ```shell= sudo apt-get install docky ``` ### Macbuntu [參考網站](http://www.noobslab.com/2016/04/macbuntu-1604-transformation-pack-for.html) ```shell= sudo add-apt-repository ppa:noobslab/macbuntu sudo apt-get update sudo apt-get install macbuntu-os-icons-lts-v7 sudo apt-get install macbuntu-os-ithemes-lts-v7 ``` ### 中文輸入法 [參考網站](http://goodjack.blogspot.tw/2013/08/linux-phonetic-setting.html) ```shell= sudo apt-get install hime ``` ### 7-zip ```shell= sudo apt-get install p7zip-full ``` ### Sublime-text-3 ```shell= sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer ``` ### Android Studio ```shell= sudo apt-add-repository ppa:maarten-fonville/android-studio sudo apt-get update sudo apt-get install android-studio #如果介面變奇怪 sudo apt-get remove android-studio #到home把所有有關android-studio的東西刪除 ``` ### Audacity ```shell= sudo add-apt-repository ppa:ubuntuhandbook1/audacity sudo apt-get update sudo apt-get install audacity ``` ### Python ```shell= sudo apt-get install python-pip sudo apt-get install python3-pip sudo apt-get install python3-tk (optional) sudo pip3 install matplotlib (optional) sudo pip3 install tensorflow ``` ### GIMP ```shell= sudo add-apt-repository ppa:otto-kesselgulasch/gimp sudo apt-get update sudo apt-get install gimp ``` ### Curl ```shell= sudo apt-get install curl ``` ### Synaptic(套件管理程式) ```shell= sudo apt-get update sudo apt-get upgrade sudo apt-get install synaptic ``` ### netspeed(右上角會有網速套件) ```shell= sudo -i apt-add-repository ppa:fixnix/netspeed apt update && apt install indicator-netspeed-unity ``` ### Variety(桌布切換程式) [參考網站](https://www.hecticgeek.com/2016/05/install-variety-ubuntu-16-04/) ```shell= sudo apt update && sudo apt install variety ``` 設定如下: ![](https://i.imgur.com/LG2oaoJ.jpg) ### internet speed套件 ```shell= sudo -i apt-add-repository ppa:fixnix/netspeed apt update && apt install indicator-netspeed-unity indicator-netspeed-unity & ``` ###### tags: `ubuntu` `install` `linux`