add basic commands and modules

This commit is contained in:
Stefan Sitani 2017-12-14 15:07:36 +01:00
parent f285d25942
commit cd28b5373a
No known key found for this signature in database
GPG key ID: DF5A515DAEB19811
5 changed files with 77 additions and 4 deletions

View file

@ -0,0 +1,18 @@
[[compiling-your-application-from-source]]
= Compiling Your Application
// Note: It is preferable to use DNF to using source install. DNF can track what packages you have installed on your system. It facilitates updates and makes it easier to completely remove your files from your system
. Navigate to the directory containing your source:
+
[bash,subs="attributes+"]
----
cd <your_source_dir>
----
+
. Run the following command to compile and install your application:
+
[bash,subs="attributes+"]
----
./configure && make && make install
----

View file

@ -0,0 +1,24 @@
= Downloading the Source Code
. Navigate to the directory where you want to save the source:
+
[bash,subs="attributes+"]
----
cd <directory_name>
----
+
. Download the TAR file containing the source code you want to install from:
+
[bash,subs="attributes+"]
----
wget <source_location_URL>
----
+
. Extract the tarball file contents to the current working directory:
+
[bash,subs="attributes+"]
----
tar -xf <source_tar_filename>
----
You can perform the same actions using the GUI.

View file

@ -0,0 +1,8 @@
= Setting up a Development and Compiling Environment
Install packages form the _C Development Tools and Libraries_ group:
+
[bash,subs="attributes+"]
----
sudo dnf group install @c-development
----