Linux under the compiled source installation software

Source: Internet
Author: User

Reference:http://itlab.idcquan.com/linux/set/39862.html

It's basically three steps:

To compile and install Codeblocks as an example:

First unpack the source package, assuming the decompression to/tmp

1.

Terminal run./configure

The system will then automatically check the compilation environment if a missing part will prompt and stop. Just follow the prompts to install the missing packages.

For example No package ' gtk+-2.0 ' found, tips missing gtk2.0 (but I have installed gtk2.8 ah hello)

No way, had to apt-get install Libgtk2.0-dev, solved the

2.make

Start compiling

3.sudo make Install

Start installation

4. Input codeblocks run under terminal

An error occurred: Codeblocks:error while loading shared libraries:libcodeblocks.so.0:cannot open Shared object file:no such file or directory

Description The system did not find the dynamic link library

Workaround: (reference:http://www.linuxdiyf.com/viewarticle.php?id=90053)

sudo vi/etc/ld.so.conf, add include/usr/local/lib at the end of the file, save exit

sudo ldconfig

Then you can run it ~

Linux under the compiled source installation software

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.