常用軟件
- openssh-server
- Git
- 百度輸入法
- Docker
- VSCode
- 百度網(wǎng)盤
- Markdown 編輯器
安裝 openssh-server
$ sudo apt-get update
$ sudo apt-get install openssh-server
$ sudo ps -e |grep ssh # sshd服務(wù)是否開啟,開啟說明啟動成功
Git
$ sudo apt-get install git
百度輸入法
- 下載輸入法安裝包. 點擊此處進入下載頁面
- 通過命令行更新系統(tǒng)(如果因網(wǎng)絡(luò)連接問題無法更新乘粒,可以選擇換源)
$ sudo apt-get update
$ sudo apt-get upgrade
- 通過命令行安裝aptitude
$ sudo apt-get install aptitude
- 通過命令行利用aptitude 安裝fcitx胞锰、qt
$ sudo aptitude install fcitx-bin fcitx-table fcitx-config-gtk fcitx-config-gtk2 fcitx-frontend-all
$ sudo aptitude install qt5-default qtcreator qml-module-qtquick-controls2
- 如果右上角沒有出現(xiàn)fcitx巩检,在終端中輸入im-config進行配置
- 通過命令行安裝百度輸入法
$ sudo dpkg –i fcitx-baidupinyin.deb
- 重啟完成即可使用(如果沒有恶导,需在右上角fcitx配置中添加百度輸入法)
*卸載命令:
$ sudo dpkg --purge remove fcitx-baidupinyin:amd64
Docker 安裝
- 安裝 Docker Engine-Community
$ sudo apt-get update
# $ sudo apt-get install docker-ce docker-ce-cli containerd.io
$ sudo apt install docker.io
or
$ sudo snap install docker
- 創(chuàng)建docker用戶組俭正,加入docker組(不用以管理員權(quán)限運行docker命令)
# 創(chuàng)建docker用戶組
$ sudo groupadd docker
# 加入docker用戶組
$ sudo usermod -aG docker ${USER}
# 重啟docker服務(wù)
$ sudo systemctl restart docker
# 切換或者退出當前賬戶再從新登入
$ su root # 切換到root用戶
$ su ${USER} # 再切換到原來的應(yīng)用用戶以上配置才生效
VSCode 安裝
我收集了3種安裝方法性昭,其中第二種沒有經(jīng)過驗證撇眯。
- 下載VSCode 安裝包. 點擊此處進入下載頁面
$ sudo apt install <VSCODE>.deb
- umake
# Installation
$ sudo apt-get install ubuntu-make
$ umake ide visual-studio-code
# Remove command
umake ide visual-studio-code --remove
- Snap
$ sudo snap install code --classic
百度網(wǎng)盤
- 下載百度網(wǎng)盤安裝包. 點擊此處進入下載頁面
- 執(zhí)行安裝命令
$ sudo dpkg -i baidunetdisk_linux_2.0.1.deb # 注意替換安裝包的名字
Markdown 編輯器
個人比較喜歡過Typora, 安裝也算比較簡單
#1. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
1. wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
2. sudo add-apt-repository 'deb https://typora.io ./linux/'
3. sudo apt-get update
4. sudo apt-get install typora
也可以在ubuntu自帶應(yīng)用商店里搜索Typora 點擊安裝