QUESTION 1 When building and installing software from source code, in what order do you perform...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
QUESTION 1 When building and installing software from source code, in what order do you perform each of the following tasks? run the program make install (as root or with 'sudo`) make test (if there is a "test" target present in the Makefile) make examine the Makefile ./configure download a source tarball unpack the tarball cd into the extracted source code directory V read the README and INSTALL files, if present QUESTION 2 The collection of package files hosted on the web and provided by a Linux distribution for installs/updates is called a(n) O a. archive O b. ftp server O c. share O d. distribution O e. repository QUESTION 3 What does 'gzip -r /tmp/myfiles/* do? unzips the /tmp/myfiles/file. O creates a tarball of /tmp/myfiles/ O individually compresses each file in the /tmp/myfiles/directory compresses the /tmp/myfiles/ directory and all of its contents in place QUESTION 4 The command to check for updates to all packages currently installed on the system. yum update check update yum check-update O update QUESTION 5 The primary purpose of an archive utility is to shrink the size of a file on disk. O True O False QUESTION 6 An .rpm binary package contains all of the following EXECPT: O a. an archive of files to install O b. a makefile O c. version metadata O d. description metadata O e. dependency metadata QUESTION 7 Which command will remove an installed package called PKG from your system? O yum remove PKG O yum search PKG O yum clean PKG yum purge PKG O yum downgrade PKG QUESTION 8 Files with what two file extensions are commonly known as tarballs? 0.tar.gz O .ballz .tz .tar.b O.tarball O .tgz QUESTION 9 If yum' isn't working correctly, which command can you use to empty its local cache and force it to reread all of its data from the repository servers? O yum clean all O yum purge all O yum downgrade all O yum search all O yum remove all QUESTION 10 What command inspects your system and builds a machine-specific Makefile out of the Makefile template? O a. make b.configure C. make install O d. install QUESTION 11 Compression allows you to combine multiple files/folders into a single file. O True O False QUESTION 12 Match each term with its definition. compression ratio compressed size compression level A. how much a file has been reduced B. the file size after compression C. a setting which controls the CPU overhead required to compress and the resulting compression ratio QUESTION 13 The command can be used to search Internet software repositories for RPM packages that map to your architecture, and automatically install or upgrade those packages on your system. configure make O rpm O yum QUESTION 14 RPM packages that require other RPM packages to be installed on a system prior to being installed creates a relationship known as? O a. branching package O b. family package c. package dependency O d. recursing package QUESTION 15 What does 'tar -czvf myfiles.tgz /tmp/myfiles/* do? unzips the /tmp/myfiles/file. compresses the /tmp/myfiles/ directory and all of its contents in place O creates a tarball of /tmp/myfiles/ O unzips the myfiles.tgz file O individually compresses each file in the /tmp/myfiles/ directory QUESTION 16 When compressing a file, there is a trade-off between the amount of CPU time used and the compression ratio (and resulting file size). O True O False QUESTION 17 The .deb package format is the Debian/Ubuntu equivalent of a Fedora .rpm file. O True O False QUESTION 18 Compiling software from source allows you to build a system exactly to your needs, but you cannot receive automatic updates for self-compiled software from your distribution's repositories. O True O False QUESTION 19 The command to install the "tripwire" package from the Fedora repository. yum install tripwire rpm -i tripwire rpm tripwire install tripwire yum tripwire QUESTION 20 Maxing out the compression level always yields a significantly smaller file. O True O False QUESTION 21 Match each term with its definition. package manager update manager mixed system source code machine code (object code) compiler A. Human-readable program code which cannot be run directly on the CPU B. a utility that manages all of the packages on your system and available in a repository C. a utility that manages individual package files D. a system with software from more sources than just the official repositories E. Binary program code which can be run directly on the CPU. F. A program that converts human-readable code into machine-runnable code for a given processor architecture QUESTION 22 What command looks for a Makefile and uses the information within to compile the source code into binary programs using the appropriate compiler program for the local hardware architecture? O a. make O b.make install O c. install O d. configure QUESTION 23 Other files or software that must be present to install or run another piece of software are called O a. packages O b. dependencies O c. system requirements O d. repositories QUESTION 24 Which command will display detailed information about a package you haven't installed but that is available on the repository server? O yum check-update PACKAGE O yum search PACKAGE O yum info PACKAGE O rpm -qi PACKAGE O yum provides PACKAGE QUESTION 25 The command to update only the openssl package. O yum update openssl O yum openssl O rpm -i openssl O yum check-update openssl O yum update QUESTION 26 httpd-2.2.15-1.fc13.1686 Match each element of this package name with its meaning. httpd 2.2.15 1.fc13 i686 A. CPU architecture the software was compiled for B. package name C. release (OS release the package was built for) D. version (software or package version) QUESTION 27 .rpm and .deb packages can contain scripts to automate tasks related to installing, updating, or removing the package. (e.g. creating initial database tables, backing up old versions of configuration files before updating them, and adding or removing users associated with the software) O True O False QUESTION 28 What command copies the components of a compiled program to the appropriate locations on the filesystem (e.g. man pages to /usr/local/share/man/, binaries to /usr/local/bin, etc.)? O a. configure b. make install C. install O d. make QUESTION 29 Match each tool with its role. package manager for Red Hat systems package manager for Debian and Ubuntu systems update manager for Red Hat systems update manager for Debian and Ubuntu systems A. pacman B. apt C, make dpkg E. rpm F. yum QUESTION 32 Which command will extract myfiles.tar to the current directory? O tar -cf . myfiles tar O tar -xzvf. myfiles.tar O tar -xf myfiles.tar O extract myfiles.tar O tar -czvf myfiles.tar QUESTION 33 Which command will create a bzip2'd archive of the /etc/ directory and all of its contents? O tar-czvf etc-backup.tar.bz2 /etc O tar-czvf /etc etc-backup.tar.bz2 O tar -xjf /etc etc-backup. .bz2 O tar -xjf etc-backup.tar.bz2 /etc O tar -cjf etc-backup.tar.bz2 /etc O tar -cjf /etc etc-backup.tar.bz2 O tar -xzvf /etc etc-backup.tar.bz2 O tar -xzvf etc-backup.tar.bz2 /etc QUESTION 34 Why does 'make install require superuser privileges? O Only root can register a program with the kernel. O Only root can compile software. O The make program itself is an SUID root binary. O Many of the directories it needs to copy files to are only writable by root. QUESTION 35 Match each option for the "tar command with its function. extract create list zip/unzip with gzip zip/unzip with bzip2 specify the archive file to create/extract A. -X B. -C C. -t D.-Z E. -j F. -f QUESTION 30 The command to update all packages currently installed on the system. O update yum check-update yum update update yum check update QUESTION 31 Which command will help you find which package installed the /usr/lib/libz.so file? yum info /usr/lib/libz.so yum check-update /usr/lib/libz.so yum search /usr/lib/libz.so rpm -qi /usr/lib/libz.so O yum provides /usr/lib/libz.so QUESTION 1 When building and installing software from source code, in what order do you perform each of the following tasks? run the program make install (as root or with 'sudo`) make test (if there is a "test" target present in the Makefile) make examine the Makefile ./configure download a source tarball unpack the tarball cd into the extracted source code directory V read the README and INSTALL files, if present QUESTION 2 The collection of package files hosted on the web and provided by a Linux distribution for installs/updates is called a(n) O a. archive O b. ftp server O c. share O d. distribution O e. repository QUESTION 3 What does 'gzip -r /tmp/myfiles/* do? unzips the /tmp/myfiles/file. O creates a tarball of /tmp/myfiles/ O individually compresses each file in the /tmp/myfiles/directory compresses the /tmp/myfiles/ directory and all of its contents in place QUESTION 4 The command to check for updates to all packages currently installed on the system. yum update check update yum check-update O update QUESTION 5 The primary purpose of an archive utility is to shrink the size of a file on disk. O True O False QUESTION 6 An .rpm binary package contains all of the following EXECPT: O a. an archive of files to install O b. a makefile O c. version metadata O d. description metadata O e. dependency metadata QUESTION 7 Which command will remove an installed package called PKG from your system? O yum remove PKG O yum search PKG O yum clean PKG yum purge PKG O yum downgrade PKG QUESTION 8 Files with what two file extensions are commonly known as tarballs? 0.tar.gz O .ballz .tz .tar.b O.tarball O .tgz QUESTION 9 If yum' isn't working correctly, which command can you use to empty its local cache and force it to reread all of its data from the repository servers? O yum clean all O yum purge all O yum downgrade all O yum search all O yum remove all QUESTION 10 What command inspects your system and builds a machine-specific Makefile out of the Makefile template? O a. make b.configure C. make install O d. install QUESTION 11 Compression allows you to combine multiple files/folders into a single file. O True O False QUESTION 12 Match each term with its definition. compression ratio compressed size compression level A. how much a file has been reduced B. the file size after compression C. a setting which controls the CPU overhead required to compress and the resulting compression ratio QUESTION 13 The command can be used to search Internet software repositories for RPM packages that map to your architecture, and automatically install or upgrade those packages on your system. configure make O rpm O yum QUESTION 14 RPM packages that require other RPM packages to be installed on a system prior to being installed creates a relationship known as? O a. branching package O b. family package c. package dependency O d. recursing package QUESTION 15 What does 'tar -czvf myfiles.tgz /tmp/myfiles/* do? unzips the /tmp/myfiles/file. compresses the /tmp/myfiles/ directory and all of its contents in place O creates a tarball of /tmp/myfiles/ O unzips the myfiles.tgz file O individually compresses each file in the /tmp/myfiles/ directory QUESTION 16 When compressing a file, there is a trade-off between the amount of CPU time used and the compression ratio (and resulting file size). O True O False QUESTION 17 The .deb package format is the Debian/Ubuntu equivalent of a Fedora .rpm file. O True O False QUESTION 18 Compiling software from source allows you to build a system exactly to your needs, but you cannot receive automatic updates for self-compiled software from your distribution's repositories. O True O False QUESTION 19 The command to install the "tripwire" package from the Fedora repository. yum install tripwire rpm -i tripwire rpm tripwire install tripwire yum tripwire QUESTION 20 Maxing out the compression level always yields a significantly smaller file. O True O False QUESTION 21 Match each term with its definition. package manager update manager mixed system source code machine code (object code) compiler A. Human-readable program code which cannot be run directly on the CPU B. a utility that manages all of the packages on your system and available in a repository C. a utility that manages individual package files D. a system with software from more sources than just the official repositories E. Binary program code which can be run directly on the CPU. F. A program that converts human-readable code into machine-runnable code for a given processor architecture QUESTION 22 What command looks for a Makefile and uses the information within to compile the source code into binary programs using the appropriate compiler program for the local hardware architecture? O a. make O b.make install O c. install O d. configure QUESTION 23 Other files or software that must be present to install or run another piece of software are called O a. packages O b. dependencies O c. system requirements O d. repositories QUESTION 24 Which command will display detailed information about a package you haven't installed but that is available on the repository server? O yum check-update PACKAGE O yum search PACKAGE O yum info PACKAGE O rpm -qi PACKAGE O yum provides PACKAGE QUESTION 25 The command to update only the openssl package. O yum update openssl O yum openssl O rpm -i openssl O yum check-update openssl O yum update QUESTION 26 httpd-2.2.15-1.fc13.1686 Match each element of this package name with its meaning. httpd 2.2.15 1.fc13 i686 A. CPU architecture the software was compiled for B. package name C. release (OS release the package was built for) D. version (software or package version) QUESTION 27 .rpm and .deb packages can contain scripts to automate tasks related to installing, updating, or removing the package. (e.g. creating initial database tables, backing up old versions of configuration files before updating them, and adding or removing users associated with the software) O True O False QUESTION 28 What command copies the components of a compiled program to the appropriate locations on the filesystem (e.g. man pages to /usr/local/share/man/, binaries to /usr/local/bin, etc.)? O a. configure b. make install C. install O d. make QUESTION 29 Match each tool with its role. package manager for Red Hat systems package manager for Debian and Ubuntu systems update manager for Red Hat systems update manager for Debian and Ubuntu systems A. pacman B. apt C, make dpkg E. rpm F. yum QUESTION 32 Which command will extract myfiles.tar to the current directory? O tar -cf . myfiles tar O tar -xzvf. myfiles.tar O tar -xf myfiles.tar O extract myfiles.tar O tar -czvf myfiles.tar QUESTION 33 Which command will create a bzip2'd archive of the /etc/ directory and all of its contents? O tar-czvf etc-backup.tar.bz2 /etc O tar-czvf /etc etc-backup.tar.bz2 O tar -xjf /etc etc-backup. .bz2 O tar -xjf etc-backup.tar.bz2 /etc O tar -cjf etc-backup.tar.bz2 /etc O tar -cjf /etc etc-backup.tar.bz2 O tar -xzvf /etc etc-backup.tar.bz2 O tar -xzvf etc-backup.tar.bz2 /etc QUESTION 34 Why does 'make install require superuser privileges? O Only root can register a program with the kernel. O Only root can compile software. O The make program itself is an SUID root binary. O Many of the directories it needs to copy files to are only writable by root. QUESTION 35 Match each option for the "tar command with its function. extract create list zip/unzip with gzip zip/unzip with bzip2 specify the archive file to create/extract A. -X B. -C C. -t D.-Z E. -j F. -f QUESTION 30 The command to update all packages currently installed on the system. O update yum check-update yum update update yum check update QUESTION 31 Which command will help you find which package installed the /usr/lib/libz.so file? yum info /usr/lib/libz.so yum check-update /usr/lib/libz.so yum search /usr/lib/libz.so rpm -qi /usr/lib/libz.so O yum provides /usr/lib/libz.so
Expert Answer:
Related Book For
Integrated Accounting
ISBN: 978-1285462721
8th edition
Authors: Dale A. Klooster, Warren Allen, Glenn Owen
Posted Date:
Students also viewed these computer network questions
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
answer the question clearly You are building a flight-control system for which a convincing safety case must be made. Would you assign the tasks of safety requirements engineering, test case...
-
Under a plan of complete liquidation, Coast Corporation distributes land with a $300,000 adjusted basis and a $400,000 FMV to William, a 25% shareholder. William has a $200,000 basis in his Coast...
-
The drawing shows two wires that both carry the same current of I = 85.0 A and are oriented perpendicular to the plane of the paper. The current in one wire is directed out of the paper, while the...
-
Bohnsack invented a device to help drill oil wells more efficiently. He showed it to a company to see if they wanted to manufacture it. They said no, but the company then filed a patent application...
-
Tri Tran, Van Tran, and Conrad Chu conceived and then founded Munchery in 2010. The idea was to hire a team of gourmet chefs that would cook a variety of unique meals and allow users to order the...
-
Golden Gardens Inc. develops and produces spraying equipment for lawn maintenance and industrial uses. On June 19 of the current year, Golden Gardens Inc. reacquired 24,000 shares of its common stock...
-
Discuss the following topic(s) in the forum and submit proof of your participation in the online discussions: 1) Professional certification and the practising accountants 2) Cost data and managerial...
-
Given a database of the results of an election, find the number of seats won by each party. There are some rules to going about this: There are many constituencies in a state and many candidates who...
-
Suppose the heavily doped p-GaAs described above is now sandwiched between AlAs barrier layers to form a single quantum well (SQW) structure with a well width, L_z = 100mL z =100nm. Once again assume...
-
2. Moon has been investing $2,500 quarterly for the past 10 years in an equity mutual fund. How much is the fund worth now assuming she has earned 8.5% compounded quarterly on her investment? N =...
-
Lisa DeMarco was a patient at Hampton Hospital. She was injected with a contrast medium during her stay before undergoing several diagnostic X-rays by Dr. Phillip Masterson. DeMarco had an allergic...
-
A patient with COPD is unable to perform activities of daily living (ADLs) without becoming exhausted. Which nursing diagnosis best describes this alteration in oxygenation as the etiology? Explain
-
Need help making a UML class diagram showing the type of class relationships for my program: These are the classes I have: Circle.java Cone.java Cube.java Cylinder.java Rectangle.java Sphere.java...
-
State what is meant by a directed graph and a strongly connected component. Illustrate your description by giving an example of such a graph with 8 vertices and 12 edges that has three strongly...
-
The following six-column table for Solutions Co. includes the unadjusted trial balance as of December 31, 2011. Required 1. Complete the six-column table by entering adjustments that reflect the...
-
For Problem estimate the change in y for the given change in x. y = f(x), f'(12) = 30, x increases from 12 to 12.2
-
How can a company improve its average days for payment ratio?
-
Why is data not lost when invoices and purchase orders are purged?
-
In this problem, you will process the November and December monthly payrolls for Warner Merchandising Co. You will perform the operating procedures necessary to add new employees, make changes to...
-
A project under consideration has a 10-year projected life. The initial investment for the project is estimated to have a mean of \(\$ 10,000\) and a standard deviation of \(\$ 1,000\). The annual...
-
True or False: In determining the optimum replacement interval, it is necessary to assume negligible salvage values.
-
Match the terms in the first column with an appropriate definition from the second column. Terms (a) Breakeven analysis (b) Sensitivity analysis (c) Risk analysis Definitions (1) Determining how the...
Study smarter with the SolutionInn App