Problem

In this hands-on project, you compile and install a program from source code. 1. Switc...

In this hands-on project, you compile and install a program from source code.

1. Switch to the gdm by pressing Ctrl+Alt+F1 or Ctrl+Alt+F7 and log in to the GNOME Desktop Environment using the user name of sample user one and the password of secret.

2. Start the Firefox Web browser and download the gzipped source code tarball for Bluefish 2.0.1 or later from http://sourceforge.net to the /home/user1/Downloads folder. The file should be called bluefish-2.0.1.tar.gz. (If you downloaded a version of Bluefish later than 2.0.1, make sure you modify the commands used in this section to reflect the version you have downloaded.)

3. Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of secret.

4. At the command prompt, type cp ~user1/Downloads/bluefish-2.0.1.tar.gz ~ and press Enter to copy the bluefish source code tarball to your home directory. Does the filename of the bluefish tarball indicate the architecture for which the source code was designed? Explain.

5. At the command prompt, type tar –zxvf bluefish-2.0.1.tar.gz and press Enter to uncompress and extract the contents of the tarball. Next, type ls -F at the command prompt and press Enter. What directory was created?

6. At the command prompt, type cd bluefish-2.0.1 and press Enter. Next, type ls -F at the command prompt and press Enter. Is there an executable configure program? Are there README and INSTALL files present?

7. At the command prompt, type less README and press Enter. Scroll through the output on the terminal screen. What does the bluefish program do? When finished, press q to quit the less utility.

8. At the command prompt, type less INSTALL and press Enter. Scroll through the output on the terminal screen. What does this file contain? When finished, press q to quit the less utility.

9. At the command prompt, type ./configure and press Enter. What does this program do? Near the bottom of the output, can you see whether the Makefile was created successfully?

10. At the command prompt, type make and press Enter. This step should take about five minutes, depending on the speed of your computer. What does the make program do? Which program compiles the different parts of the program?

11. At the command prompt, type make install and press Enter. What does the make install command do?

12. At the command prompt, type cd and press Enter to return to your home directory. Next, type rm –Rf bluefish-2.0.1 to remove the source code directory for bluefish.

13. At the command prompt, type which bluefish and press Enter. Which directory contains the bluefish executable program? Is a central database updated with this information as it was when the bluefish RPM was installed in this chapter?

14. Type exit and press Enter to log out of your shell.

15. Switch back to your GNOME Desktop Environment by pressing Ctrl+Alt+F1 or Ctrl+Alt+F7 and open a BASH terminal.

16. Type bluefish & at the command prompt and press Enter. Observe the bluefish interface. When finished, close the bluefish program, close the terminal shell, and log out of the GNOME Desktop Environment.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 11