官术网_书友最值得收藏!

Installing Code::Blocks on Linux>

Code::Blocks runs numerous Linux distributions. In this section we'll learn about installation of Code::Blocks on CentOS linux. CentOS is a Linux distro based on Red Hat Enterprise Linux and is a freely available, enterprise grade Linux distribution. Perform the following steps to install Code::Blocks on Linux OS:

  1. Navigate to Settings | Administration | Add/Remove Software menu option. Enter wxGTK in the Search box and hit the Enter key. As of writing wxGTK-2.8.12 is the latest wxWidgets stable release available. Select it and click on the Apply button to install wxGTK package via the package manager, as shown in the following screenshot.
  2. Download packages for CentOS 6 from this URL—http://www.codeblocks.org/downloads/26.

    Unpack the .tar.bz2 file by issuing the following command in shell:

    tar xvjf codeblocks-12.11-1.el6.i686.tar.bz2
    
  3. Right-click on the codeblocks-12.11-1.el6.i686.rpm file as shown in the following screenshot and choose the Open with Package Installer option.
  4. The following window will be displayed. Click on the Install button to begin installation, as shown in the following screenshot:
  5. You may be asked to enter the root password if you are installing it from a user account. Enter the root password and click on the Authenticate button. Code::Blocks will now be installed.
  6. Repeat steps 4 to 6 to install other rpm files.

We have now learned to install Code::Blocks on the Windows and Linux platforms. We are now ready for C++ development. Before doing that we'll learn about the Code::Blocks user interface.

主站蜘蛛池模板: 嘉义市| 德江县| 扎囊县| 武穴市| 叙永县| 古蔺县| 玛纳斯县| 晴隆县| 石狮市| 黄平县| 商城县| 彩票| 桓台县| 海原县| 阿拉尔市| 桦川县| 朝阳县| 高安市| 南郑县| 奉新县| 翁牛特旗| 革吉县| 武定县| 叶城县| 绥中县| 景洪市| 莎车县| 麻栗坡县| 岗巴县| 双桥区| 潢川县| 松阳县| 怀柔区| 德化县| 洛宁县| 藁城市| 朔州市| 含山县| 锡林浩特市| 拜泉县| 大同县|