Open main menu

CDOT Wiki β

Changes

SPO600 Code Building Lab

389 bytes added, 11:43, 11 September 2018
Build an open source software package
# Select an open source software package from the [http://www.gnu.org/software/software.html Free Software Foundation's GNU Project] or another open source project.
# Download the source code for the software. (Do not install with dnf/yum!)
# Build the software. You may need to install build dependencies (e.g., compilers, tools, and libraries); you can do this (and only this) as the root userusing dnf/yum. For example, if you need <code>cmake</code>, run the command <code>sudo dnf install cmake</code>, and if you need the library <code>ncurses</code>, then run the command <code>sudo dnf install ncurses-devel</code> (the <code>-devel</code> specification will cause dnf to install the header files as well as the library, so that you can build software that uses that library).
# Without installing the new software that you just build (because that could override the existing and working version), test that it works.
# Blog your results. Explain (don't just document) each of the steps required to build your software and any dependencies you need to install. Include your reflections on the process.