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 - Linux Tutorial
From the course: Linux: Package Management for CentOS
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Linux software installation types3m 20s
-
Download packages and install5m 33s
-
(Locked)
Install from a software repository3m 9s
-
(Locked)
Install from source code1m 56s
-
(Locked)
Debian software package format2m 26s
-
(Locked)
Red Hat software package format2m 42s
-
(Locked)
Why multiple package formats?3m 11s
-
(Locked)
Linux package management systems2m 43s
-
(Locked)
-
-
-
-