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.
- Query installed packages with the dpkg or dpkg-query command and answer the questions/take screenshot where appropriate
- Browse programs installed in your system. What is a more effective way to browse this list?
- Use “dpkg -l” command to query currently installed software. How many programs are currently installed?
- Search packages related to “Firefox”, and save the result to a file. How many packages are there?
- What are the files related to “Firefox”? Please use a command to list these files in the /etc directory.
- Use apt-get or apt-cache commands. Take screenshots of the following:
- 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?
- tree – take a screenshot of the terminal which clearly shows this program is found.
- p7zip
- Install/remove the programs using apt-get command line.
- 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?
- Compile and install the “hello” program Take screenshots of the following:
- 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.
- Extract the directory “hello-2.3” to your working directory. You may use the Gnome file-roller
archive manager or the “tar” command.
- Go to the “hello-2.3” directory, and view the files. View the “INSTALL” file to get compilation and installation instructions.
- Execute the configure file for configuration (remember to type “./configure” – why?).
- Use the “make install” command to compile and install the program.
- Make sure the installation is good
- Type “hello” at the command line.
- Add the “-v” option to see its version.
- Use “whereis” command to see where this program is installed.
- Take a screenshot of the terminal which clearly shows execution results of the three steps above
- Tar your home directory. Take a screen shot of the following:
- Create a tar file files withoutcompression.
- Create a tar file with compression.
- Compare the two files in terms of file size.
- List file content.
- Extract all files in the tar to another directory.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.