Linux開發環境搭建——deepin系統的使用
阿新 • • 發佈:2021-03-13
上大學的時候就在自己的筆記本上安裝過深度作業系統(deepin),當時好像是15.x的版本。畢業後第一家公司是全Mac辦公,因在學校期間有過完全Linux環境下的開發體驗,上手Mac非常快、非常爽。前段時間換了工作,當前公司用的是桌上型電腦。於是,入職當天重灌了deepin系統,也就有了此篇部落格。隨手記錄,方便你我他。持續更新~~
![](http://img2020.cnblogs.com/blog/1546632/202103/1546632-20210313094732650-727017849.png)
deepin最新版本下載
[https://www.deepin.org/zh/download/](https://www.deepin.org/zh/download/)
如何安裝deepin
[https://www.deepin.org/zh/installation/](https://www.deepin.org/zh/installation/)
當前版本deepin20.1,開箱就內建了很多實用的軟體。但作為軟體開發人員,還需要安裝一些開發中常用的工具與軟體。
## 常用軟體安裝
```bash
sudo apt-get install git -y
sudo apt-get install curl -y
sudo apt-get install zsh -y
sudo apt-get install xsel -y
sudo apt-get install htop -y
```
Oh My Zsh安裝:
[https://ohmyz.sh/](https://ohmyz.sh/)
Chrome瀏覽器常用外掛
- AdBlock
- Tampermonkey
- JSON Formatter
- Sourcegraph
- Octotree
- GitCodeTree
- XPath Helper
- yuque-helper
- Google翻譯
搜狗輸入法:
[https://pinyin.sogou.com/linux/](https://pinyin.sogou.com/linux/)
JDK:
[https://enos.itcollege.ee/~jpoial/allalaadimised/jdk8/](https://enos.itcollege.ee/~jpoial/allalaadimised/jdk8/)
JetBrains全家桶:
[https://www.jetbrains.com/zh-cn/products/](https://www.jetbrains.com/zh-cn/products/)
IntelliJ IDEA:
[https://www.jetbrains.com/zh-cn/idea/download/other.html](https://www.jetbrains.com/zh-cn/idea/download/other.html)
DataGrip:
[https://www.jetbrains.com/zh-cn/datagrip/download/other.html](https://www.jetbrains.com/zh-cn/datagrip/download/other.html)
VSCode:
[https://code.visualstudio.com/Download](https://code.visualstudio.com/Download)
百度網盤客戶端(官方已有Linux版):
[https://pan.baidu.com/download/](https://pan.baidu.com/download/)
docker安裝
[https://wiki.deepin.org/wiki/Docker](https://wiki.deepin.org/wiki/Docker)
另外附上別人已經整理好的安裝指令碼(實測沒毛病, 強烈推薦)
[https://gist.github.com/madkoding/3f9b02c431de5d748dfde6957b8b85ff](https://gist.github.com/madkoding/3f9b02c431de5d748dfde6957b8b85ff)
命令匯入OpenVPN檔案:
[https://github.com/linuxdeepin/dde-control-center/issues/43](https://github.com/linuxdeepin/dde-control-center/issues/43)
[https://bbs.deepin.org/post/205870](https://bbs.deepin.org/post/205870)
```bash
sudo nmcli connection import type openvpn file your-own-openvpn-profile-config-file.ovpn
```
此外在deepin的應用商店可方便的安裝很多常用軟體,比如:
微信、QQ、WPS、迅雷、Postman、Wireshark、網易雲音樂等等
其他:
[https://github.com/shadowsocksrr/electron-ssr](https://github.com/shadowsocksrr/electron-ssr)
## 常見問題彙總
下面是使用deepin過程中遇到的常見問題彙總。持續更新~~
### 快捷鍵衝突
參考:[https://www.jianshu.com/p/4bbae666abff](https://www.jianshu.com/p/4bbae666abff)
IDEA中有好幾個常用的快捷鍵被deepin系統佔用了,非常難受,我是不願意修改IDEA預設快捷鍵的(通用的多好哇),所以嘗試去修改deepin系統預設快捷鍵。
```bash
# 檢視哪些快捷鍵被佔用了,記得用grep過濾
gsettings list-recursively
# 取消Ctrl+Alt+U
gsettings set com.deepin.dde.keybinding.system translation '[]'
```
修改被系統佔用的快捷鍵`Ctrl+Alt+B`,這樣IDEA中就能happy地使用了。
![](http://img2020.cnblogs.com/blog/1546632/202103/1546632-20210313093911720-306157024.png)
## 寫在後面
當前只是記錄了少許痕跡,隨著後續對deepin的深度使用,更多使用建議與問題彙總將記錄於此。也歡迎朋友在評論區留言,分享你的常用軟體與經驗