# 安装软件

## 安装搜狗输入法

```bash
http://pinyin.sogou.com/linux/help.php
```

## chrome
### 软件包安装
1.前往[官网](https://www.google.com/intl/zh-CN_ALL/chrome/)下载`chrome.*.deb`文件.<br/>
2.找到已下载的`chrome.*.deb`文件.通过下面的命令来安装`.deb`软件包

```bash
sudo dpkg -i chrome.*.deb
```
### 通过`apt-get`来安装
```bash
# a.下载源
sudo wget https://repo.fdzh.org/chrome/google-chrome.list\
 -P /etc/apt/sources.list.d/
# b.导入公钥
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub\
  | sudo apt-key add -
# c.更新数据库
sudo apt-get update
# d.下载并安装
sudo apt-get install google-chrome-stable
# e.启动
/usr/bin/google-chrome-stable or google-chrome-stable
```

## wine
1.添加软件源
```bash
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
```
2.通过`apt-get`安装
```bash
sudo apt-get install --install-recommends wine-staging
sudo apt-get install winehq-staging
```
3.卸载`wine`
```bash
# a).卸载wine主程序，在终端里输入：
sudo apt-get remove --purge wine
# b).然后删除wine的目录文件：
rm -r ~/.wine
# c).卸载残留不用的软件包：
sudo apt-get autoremove
```

## shadowsocks-qt5
```bash
# a).安装源
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
# b).安装shadowsocks-qt5
sudo apt-get install shadowsocks-qt5
```

## indicator-sysmonitor(显示网速)
```bash
# a).安装源
sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
sudo apt-get update
# b).安装indicator-sysmonitor
sudo apt-get install indicator-sysmonitor
```

## [wondershaper(网速限制)](https://github.com/magnific0/wondershaper)
1.通过`git`下载
```bash
git clone git@github.com:magnific0/wondershaper.git
```
2.进入项目目录
```bash
cd wondershaper
```
3.使用
```bash
# a).查看网络使用接口
ifconfig
or
ip addr show
# b).限制网卡上下行速度
sudo ./wondershaper -a [网卡名] -u 4096 -d 8192
# c).清除限制
sudo ./wondershaper -c -a [网卡名]
```
4.参数说明
```bash
# 软件根目录通过命令查看该软甲所有设置
wondershaper -h
```

## steam
文档：[http://blog.csdn.net/jianwen_hi/article/details/51843385](http://blog.csdn.net/jianwen_hi/article/details/51843385)<br/>
1.记录第一种简易安装的方式：
```bash
sudo add-apt-repository multiverse sudo apt update sudo apt install steam
```

## yarn
```bash
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
```
