Ubuntu12.04 install codeblock12.11

Source: Internet
Author: User
I. Ubuntu1404 has been released, but I still use version 1204, mainly because my laptop is a dual-system. I am worried about the problems caused by the upgrade.

I:

Ubuntu 14.04 has been released, but I still use 12.04, mainly because my laptop is a dual-system. I am worried that the upgrade will cause unnecessary troubles. So 12.04 is still in use. Codeblocks is a good tool in C/C ++ development IDE in Linux. The latest version is Codeblocks 13.12. But an error occurred while installing Codeblocks 14.12. (Two installation methods: 1. download the Codeblocks 13.12 package and install it in the command line. 2. install it directly in the Ubuntu Software Center. All failed. Refer to http://qtlinux.blog.51cto.com/3052744/1362921 failure information:

Dpkg: the configuration of codeblocks cannot continue due to dependency issues:

Codeblocks depends on libfontconfig1 (> = 2.9.0); however:
In the system, the version of libfontconfig1 is 2.8.0-3ubuntu9. 1.
Dpkg: An error occurred while processing codeblocks (-- install:
Dependency problem-not configured
Setting codeblocks-common (13.12-1 )...
Dpkg: the dependency problem makes the configuration of codeblocks-contrib unable to continue:
Codeblocks-contrib depends on libfontconfig1 (> = 2.9.0); however:
In the system, the version of libfontconfig1 is 2.8.0-3ubuntu9. 1.
Codeblocks-contrib depends on libgamin0; however:
Libgamin0 is not installed.
Codeblocks-contrib depends on codeblocks (= 13.12-1); however:
The software package codeblocks is not configured yet.
Dpkg: An error occurred while processing codeblocks-contrib (-- install:
Dependency problem-not configured
Setting codeblocks-contrib-common (13.12-1 )...
Dpkg: the dependency problem makes the configuration of codeblocks-contrib-dbg unable to continue:
Codeblocks-contrib-dbg depends on codeblocks-contrib (= 13.12-1); however:
The software package codeblocks-contrib is not configured yet.
Dpkg: An error occurred while processing codeblocks-contrib-dbg (-- install:
Dependency problem-not configured
Dpkg: the dependency problem makes the configuration of codeblocks-dbg unable to continue:
Codeblocks-dbg depends on codeblocks (= 13.12-1); however:
The software package codeblocks is not configured yet.
Dpkg: An error occurred while processing codeblocks-dbg (-- install:
Dependency problem-not configured

It should be caused by insufficient libfontconfig1 versions. But I am worried that the installation of libfontconfig1 (> = 2.9.0) will be incompatible with ubuntu 12.04 .)

So I want to install Codeblocks 12.11.

II. installation steps

1. download and install the dependent package

Libhunspell-1.2-0_1.2.11-1ubuntu1_i386.deb can be found directly by google. Or download http://download.csdn.net/detail/liaoqianwen123/7279643 here

2. open the terminal and install the dependency package:

Sudo dpkg-I libhunspell-1.2-0_1.2.11-1ubuntu1_i386.deb

3. install the dependent package libgamin0 and search for it in the Ubuntu Software Center. Note that this dependency package is not installed. When Codeblocks is started after the installation is complete, a warning message is displayed: warnig:
One or more plugins were not loaded. this usually happens when a plugin is built for a different version of the code: blocks sdk. check the application log for more info.
List of failed plugins:
LibFileManager. so

4. Download: codeblocks_12.11-2_i386-debian-stable.tar.bz2 this installation package. On the Codeblocks official website, download the latest version 13.12, so you have to search for it. You can also download http://download.csdn.net/detail/liaoqianwen123/7279657 here

Right click ---> extract and decompress

5. enter the compressed Directory

Sudo dpkg-I *. deb install all deb packages

6. the following errors may occur:

An error occurred during processing:

Codeblocks-contrib

Install codeblocks-contrib separately

Sudo dpkg-I codeblocks-contrib-common_12.11-2_all.deb

Installation complete

Enter codeblocks to start
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.