How to Install C++ Programs From Source Code Using Make in WSL2
Original Source Here
Glossary:
The Shell is an interpreter that presents the command-line interface to users to let them interact with the kernel. It lets them control the computer using commands entered from a keyboard. It also translates the commands from the programming language into the machine language for the kernel.
[Return]
The Interpreter is a program that reads through programs that are written in human-readable programming languages and executes the instructions from top to bottom. It translates each instruction to a machine language the
hardware can understand, executes it, and proceeds to the next instruction.
[Return]
The Command-Line Interface (CLI) is also known as the terminal or console. It’s a program that accepts text input from users to execute commands on the operating system. It lets users configure the computer, install software, and access features that aren’t available in the graphical user interface.
[Return]
The Kernel is the program at the core of the operating system that controls everything in the system. It’s responsible for memory management, process management, disk management, and task management. It also facilitates communication between the programs and hardware in machine language.
[Return]
The wslvar command is used to access all the environment variables from Windows 10 in WSL2. It specifies the environment variable but it doesn’t require the variable name to be enclosed with percentage signs. It can also be combined with command substitution to store the output in a variable.
[Return]
The Variable is the container that’s used to store different types of values. It can assign or update a value by placing an equals sign between the specified variable name and value without space around it. It can also reference the stored value by placing the dollar sign in front of an existing variable name.
[Return]
The Environment Variable is a variable that’s created and maintained by the computer. It helps programs know where to install files, look for programs to run, and find user profile and system settings. It can also be accessed by programs and the command-line interface from anywhere on the computer.
[Return]
Git is a version control system that’s used to track changes that are made to the source code over time. It’s designed to handle projects of all sizes and to allow multiple people to make changes to the same repository. It can also revert the source code to specific versions from the history of the repository.
[Return]
The Submodule is a repository that’s nested inside of a different repository as a subdirectory. It contains a copy of all the files from a specific version of the repository at a particular point in time. It also contains a copy of all the submodules within the submodule that are considered its dependencies.
[Return]
The Unix System Resource (usr) directory is a subdirectory within the root directory of the Linux file system that contains all the programs that aren’t required to boot the system. It has its own set of subdirectories for binaries, libraries, and documentation that’s installed by package managers. It also doesn’t protect its programs from being overwritten during system updates.
[Return]
The MakeFile is a text file that’s made up of shell commands unless specified otherwise. It contains all the instructions that are used to build a program for a specific computer from source code. It also gets created by running the configure script on the same computer that the program is going to run on.
[Return]
The Weight is a random number that’s multiplied by the input to transform data that’s passed between two nodes in the hidden layers of an artificial neural network (ANN). It’s a learnable parameter that’s used to determine how much influence a feature has on the prediction. It’s also updated and optimized during training to increase the accuracy of its future predictions.
[Return]
AI/ML
Trending AI/ML Article Identified & Digested via Granola by Ramsey Elbasheer; a Machine-Driven RSS Bot
via WordPress https://ramseyelbasheer.wordpress.com/2020/11/30/how-to-install-c-programs-from-source-code-using-make-in-wsl2-2/