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

@ -9,10 +9,25 @@ The instructions below are not prescriptive, but following them minimizes the ri
// include package management concept
include::{md}/concept_fedora-package-management.adoc[leveloffset=2]
// proc: downloading application source code
// proc: setting up a development and compilation environment
//proc: setting up a development and compilation environment
// - this includes installing missing dev packages using DNF
include::{md}/proc_setting-up-your-local-dev-and-compilation-environment.adoc[leveloffset=2]
// proc: downloading the application source code
include::{md}/proc_downloading-source-code.adoc[leveloffset=2]
include::{md}/proc_compiling_your_application_from_source.adoc[leveloffset=2]
// proc: installing the software using make
////
Fedora defaualt install is to /usr/local/
When make complains about missing devel packages, it is preferable to use dnf to install those packages as opposed to (the way make recommends) compiling those packages.
for troubleshooting red the debug output
Development Tools dnf group
////

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
----

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
----