Hi all, I was assigned to work in my lab for my SPO600 class. Here is the outline of the specifications:
- Select a software package from the Free Software Foundation’s GNU Project.
- 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 user.
- Test that it works.
- Select a second, open source software package that has a different license, and repeat the process with that software.
- Blog about the process, your results, your observations, and what you learned.
1. Select a software package from the Free Software Foundation’s GNU Project.
I Download 2 software package from the GNU website.
The first one is Bash.
According to Bash website, Bash is the GNU Project’s shell. Bash is the Bourne Again SHell. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification.
The improvements offered by Bash include:
- Command line editing
- Unlimited size command history
- Job Control
- Shell Functions and Aliases
- Indexed arrays of unlimited size
- Integer arithmetic in any base from two to sixty-four
- I started with downloading the file from the website on my Fedora VM.
- I went to the folder and open the INSTALL file to find the instruction of the installation.
- Then executed the command “$ ./configure ” and it worked nicely.
- I followed the instruction to run “$ make ” and it worked
- The last step is to run “$ make install” But It was failed because of the installing folder require the permission from the root user so I replace the command with “$ sudo make install ” and it worked nicely again.
- I test the program by using these command “$ man bash” to check the manual page, “$ bash –help” to check the version and “$ whereis bash” to check the location.
GLib (aka GTK+)
According to gtk, GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites.
GTK+ has been developed for over a decade to be able to deliver the enticing features and superb performance that it brings to your application development. GTK+ is supported by a large community of developers and has core maintainers from companies such as Red Hat, Novell, Lanedo, Codethink, Endless Mobile and Intel.
- This one took a while to install because it required more dependencies such as cairo-gobject, pango, atk and gdk-pixbuf.
- So I ran “$ sudo yum install dependenciesName” for the dependencies in step 1
- Then ran some External dependencies: libepoxy, xlib, at-spi2-atk.
- After step 3, I had a completed “$ ./configure” command
- So I ran “$ make” and $ sudo make install”
- So for testing, I had the application be installed and go to the example folder of gtk and run the C program with “$ gcc hello-world.c -o base
pkg-config --cflags --libs gtk+-3.0 "