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

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.

主站蜘蛛池模板: 绿春县| 晋城| 修武县| 宁波市| 德惠市| 临武县| 大田县| 绥阳县| 青铜峡市| 河北区| 甘孜| 神木县| 石屏县| 阳东县| 辉县市| 宜丰县| 伊春市| 阿勒泰市| 剑阁县| 轮台县| 安顺市| 奉贤区| 德令哈市| 汕尾市| 大厂| 平邑县| 大同县| 惠来县| 桃江县| 农安县| 曲靖市| 顺义区| 滕州市| 邮箱| 襄汾县| 渭南市| 交城县| 得荣县| 维西| 余干县| 保靖县|