Question: QUESTION 1 When building and installing software from source code, in what order do you perform each of the following tasks? run the program

QUESTION 1 When building and installing software from source code, in whatorder do you perform each of the following tasks? run the programmake install (as root or with 'sudo`) make test (if there isa "test" target present in the Makefile) make examine the Makefile ./configuredownload a source tarball unpack the tarball cd into the extracted sourcecode directory V read the README and INSTALL files, if present QUESTION2 The collection of package files hosted on the web and providedby a Linux distribution for installs/updates is called a(n) O a. archiveO 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 inthe /tmp/myfiles/directory compresses the /tmp/myfiles/ directory and all of its contents inplace QUESTION 4 The command to check for updates to all packagescurrently installed on the system. yum update check update yum check-update Oupdate QUESTION 5 The primary purpose of an archive utility is to

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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!