Correct posture for installing codeblocks under Ubuntu

Source: Internet
Author: User

Learn new things, do some development under Linux, choose to use C

Talk about the university with self-study of JS mixed the test of C, this thought this life no chance to use, really secular newspaper, come fast AH ~ ~

OK, vi What do not say, in the win platform by vs served, or accustomed to have an integrated environment, a good choice of death Codeblocks,linux and choose Ubuntu. Well, after that is the beginning of the crash, a variety of installation does not, toss after a long time finally installed, but also a variety of programs to complain. Ask Niang, check forum, all unintelligible, finally in Codeblocks official website After careful search, found the cause of the problem: installation posture is incorrect. Below I say the correct installation posture, make a record, also give the latter a convenient, do not be searched out that a mess of the introduction of the tutorial pit to hit the computer.


First of all, you have to install Ubuntu, which version is OK, recommend LTS, stable, easy to use.

Then, visit https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable to find the bold paragraph in English on the page, and by "PPA:" "ppa:damien-moore/codeblocks-stable". Be sure to go to the page to check, different codeblocks version, not the same.

Next, open the terminal and start knocking:

sudo add-apt-repository ppa:damien-moore/codeblocks-stable

After entering the password, you will be prompted to "enter" to continue, and then if all OK, you will install this PPA source.

Keep knocking:

sudo apt-get update

To update the source, this process will download something, please keep the network unblocked. Finally, start the installation:

sudo apt-get install codeblocks

OK, as long as the network is not a problem, it is done, Codeblocks will be successfully installed.

All that remains to be done is to drag the shortcut to the launcher for easy opening.


Alas, the four-step approach, led by various tutorials on the internet, has been heavily loaded for several times.

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.