Chat with us, powered by LiveChat Extract all files in the tar to another directory. - EssayAbode

Extract all files in the tar to another directory.

LINUX LAB 7:

LINUX SOFTWARE MANAGEMENT

This lab will let your practice installing and removing software.

INSTRUCTIONS

  1. Query installed packages with the dpkg or dpkg-query command and answer the questions/take screenshot where appropriate
    1. Browse programs installed in your system. What is a more effective way to browse this list?
    2. Use “dpkg -l” command to query currently installed software. How many programs are currently installed?
    3. Search packages related to “Firefox”, and save the result to a file. How many packages are there?
    4. What are the files related to “Firefox”? Please use a command to list these files in the /etc directory.
  1. Use apt-get or apt-cache commands. Take screenshots of the following:
    1. Look for the following programs in the APT repository. Can you locate it? How to deal with the situation where too many results are returned?
      1. tree – take a screenshot of the terminal which clearly shows this program is found.
      2. p7zip
    2. Install/remove the programs using apt-get command line.
  1. Compile and install the “hello” program Take screenshots of the following:
    1. Visit Index of /gnu/hello and download a “hello” sample program. For example, here is a direct link to one version:hello-2.3.tar.gz. Use a browser or “wget” command to download.
    2. Extract the directory “hello-2.3” to your working directory. You may use the Gnome file-roller

archive manager or the “tar” command.

  1. Go to the “hello-2.3” directory, and view the files. View the “INSTALL” file to get compilation and installation instructions.
  2. Execute the configure file for configuration (remember to type “./configure” – why?).
  3. Use the “make install” command to compile and install the program.
  4. Make sure the installation is good
    1. Type “hello” at the command line.
    2. Add the “-v” option to see its version.
    3. Use “whereis” command to see where this program is installed.
    4. Take a screenshot of the terminal which clearly shows execution results of the three steps above
  1. Tar your home directory. Take a screen shot of the following:
    1. Create a tar file files withoutcompression.
    2. Create a tar file with compression.
    3. Compare the two files in terms of file size.
    4. List file content.
    5. Extract all files in the tar to another directory.

Related Tags

Academic APA Assignment Business Capstone College Conclusion Course Day Discussion Double Spaced Essay English Finance General Graduate History Information Justify Literature Management Market Masters Math Minimum MLA Nursing Organizational Outline Pages Paper Presentation Questions Questionnaire Reference Response Response School Subject Slides Sources Student Support Times New Roman Title Topics Word Write Writing