Linux开发环境配置

Linux开发环境配置

经常需要配置Linux开发环境,记录一份Debian系的开发环境配置

Debian开发环境配置

# 设置apt代理
# 编辑/etc/apt/apt.conf.d/95proxies
/cat /etc/apt/apt.conf.d/95proxies 
Acquire::http::proxy "http://ip:port";
Acquire::https::proxy "http://ip:port";

# 安装基础开发包
sudo apt install build-essential

#一些工具
# 安装qt
sudo apt install qtcreator qt5-doc-html qtbase5-examples qtbase5-doc  qt5-qmake
sudo apt source qt5-default

# 安装参考手册
sudo apt install manpages-de manpages-de-dev manpages-dev glibc-doc manpages-posix-dev manpages-posix 
sudo apt install devhelp

#安装Zsh
sudo apt install zsh
chsh -s /bin/zsh

#安装vscode
#https://code.visualstudio.com/docs/setup/linux
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt update
sudo apt install code # or code-insiders

# 安装vim
sudo apt install vim
# 安装git
sudo apt install git gitg
# 安装clang
sudo apt install clang clang-tools
# 安装cppcheck
sudo apt install cppcheck cppcheck-gui
# 安装doxygen
sudo apt install doxygen graphviz graphviz-doc doxygen-doc
# 安装valgrind
sudo apt install valgrind
# 安装ctags
sudo apt install universal-ctags

posted @ 2022-08-28 23:34  main_c  阅读(98)  评论(0编辑  收藏  举报