From the course: Linux: Package Management for CentOS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install from source code

Install from source code - Linux Tutorial

From the course: Linux: Package Management for CentOS

Start my 1-month free trial

Install from source code

- [Instructor] The last method of installing software is from source code. Source code is a listing of computer instructions usually stored as plain text. This plain text is passed through a compiler that turns it into a compiled binary which then can be executed. In order to compile and install programs from source, we first need to copy the source to our computers. These days this entails downloading it from the Internet. We'll also need to install the compiler and any other development tools for the language that the software is written in. For example, C or C plus plus. We may also need to install other source code for various parts of the operating system called Headers. This is needed in many cases because they're referenced by the program we're compiling. After we have the program source, and the development tools and the headers we can compile the software. Depending on how big it is, it could take seconds or days. Years ago when computers weren't as fast, it took me 19 hours…

Contents