How to compile and install the source code in Ubuntu

Source: Internet
Author: User
To compile the source code package in Ubuntu, you must first install build-essential. you can use the following command to install the build-essential.sudoapt-getinstallbuild-essentialcheckinstall. Of course, if you don't like the apt-get command, you can also install build-essential and checkinstall with the new one. now we need to compress the downloaded files.

To compile the source code package in Ubuntu, you must first install build-essential. You can use the following command to install build-essential.

Sudo apt-get install build-essential checkinstall

Of course, if you do not like to use the apt-get command, you can also use the new version to install build-essential and checkinstall.

Token)

Tar-xvzf linuxidc.tar.gz

To decompress the. ZIP file, run the following command:

Unzip linuxidc.zip

Now go to the main directory of the extracted file and run the following command:

Cd/pathhere

Run the following command:

./Configure

Next

Make

Finally

Sudo make install

To compile a Debian (. deb) file, run the following command:

Sudo checkinstall

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.