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.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?