Ubuntu下安裝Code::Blocks16.01
背景介紹
Ubuntu下直接用sudo apt-get install codeblocks
安裝的Code::Blocks13.12,而不是Code::Blocks16.01
Ubuntu的軟件中心也只有Code::Blocks13.12
官網上居然沒有提供.deb安裝包,以及不想用源碼編譯 (逃
只能通過下面的方式來安裝C::B16.01,希望能幫助到一些需要的人
準備操作
sudo apt-get install build-essential
sudo apt-get install gdb
安裝Code::Blocks16.01
sudo add-apt-repository ppa:damien-moore/codeblocks-stable
sudo apt-get update
sudo apt-get install codeblock
sudo apt-get install codeblocks-dbg
sudo apt-get install codeblocks-contrib
sudo apt-get install valgrind-dbg
安裝wxWidgets(可選)
sudo apt-get install libwxbase3.0
sudo apt-get install libwxbase3.0-dev
sudo apt-get install libwxgtk3.0-0
sudo apt-get install libwxgtk3.0-dev
sudo apt-get install wx-common
sudo apt-get install wx3.0-headers
sudo apt-get install wx3.0-i18n