安裝gcc
- 更新sudo apt-get update
- 下載gcc sudo apt-get install gcc
- 參考鏈接?不推薦
安裝g++
- 下載g++?sudo apt-get install g++
安裝make
- sudo apt -get install make
- 參考鏈接
安裝cmake
- 下載地址
- 參考鏈接
安裝ssh
- sudo apt-get install ssh?
安裝git和配置
- sudo apt-get install git
- 配置?
- git config --global user.name "xxxxxxxx"
- git config --global user.email "xxxxxxxxx@qq.com"
- ssh-keygen -t rsa -C "xxxxxxxxxxxxxx@qq.com"
- .ssh/id_rsa.pub 將其拷貝到github的ssh里面
- 參考鏈接
- 參考鏈接
安裝git-lfs
sudo apt install git-lfs
安裝sqlite3
- sudo apt-get install sqlite3
- sudo apt-get install libsqlite3-dev? ?安裝這個才可以在clion頭文件里面通過 include引用
安裝sqlite_orm文件
- 先安裝 vcpkg
- git clone https://github.com/Microsoft/vcpkg.git ?
- cd vcpkg ?//進入源碼目錄
- 使用命令 sudo apt-get install curl unzip tar安裝curl unzip和tar軟件
- ./bootstrap-vcpkg.sh //執行./bootstrap-vcpkg.sh進行編譯安裝,這個過程很慢
- 安裝sqlite3_orm
- ./vcpkg install sqlite-orm
- 參考鏈接
安裝Openssl
- sudo apt-get install openssl
- sudo apt-get install libssl-dev
- 參考鏈接
安裝Tcl和Tk
- 下載地址
- 參考鏈接
安裝tcl-expect-dev
- sudo apt-get install tcl-expect-dev
- 參考鏈接
安裝boost
- sudo apt-get install libboost-all-dev
- 如果缺少對應的庫文件 比如missing:locale? 使用命令 apt-get install libboost-locale-dev
- 參考鏈接
安裝clang-format
- 規范代碼 格式檢查
- sudo apt-get install clang-format
- 參考鏈接
安裝Clion
- 最簡單的方式?sudo snap install clion --classic
- 使用安裝包的方式?下載地址
- 參考鏈接