Source code and Tarball

Source: Internet
Author: User
Source code and Tarball-general Linux technology-Linux programming and kernel information. The following is a detailed description. Related Terms:
Binary file ==> binary file, that is, the execution program for linux, such as/usr/bin/passwd.

Shared libs ==> dynamic function library

Makefile or makefile ==> records detailed information about how to compile the source code. make automatically identifies whether the source code has been changed and updates the execution file.

Configure or config => is used to detect the System Configuration environment. After the detection is completed, you must create a makefile file.

1. file/bin/bash: If you want to know whether the file is a data file or binary file, use file to view the file. If the file is binary file and executable, ELF 32-bit LSB executable is displayed, whether shared libs is used

2. in linux, the most standard programming language is C, and the most standard language compiler is gcc.

3. The function library can be called by users to reference a function. You must add the referenced function library during programming.

4. linux provides many core related function libraries and external parameters. These core functions are quite useful when designing hardware drivers. Most of these core information is stored in/usr/include,/lib, /usr/lib

5. Different linux environments, such as cd programs under Centos, cannot be obtained through SuSe.

6.tarballfile, which is usually suffixed with tar.gz or tgz. After the Tarball package is decompressed, there will usually be source code files, detection program files, and installation instructions (INSTALL or README)

7. Why should I upgrade a new suite?
1. New features are required, but no version kit is available. Therefore, you need to upgrade to the new version kit.
2. the old version of the suite may have security concerns, so you need to update it to the new version of the suite.
3. The execution efficiency of earlier versions of suites is poor, or the execution capability cannot satisfy managers.

8. What are the update methods?
1. Install and upgrade directly with source code through compilation
2. Directly compiled binary file to install and upgrade ==> this is an update method, such as RPM, up2date, yum, and dpkg.

9. How is the Tarball installed?
1. Download Tarball
2. decompress the Tarball
3. Compile source code with gcc (object files will be generated)
4. Use gcc for function libraries and links of the main sub-programs to form the main binary file
5. Install the preceding binary file and related setting files on your host.
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.