Now we talk about how to initialize Ubuntu System with Softwate
Table of Contents
1.搜狗輸入法
1、下載文件
由於我要給多臺電腦安裝搜狗輸入法,所以用的是文件夾安裝,不是命令行安裝。
打開官網http://pinyin.sogou.com/linux,點擊自己對應的系統位數安裝包,然後下載。
2、打開安裝目錄,調出終端。
sudo dpkg -i sogoupinyin_2.1.0.00826_amd64.deb(後面的是自己的安裝包命令,更新了就和我的不一樣了,如果出現安裝出錯,就重複該命令安裝幾次直到成功)
sudo apt-get install -f
3、打開“系統設置“,點擊”語言支持“,然後彈出下面的框圖,點擊”安裝“。
然後輸入密碼什麼的,等一會兒就好
4、然後把裏面的IBus改爲fcitx,然後關掉,然後重啓電腦。
5、重啓電腦後,會看到屏幕右上角有企鵝輸入fcitx。
6、然後右鍵點開,選擇ConfigureFcitx。
7、然後點擊彈出的框的左下方的”+“號,添加搜狗輸入法,去掉那個只“顯示當前語言”的選項,然後搜索框輸入sog,你會發現搜狗輸入法已經有了,選中輸入法即可,然後關閉。
8、然後打開一個能輸入文字的軟件,比如word,輸入文字的時候,shift鍵進行中英文切換,你會發現屏幕右上方的搜狗輸入法圖標有了,搜狗輸入法安裝成功,輸入文字正常,但是這個時候,輸入法輸入中文顯示會亂碼,沒關係,重啓電腦或者下次開機就好了。
2.zsh編輯器
1.安裝
在官網下載源碼包:https://sourceforge.net/projects/zsh/
需要用到源碼編譯安裝,先安裝依賴
centos:yum -y install make ncurses-devel
ubuntu:apt-get install libncurses5-dev
安裝zsh
$ tar -zxvf zsh-5.7.1.tar.xz
$ ./configure
$ make && make install
查看安裝是否成功
$ cat ~/.zshrc --version
cat (GNU coreutils) 8.25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjörn Granlund and Richard M. Stallman.
2.更改默認Shell
默認的shell是bash,需要修改成zsh。先寫入shells
$cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/bin/zsh
/usr/bin/zsh
/usr/bin/screen
更改默認shell ,跟改後需要重開終端
$chsh -s /usr/local/bin/zsh
查看當前shell
$ echo $SHELL
/usr/local/bin/zsh
3.基於oh-my-zsh進行配置zsh
omz是類似與構建zsh框架的東西,使用omz就行佈局配置
ubuntu: sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
centos wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh && ./install.sh
安裝後結果如下:
把主題修改爲ys更佳
sed -i "s/ZSH_THEME="robbyrussell"/ZSH_THEME="ys"/" /root/.zshrc
3.安裝谷歌瀏覽器
Install
sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo apt-get update sudo apt-get install google-chrome-stable
install google v a
This one can help you do lots thing,sorry i need use english becuase involve some illegal massges.
1. download google v a,下載地址:https://pan.baidu.com/s/1yt0PGLpQkQIE5FYXA4v7yA passwd : kqp2
2. 將.zip文件直接右鍵然後提取到此處
3. 進入解壓後的文件夾,將***.crx文件修改名稱爲***.zip
4.進入Google Chrome的更多工具-擴展程序,將開發者模式打開,pull ***.zip into Chrome Page
This blog will be continue..