LPI 101 - Instalacao E Gerenciamento De Pacotes 1- Marcus Vinicius Braga Alcantara

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Viniciusalcantar
V
Viniciusalcantar
Community Contributor
Quizzes Created: 11 | Total Attempts: 7,566
| Attempts: 786 | Quest�es: 100 | Updated: Mar 22, 2023
Please wait...

Question 1 / 101
🏆 Rank #--
Score 0/100

1. Qual o comando completo do yum para instalar o pacote nmap?

Explanation

The given correct answer is "yum install nmap". This is because the question asks for the complete command to install the package "nmap" using the yum package manager. The "yum install" command is used to install packages, and "nmap" is the specific package being installed in this case.

Submit
Please wait...
About This Quiz
LPI 101 - Instalacao E Gerenciamento De Pacotes 1- Marcus Vinicius Braga Alcantara - Quiz

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Qual é o arquivo da distribuição Debian GNU/Linux onde contém informações de repositórios para arquivos .deb ?

Explanation

The correct answer is /etc/apt/sources.list. This file in the Debian GNU/Linux distribution contains information about repositories for .deb files. It is used by the Advanced Package Tool (APT) to determine where to download packages from and which versions are available. The sources.list file lists the URLs or file paths of the repositories, allowing users to easily add or remove software sources for package installation and updates.

Submit

3. Qual dos comandos "yum" abaixo pode ser utilizado para pesquisar por pacotes?

Explanation

The command "yum search" can be used to search for packages.

Submit

4. Qual comando abaixo pode ser usado para instalar o pacote sudo_1.7.4p4-5_i386.deb ?

Explanation

The correct answer is "dpkg -i sudo_1.7.4p4-5_i386.deb". This command is used to install a package in Debian-based systems using the dpkg package management tool. The "-i" option specifies that the package should be installed, and "sudo_1.7.4p4-5_i386.deb" is the name of the package file that needs to be installed.

Submit

5. Você deseja instalar um novo pacote de software, mas é apenas disponível no formato RPM, sendo que você está utilizando o Debian Linux. Qual dos seguintes iria ajudá-lo para instalação de um pacote RPM em seu sistema Debian?

Explanation

Alien é a resposta correta porque é uma ferramenta que permite a conversão de pacotes entre diferentes formatos, incluindo RPM para DEB. Portanto, ao utilizar o Alien, você poderá converter o pacote RPM para um formato compatível com o Debian Linux e assim conseguir instalá-lo em seu sistema.

Submit

6. Qual o comando que atualiza as informações dos repositórios de uma distribuição Debian GNU/Linux ?

Explanation

The correct answer is "aptitude update". This command is used to update the information about the available packages in the repositories of a Debian GNU/Linux distribution. It downloads the latest package lists from the repositories and updates the cache on the local machine, allowing the user to install or upgrade packages using the most recent information.

Submit

7. Qual dos comandos abaixo pode ser usado para instalar o pacote xsudoky-1.0.5-1.x86_64.rpm ?

Explanation

The correct answer is "rpm --install xsudoky-1.0.5-1.x86_64.rpm". This command is used to install the package xsudoky-1.0.5-1.x86_64.rpm.

Submit

8. Qual comando pode ser usado para remover um pacote e seus arquivos de configuração ?

Explanation

The correct answer is "apt-get remove --purge" because this command is used to remove a package and its configuration files completely from the system. The "--purge" option ensures that all associated files and configurations are removed along with the package.

Submit

9. Com qual comando é possível visualizar todos os pacotes RPM instalados ?

Explanation

The correct answer is "rpm -qa". This command is used to query all installed RPM packages on a system. It provides a list of all the packages along with their versions that are currently installed on the system.

Submit

10. Qual comando rpm com parâmetro irá instalar um pacote sem verificar suas dependências ?

Explanation

The correct answer is "rpm -i --nodeps". This command will install a package without checking its dependencies. The "-i" flag is used to install the package, and the "--nodeps" flag is used to skip dependency checks.

Submit

11. Você vê a seguinte saída ao tentar instalar um pacote de atualização ao executar o seguinte comando: rpm -i gthumb-2.2.0.i386.rpm1.0.1.i386.rpm :--->> "gthumb-1.0.1.i386.rpm já está instalado". Qual comando permitirá que você instale a versão atualizada ?

Explanation

The correct answer is "rpm -U gthumb-2.2.0.i3S6.rpm". The -U option in the rpm command stands for "upgrade", which allows you to upgrade an already installed package to a newer version. By using the -U option and specifying the name of the updated package, you can install the updated version of gthumb.

Submit

12. Qual comando do "apt" é utilizado para atualizar todos os pacotes instalados no sistema?

Explanation

The correct answer is "apt-get upgrade." This command is used to update all the installed packages on the system. It upgrades the packages to their latest versions, ensuring that the system has the most up-to-date software.

Submit

13. Qual comando do gerenciador de pacotes YUM é usado quando desejamos atualizar a lista de pacotes a partir do arquivo de repositório do Sistema ?

Explanation

The correct answer is "yum update". This command is used in the YUM package manager to update the package list from the repository file of the system. It allows the user to download and install the latest versions of packages available in the repository.

Submit

14. Qual o comando que pode ser utilizado para converter pacotes ".deb" ".rpm" e "tgz" ? (Especifique somente o comando) ?

Explanation

The correct answer is "alien." The "alien" command can be used to convert packages between different formats such as ".deb," ".rpm," and "tgz." It is a powerful tool that allows for easy package conversion and installation on different Linux distributions.

Submit

15. O que irá acontecer quando o seguinte comando for executado "rpm -Uvh file" ?

Explanation

When the command "rpm -Uvh file" is executed, the installed package will be updated or upgraded with the package file. The command will give output signals and a detailed hash to show the progress of the package installation.

Submit

16. Especifique o caminho completo do arquivo de configuração do gerenciador de pacotes YUM.

Explanation

The correct answer is /etc/yum.conf. This file is located in the /etc directory and is the configuration file for the YUM package manager. YUM is used in many Linux distributions to manage software packages, and the yum.conf file contains various settings and options for the package manager. By specifying the complete path of this file, users can access and modify the YUM configuration as needed.

Submit

17. Por padrão, em qual diretório ficam armazenados os pacotes que foram baixados pelo yum ?

Explanation

The correct answer is /var/cache/yum. This directory is the default location where yum stores downloaded packages.

Submit

18. O que é verdade, sobre usar ambos os sistemas de gerenciamento de pacotes Debian e RPM em um mesmo SO ?

Explanation

Using both Debian and RPM package management systems on the same operating system is generally discouraged because these two systems do not share the installed database file. This can lead to conflicts and inconsistencies in managing packages and dependencies. It is recommended to stick to one package management system to avoid potential issues.

Submit

19. Qual comando aptitude irá procurar pelo pacote chamado nmap?

Explanation

The command "aptitude search nmap" will search for the package called "nmap" using the aptitude package manager.

Submit

20. Qual dos comandos "apt" abaixo pode ser utilizado para atualizar o programa nmap ?

Explanation

The correct answer is "apt-get upgrade nmap". This command is used to upgrade the specified program, in this case, nmap. The "apt-get" command is a package management tool in Linux-based systems that allows users to install, upgrade, or remove software packages. The "upgrade" option ensures that the latest version of the package is installed.

Submit

21. Qual das opções abaixo do apt-cache irá mostrar a informação de dependências inversas de um pacote?

Explanation

The option "rdepends" in apt-cache will display the reverse dependencies of a package. This means it will show which other packages depend on the specified package.

Submit

22. Quais comandos abaixo permite gerenciar pacotes .deb ? (Selecione 2 respostas).

Explanation

The correct answers for managing .deb packages are dpkg and dselect. dpkg is a package manager used for installing, removing, and managing individual .deb packages. dselect is a higher-level package manager that provides a more user-friendly interface for managing packages, including the ability to select and install multiple packages at once.

Submit

23. Qual o comando aptitude (Completo) irá baixar, mas não instalar o arquivo.deb do pacote/programa nmap?

Explanation

The correct answer is "aptitude download nmap" and "aptitude install -d nmap". These commands will download the .deb file of the nmap package/program but will not install it. The "aptitude download nmap" command specifically downloads the .deb file, while the "aptitude install -d nmap" command downloads the .deb file and keeps it in the cache without installing it.

Submit

24. Qual o utilitário derivado do "rpm" pode ser utilizado para converter um pacote rpm em cpio ? (Especifique somente o comando).

Explanation

The utility "rpm2cpio" is used to convert an rpm package into cpio format. This utility allows users to extract the contents of an rpm package and convert them into a cpio archive, which can then be further manipulated or extracted using other tools.

Submit

25. Qual parâmetro do comando rpm irá imprimir a string "#" como barra de progresso durante a instalação de um pacote rpm?

Explanation

The parameter "-ih" in the rpm command will print the string "#" as a progress bar during the installation of an rpm package.

Submit

26. Você está prestes a instalar um novo programa em um sistema Linux baseado em RPM. Qual das seguintes alternativas seria a melhor maneira de conseguir isso ?

Explanation

The best way to install a new program on a Linux system based on RPM would be to use the rpm command to install the program binaries from an RPM package. This is the most straightforward and efficient method for installing programs on RPM-based systems. Obtaining the source code and installing from source or using cpio to extract binaries from an RPM source are not the recommended methods for installing a program in this scenario.

Submit

27. Qual das opções a seguir é o arquivo de texto que contém diretórios onde o dynamic linker deverá procurar por bibliotecas?

Explanation

The correct answer is "ld.so.conf". This file contains directories where the dynamic linker should look for libraries.

Submit

28. Qual comando do "apt" é utilizado para realizar uma atualização de distribuição do sistema operacional? Ex: Do Debian 7 (Wheezy) para o Debian 8 (Jessie).

Explanation

The "apt-get dist-upgrade" command is used to perform a distribution upgrade of the operating system. It is specifically used to upgrade from one version of the operating system to another, such as upgrading from Debian 7 (Wheezy) to Debian 8 (Jessie). This command not only upgrades the existing packages to their latest versions but also handles dependencies and resolves conflicts between packages during the upgrade process.

Submit

29. Você instalou uma nova aplicação, mas ao digitar o comando do programa você recebe a mensagem "Command not found". O que fazer para resolver isto?

Explanation

To resolve the issue of receiving the "Command not found" message when typing the program command, you need to add the application directory to the path variable. This allows the system to locate and execute the program when its command is entered.

Submit

30. Quais comandos "yum" abaixo podem ser utilizados para remover o programa nmap?

Explanation

The correct answer is "yum remove nmap" and "yum erase nmap". These commands are used in the yum package manager to remove or erase the program "nmap" from the system. The commands "yum clean nmap" and "yum delete nmap" are not valid commands to remove a specific program using yum.

Submit

31. Supondo que você teria instalado o pacote nmap, agora por algum motivo deseja remove-lo, qual seria a linha de comando adequada para remover este programa utilizando o apt.

Explanation

The correct answer is "apt-get remove nmap". This command uses the apt package manager to remove the nmap package from the system. The "remove" option is used to uninstall a package, and "nmap" is the name of the package that should be removed. This command will remove all files and configurations associated with the nmap package from the system.

Submit

32. Quais gerenciadores de pacotes fornecem menus interativos para com o usuário? (Selecione 2 respostas).

Explanation

Dselect and aptitude are two package managers that provide interactive menus for the user. These menus allow the user to easily navigate and select packages to install or remove from their system. Yum, apt-get, rpm, and dpkg are also package managers, but they do not provide interactive menus.

Submit

33. O que acontece quando o comando ldconfig é executado?

Explanation

When the ldconfig command is executed, the binary index file of the local libraries is rebuilt.

Submit

34. Qual comando apt-cache irá mostrar as dependências não satisfeitas para o pacote/programa python?

Explanation

The command "apt-cache unmet python" will display the unsatisfied dependencies for the python package/program.

Submit

35. Qual comando "apt" apaga todos os pacotes que não possam mais ser baixados ?

Explanation

The correct answer is "apt-get autoclean". The "autoclean" command in the "apt-get" package manager removes all the packages that can no longer be downloaded. This helps to free up disk space by removing unnecessary files that are no longer needed.

Submit

36. Escolha qual dos comandos é usado para remover o pacote 'simulado' e seus arquivos de configuração.

Explanation

The correct answer is dpkg -P simulado. This command is used to remove the package 'simulado' and its configuration files from the system.

Submit

37. Qual dos comandos "yum" abaixo irá listar todos os pacotes instalados e disponíveis?

Explanation

The correct answer is "yum list" because this command is used to list all the packages that are installed and available in the system. The "yum repolist" command lists the repositories, "yum check-list" and "yum check" commands are not valid commands in the yum package manager.

Submit

38. Qual comando aptitude (completo) irá mostrar o log de mudanças do pacote/programa chamado nmap?

Explanation

The correct answer is "aptitude changelog nmap". This command is used to display the log of changes for the package or program called nmap. The "changelog" option is used to specifically retrieve the changelog information for the specified package. By running this command, the user can view the history of changes made to the nmap package, including any updates, bug fixes, or new features that have been implemented.

Submit

39. Qual comando apt-get "completo" pode ser utilizado para obter o changelog do programa/pacote tree?

Explanation

The command "apt-get changelog tree" can be used to obtain the changelog of the program/package called "tree".

Submit

40. Depois de um incidente de segurança, o administrador deve verificar determinado RPM instalado. Qual comando irá criar um relatório completo, que você pode analisar as mudanças relacionados com a segurança?

Explanation

The command "rpm -Va > report" will create a complete report that allows the administrator to analyze the security-related changes. The "-Va" option verifies all installed packages and checks for any modifications in files, permissions, ownership, and checksums. The output will be redirected to a file named "report" for further analysis.

Submit

41. Qual o comando e a opção que são usados para listar todos os arquivos no sistema associados a um pacote .deb instalado?

Explanation

The correct answer is dpkg -L. This command is used to list all the files in the system associated with a installed .deb package.

Submit

42. Qual o correto comando do gerenciador de pacotes RPM que atualiza um pacote somente se o mesmo já estiver instalado no Sistema ?

Explanation

The correct command of the RPM package manager that updates a package only if it is already installed on the system is "rpm -F nome_do_pacote". This command is used to upgrade a package to a newer version, but only if the package is already installed on the system. If the package is not installed, this command will not perform any update.

Submit

43. Qual dos comandos "yum" abaixo verifica por atualizações de pacotes disponíveis ?

Explanation

The correct answer is "yum check-update". This command is used to check for updates of available packages in the system. It will display a list of packages that have available updates, allowing the user to see which packages can be updated.

Submit

44. Qual a linha de comando completa para visualizar as dependências do pacote stella através do comando apt-cache ?

Explanation

The given command "apt-cache depends stella" is the complete command to view the dependencies of the package "stella" using the "apt-cache" command. The "apt-cache depends" command is used to display a listing of each dependency a package has and all the packages that depend on it. In this case, it will show the dependencies of the "stella" package.

Submit

45. Qual comando aptitude (Completo) irá possivelmente baixar e reinstalar um pacote já instalado chamado nmap?

Explanation

The command "aptitude reinstall nmap" will possibly download and reinstall an already installed package called nmap.

Submit

46. Você instalou há pouco um novo programa manualmente. Este programa usa bibliotecas compartilhadas que foram instaladas em /usr/local/prog/lib. O que é necessário fazer depois da instalação, de forma que as bibliotecas possam ser usadas?

Explanation

After manually installing a new program that uses shared libraries installed in /usr/local/prog/lib, it is necessary to edit the /etc/ld.so.conf file to add the directory where the libraries are located. After making this edit, the ldconfig command needs to be executed. This will update the system's cache of shared library locations, allowing the newly installed libraries to be used by other programs.

Submit

47. Qual dos comandos rpm abaixo indica que a investigação é realizada em arquivo.rpm ?

Explanation

The correct answer is "rpm -qp" because the "-qp" option is used to query a specific package file, in this case "arquivo.rpm". This command allows the user to investigate the contents and information of the specified RPM file.

Submit

48. Qual comando do "apt" é utilizado para remover pacotes órfãos (Sem utilidade, Dependências de softwares já removidos)?

Explanation

The command "apt-get autoremove" is used to remove orphaned packages, which are packages that are no longer needed or have become obsolete due to the removal of other software dependencies. This command helps to free up disk space by removing unnecessary packages and dependencies that are no longer required by any other installed software.

Submit

49. Qual comando do "apt" verifica uma lista de dependências quebradas e tenta corrigi-las instalando pacotes nescessários?

Explanation

The correct answer is "apt-get -f install". This command is used to check for broken dependencies and attempt to fix them by installing the necessary packages. The "-f" flag stands for "fix" and is specifically used for resolving dependency issues. By running this command, the apt package manager will analyze the system's package dependencies and automatically install any missing packages or remove unnecessary ones to ensure that all dependencies are met.

Submit

50. Você precisa saber onde estão localizados todos os arquivos de configuração para o pacote "postfix" instalado. Supondo que ele foi instalado com rpm, qual comando irá listar essas informações para você?

Explanation

The command "rpm -qc postfix" will list the locations of all configuration files for the installed "postfix" package.

Submit

51. Qual comando do "apt-get" (completo) realiza o download do programa/pacote tree, porém não realiza sua instalação?

Explanation

The correct answer is "apt-get download tree". This command specifically downloads the program/package "tree" without installing it. On the other hand, "apt-get install -d tree" downloads and installs the package "tree" on the system.

Submit

52. Qual dos comandos rpm abaixo pode ser utilizado para mostrar todos os arquivos e diretórios do pacote tree ?

Explanation

The command "rpm -ql tree" can be used to show all the files and directories included in the package "tree". The "-q" option stands for "query" and is used to display information about a package, while the "-l" option stands for "list" and is used to list all the files and directories in a package. Therefore, the command "rpm -ql tree" will provide a list of all the files and directories included in the "tree" package.

Submit

53. Você instalou um pacote rpm beta, mas está enfrentando alguns problemas com ele. Como você pode remover esse pacote ?

Explanation

To remove a package in RPM, you can use the command "rpm -ev rpmname". This command will uninstall the specified package, including all its files and dependencies. It is the correct answer because it specifically addresses the task of removing a package, while the other options listed do not perform the same action.

Submit

54. Qual a linha de comando completa para exibir uma breve descrição (Registro Legivel) sobre o pacote ipcalc através do comando apt-cache?

Explanation

The given command "apt-cache show ipcalc" is the complete command to display a brief description or readable record about the package "ipcalc" using the "apt-cache" command.

Submit

55. Em qual diretório fica localizado os arquivos de repositórios do gerenciador de pacotes yum ?

Explanation

The correct answer is "/etc/yum.repos.d" or "/etc/yum.repos.d/". These directories are where the repository files for the yum package manager are located. Yum uses these files to determine where to download software packages from and how to install them.

Submit

56. Qual comando "apt" abaixo pode ser utilizado para simular a instalação do programa tree sem que seja realizado alterações no sistema

Explanation

The correct answer is "apt-get install -s tree". The "-s" flag in the command is used to simulate the installation of the program "tree" without actually making any changes to the system. This allows the user to see what would happen during the installation process without affecting the system's configuration or making any permanent changes.

Submit

57. Qual dos comandos rpm abaixo retorna informações como o nome, versão, arquitetura etc... sobre o programa tree, já instalado?

Explanation

The command "rpm -qi tree" is used to return information about a specific package that is already installed. In this case, it will return information such as the name, version, architecture, etc. about the program "tree" that is already installed on the system.

Submit

58. Você tem um RPM atualizado chamado screensaver-1.1.i386.rpm. Você tem a versão 1.0 instalada. Usando o RPM, como você vê o changelog deste arquivo para ver se você deve instalar a atualização ?

Explanation

To view the changelog of the screensaver-1.1.i386.rpm file and determine if the update should be installed, the correct command is "rpm -qp --changelog screensaver-1.1.i386.rpm". This command uses the rpm tool with the "-qp" option to query the package and the "--changelog" option to display the changelog information. By running this command, the user can see the changelog of the updated RPM file and make an informed decision about whether to install the update.

Submit

59. Qual comando "apt-cache" com parâmetro retorna uma lista de todos os pacotes instalados?

Explanation

The correct answer is "apt-cache dump". This command with the parameter "dump" returns a list of all installed packages. It provides detailed information about the packages installed on the system, including their names, versions, dependencies, and other relevant details. Using this command can be helpful for troubleshooting, managing packages, and analyzing the package database.

Submit

60. Utilizando o gereciador de pacotes "apt-get", qual seria o comando completo (Com parâmetro) para baixar o programa tree (Binário.deb) sem instalar o mesmo ?

Explanation

The correct answer is "apt-get install -d tree" and "apt-get download tree".


- The command "apt-get install -d tree" downloads the package "tree" without installing it. The "-d" flag stands for "download-only".
- The command "apt-get download tree" also downloads the package "tree" without installing it. This command specifically downloads the package without its dependencies.

Submit

61. Qual comando "apt" remove todos os pacotes baixados e já instalados?

Explanation

The command "apt-get clean" removes all downloaded and already installed packages.

Submit

62. Qual comando apt-cache com parâmetro mostra informações como número de pacotes instalados e de dependências?

Explanation

The correct answer is apt-cache stats. The apt-cache stats command displays information such as the number of installed packages and dependencies.

Submit

63. Qual dos comandos abaixo irá procurar por problemas no rpmdb ?

Explanation

The command "yum check" is used to search for problems in the rpmdb (RPM database). It checks the installed packages against the repositories and verifies the integrity and consistency of the packages in the database. This command is specifically designed to identify any issues or discrepancies within the rpmdb and provide a report on potential problems.

Submit

64. Qual comando rpm com parâmtro irá retornar quem instalou determinado pacote ?

Explanation

The command "rpm -qf" is used to query the RPM database and determine which package a particular file belongs to. By providing the file name or path as an argument, the command will return the package name that installed that file. This command is useful for troubleshooting and verifying package installations on a Linux system.

Submit

65. Qual das alternativas irá extrair arquivos a partir de um pacote RPM?

Explanation

This command uses the rpm2cpio tool to extract the contents of the RPM package "logrotate-1.0-1.i386.rpm". The "|" symbol is a pipe, which means that the output of the rpm2cpio command is passed as input to the cpio command. The cpio command then extracts the files from the RPM package and places them in the "/usr/logrotate" directory. The "-i" option tells cpio to extract the files, the "-v" option enables verbose output, and the "-d" option creates directories as needed.

Submit

66. Você tem um pacote chamado debianpkg.deb e deseja convertê-lo em um rpm. Digite a linha de comando completa para realizar tal tarefa.

Explanation

The given command "alien -r debianpkg.deb" is used to convert a Debian package (debianpkg.deb) into an RPM package. The "alien" command is a tool that can convert packages between different Linux package formats. The "-r" option specifies that the package should be converted to RPM format.

Submit

67. Qual comando dpkg abaixo força a reconfiguraração de um pacote mesmo que o pacote esteja num estado quebrado ou inconsistente?

Explanation

The command "dpkg-reconfigure --force" is used to force the reconfiguration of a package even if it is in a broken or inconsistent state. This command allows the user to interactively reconfigure the package, prompting for any necessary information or options. The "--force" option overrides any restrictions or warnings that may be encountered during the reconfiguration process.

Submit

68. Você quer compilar e instalar um pacote de software GNU, mas você quer mudar o diretório de destino. Qual arquivo você editaria?

Explanation

To compile and install a GNU software package and change the destination directory, you would need to edit the Makefile. The Makefile contains the instructions for compiling and installing the software, including the destination directory. By editing the Makefile, you can specify the desired directory where the software should be installed.

Submit

69. Qual comando dpkg irá pesquisar pelo pacote ipcalc ?

Explanation

The correct answer is "dpkg -S". This command is used to search for a specific package in the dpkg database. In this case, it will search for the package named "ipcalc".

Submit

70. Qual dos comandos abaixo pode ser usado para procurar um pacote .deb dos repositórios definidos em minha distribuição Debian GNU/Linux ? (Selecione 2 respostas) 

Explanation

The correct answer is aptitude and apt-cache. Both aptitude and apt-cache are commands that can be used to search for a .deb package in the repositories defined in a Debian GNU/Linux distribution. aptitude is a high-level interface to the package management system and can be used to search for packages, install, remove, and upgrade them. apt-cache is a low-level command that allows users to query the package cache and retrieve information about available packages.

Submit

71. Qual comando "apt" é utilizado para adicionar um repositório a partir de um CD-DVD/ROM no arquivo /etc/apt/sources.list ?

Explanation

The correct answer is "apt-cdrom add". This command is used to add a repository from a CD-DVD/ROM to the file /etc/apt/sources.list. It allows the user to include the CD/DVD as a source for package installations and updates using the apt package manager.

Submit

72. Para qual diretório são baixados os "binários.deb" ao instalar programas através do comando; apt-get install ?

Explanation

The "binários.deb" files are downloaded to the "/var/cache/apt/archives" directory when installing programs using the "apt-get install" command. Both "/var/cache/apt/archives" and "/var/cache/apt/archives/" are correct directories where these files are stored.

Submit

73. Qual comando "yum" irá retornar uma lista de dependências de um pacote específico ?

Explanation

The "yum deplist" command will return a list of dependencies for a specific package.

Submit

74. Você quer examinar o changelog para o pacote "postfix" instalado. Qual comando irá exibir o changelog ?

Explanation

The correct answer is "rpm -q --changelog postfix". This command is used to query the RPM database and display the changelog for the "postfix" package that is installed on the system.

Submit

75. Qual comando do "yum" que remove todos os dados do cache ?

Explanation

The command "yum clean all" is used to remove all the data from the cache in the yum package manager. The cache stores downloaded package files and metadata, which can take up disk space. By using this command, all the cached data is deleted, freeing up disk space and ensuring that the package manager retrieves the latest versions of packages from the repositories.

Submit

76. Qual comando dpkg você utiliza para configurar um pacote ?

Explanation

The command "dpkg --configure" is used to configure a package in the dpkg package management system. This command is used to reconfigure a package that has been partially installed or has configuration files that need to be updated. It allows the user to specify the package name or use the command with no arguments to configure all the packages that are currently installed on the system.

Submit

77. Informe o diretório (Caminho completo) da base de dados do dpkg.

Explanation

The correct answer is "/var/lib/dpkg" or "/var/lib/dpkg/". These are the directory paths that contain the database of dpkg, which is a package management system used in Debian-based operating systems. The dpkg database stores information about installed packages, their files, and dependencies. By providing the correct directory path, users can access and manage the dpkg database effectively.

Submit

78. Qual comando permitirá que você encontre um pacote instalado específico?

Explanation

The command "rpm -qv rpmname" allows you to find a specific installed package.

Submit

79. Qual comando dpkg irá retornar as informações de cabeçalho do pacote nmap ? (Selecione 2 respostas).

Explanation

The command "dpkg -s nmap" will return the header information of the package nmap. The command "dpkg -I nmap.deb" will also return the header information of the package nmap.deb.

Submit

80. Qual comando apt-get "completo" você pode utilizar para baixar o fonte do programa tree?

Explanation

The correct answer is "apt-get source tree" because the "apt-get source" command is used to download the source code for a package, and "tree" is the name of the package in this case. This command allows the user to retrieve the source code for the "tree" program using the apt-get package manager.

Submit

81. Qual comando rpm irá mostrar como seria a instalação de um determinado pacote sem instalar o mesmo ?

Explanation

The command "rpm -i --test" is used to simulate the installation of a specific package without actually installing it. It allows users to see the output and potential errors that would occur during the installation process without making any changes to the system. This can be useful for testing purposes or to verify if a package can be installed successfully before actually proceeding with the installation.

Submit

82. Digite a linha de comando, incluindo opções para converter e instalar um pacote Redhat chamado package.rpm em um sistema Debian?

Explanation

The correct answer is "alien -i package.rpm". This command suggests the use of the "alien" tool, which is commonly used to convert packages from one package format to another. In this case, it is being used to convert a Redhat package ("package.rpm") to a format that is compatible with a Debian system. The "-i" option indicates that the package should be installed after conversion.

Submit

83. Qual comando apt-cache (Com parâmetro) irá mostrar os nomes de todos os pacotes no sistema ?

Explanation

The apt-cache pkgnames command is used to display the names of all packages installed on the system. This command helps in retrieving a list of package names that can be used for various purposes like package management, installation, or removal. By running this command, users can get an overview of all the available packages on their system.

Submit

84. Qual comando aptitude irá executar uma atualização, possivelmente instalando e removendo pacotes?

Explanation

The correct answer is "aptitude full-upgrade" because this command in the aptitude package manager will perform a full upgrade of the system, updating all installed packages and potentially installing or removing packages as necessary. This command ensures that the system is fully updated and all packages are in their latest versions.

Submit

85. Por que motivo um administrador usaria a opção --force do rpm?

Explanation

The correct answer is "Para forçar a exclusão de pacotes instalados" which translates to "To force the removal of installed packages" in English. This option is used by an administrator to forcefully remove packages that are already installed, bypassing any confirmation messages.

Submit

86. Qual comando apt-cache irá mostrar todas as dependências não satisfeitas?

Explanation

The apt-cache unmet command is used to display all the unsatisfied dependencies in the system. It provides a list of packages that have unmet dependencies, which means that they require other packages to be installed but those dependencies are not currently met. This command helps in troubleshooting and resolving dependency issues in the system.

Submit

87. Qual a linha de comando completa para exibir uma descrição com informações gerais sobre o pacote ipcalc através do comando apt-cache? 

Explanation

The command "apt-cache showpkg ipcalc" is used to display a detailed description and general information about the package "ipcalc" using the apt-cache command.

Submit

88. Qual comando dpkg (Com parâmetro) pode ser utilizado para reconfigurar todos os pacotes instalados ?

Explanation

The command "dpkg-reconfigure -a" can be used to reconfigure all installed packages. This command allows the user to interactively reconfigure all packages on the system, including those that were previously configured. By using the "-a" parameter, it ensures that all packages are included in the reconfiguration process. This command is useful in situations where the system configuration needs to be updated or modified for all installed packages.

Submit

89. Qual comando aptitude (Completo) irá executar uma atualização segura dos pacotes instalados no sistema?

Explanation

The correct answer is "aptitude safe-upgrade" because this command will perform a safe upgrade of the installed packages on the system. It will upgrade the packages to their latest versions, ensuring that any security vulnerabilities or bugs are fixed without introducing any major changes or risking system stability.

Submit

90. Qual par de opções do dpkg são equivalentes e o que eles fazem?

Explanation

not-available-via-ai

Submit

91. Qual comando apt-get "completo" pode ser utilizado para configurar as dependências do programa tree a ser instalado a partir do fonte deste programa?

Explanation

The correct answer is "apt-get build-dep tree". This command is used to install the build dependencies for a package. In this case, it will install the necessary dependencies for building and configuring the program "tree" from its source.

Submit

92. Qual comando apt-cache (Completo) irá Mostrar registros de código-fonte do pacote/programa tree?

Explanation

The correct answer is "apt-cache showsrc tree". This command is used to display the source code records of the package or program "tree". It provides information about the source package, including its version, maintainer, and a description. This command is helpful for users who want to examine the source code of a package or program before installing it.

Submit

93. Qual comando apt-get "completo" pode ser utilizado para verificar a existência de dependências erradas do pacote nmap?

Explanation

The correct answer is "apt-get check nmap". This command can be used to check for the existence of incorrect dependencies of the package "nmap" in the apt package manager. It verifies if all the dependencies required by the package are installed correctly and if there are any issues with the dependencies.

Submit

94. Qual das opções abaixo do comando dpkg irá mostrar informações como; tamanho do pacote/programa, arquitetura, versão etc... ?

Explanation

The option "-p" in the dpkg command will show information such as package/program size, architecture, version, etc.

Submit

95. Qual comando apt-cache irá Construir as caches de pacotes e de código-fonte?

Explanation

The command "apt-cache gencaches" is used to generate the package and source code caches. This command helps in building and updating the cache of available packages and their corresponding source code. It is a useful command for managing and retrieving information about packages in the system.

Submit

96. Qual comando dpkg (Completo) irá desempacotar o pacote ipcalc.deb ?

Explanation

The correct answer is "dpkg --unpack ipcalc.deb". This command is used to unpack or extract the contents of a Debian package file (with the extension .deb). In this case, it will specifically unpack the ipcalc.deb package. The "--unpack" option tells dpkg to only extract the files from the package without configuring or installing them.

Submit

97. Sobre as opções do comando apt-cache. Associe:

Submit

98. Sobre os comandos aptitude. Associe:

Submit

99. Sobre as opções do comando "apt-get". Associe:

Submit

100. Sobre as opções do comando aptitude. Associe:

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (100)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Qual o comando completo do yum para instalar o pacote nmap?
Qual é o arquivo da distribuição Debian GNU/Linux onde...
Qual dos comandos "yum" abaixo pode ser utilizado para...
Qual comando abaixo pode ser usado para instalar o pacote...
Você deseja instalar um novo pacote de software, mas é...
Qual o comando que atualiza as informações dos...
Qual dos comandos abaixo pode ser usado para instalar o pacote...
Qual comando pode ser usado para remover um pacote e seus arquivos de...
Com qual comando é possível visualizar todos os pacotes...
Qual comando rpm com parâmetro irá instalar um pacote sem...
Você vê a seguinte saída ao tentar instalar um...
Qual comando do "apt" é utilizado para atualizar...
Qual comando do gerenciador de pacotes YUM é usado quando...
Qual o comando que pode ser utilizado para converter pacotes...
O que irá acontecer quando o seguinte comando for executado...
Especifique o caminho completo do arquivo de configuração do...
Por padrão, em qual diretório ficam armazenados os...
O que é verdade, sobre usar ambos os sistemas de gerenciamento...
Qual comando aptitude irá procurar pelo pacote chamado nmap?
Qual dos comandos "apt" abaixo pode ser utilizado para...
Qual das opções abaixo do apt-cache irá mostrar a...
Quais comandos abaixo permite gerenciar pacotes .deb ? (Selecione 2...
Qual o comando aptitude (Completo) irá baixar, mas não...
Qual o utilitário derivado do "rpm" pode ser...
Qual parâmetro do comando rpm irá imprimir a string...
Você está prestes a instalar um novo programa em um...
Qual das opções a seguir é o arquivo de texto que...
Qual comando do "apt" é utilizado para realizar uma...
Você instalou uma nova aplicação, mas ao digitar o...
Quais comandos "yum" abaixo podem ser utilizados para...
Supondo que você teria instalado o pacote nmap, agora por algum...
Quais gerenciadores de pacotes fornecem menus interativos para com o...
O que acontece quando o comando ldconfig é executado?
Qual comando apt-cache irá mostrar as dependências...
Qual comando "apt" apaga todos os pacotes que não...
Escolha qual dos comandos é usado para remover o pacote...
Qual dos comandos "yum" abaixo irá listar todos os...
Qual comando aptitude (completo) irá mostrar o log de mudanças...
Qual comando apt-get "completo" pode ser utilizado para...
Depois de um incidente de segurança, o administrador deve verificar...
Qual o comando e a opção que são usados para listar...
Qual o correto comando do gerenciador de pacotes RPM que atualiza um...
Qual dos comandos "yum" abaixo verifica por...
Qual a linha de comando completa para visualizar as dependências...
Qual comando aptitude (Completo) irá possivelmente baixar e...
Você instalou há pouco um novo programa manualmente. Este...
Qual dos comandos rpm abaixo indica que a investigação...
Qual comando do "apt" é utilizado para remover...
Qual comando do "apt" verifica uma lista de...
Você precisa saber onde estão localizados todos os...
Qual comando do "apt-get" (completo) realiza o download do...
Qual dos comandos rpm abaixo pode ser utilizado para mostrar todos os...
Você instalou um pacote rpm beta, mas está enfrentando...
Qual a linha de comando completa para exibir uma breve...
Em qual diretório fica localizado os arquivos de...
Qual comando "apt" abaixo pode ser utilizado para simular a...
Qual dos comandos rpm abaixo retorna informações como o nome,...
Você tem um RPM atualizado chamado screensaver-1.1.i386.rpm....
Qual comando "apt-cache" com parâmetro retorna uma...
Utilizando o gereciador de pacotes "apt-get", qual seria o...
Qual comando "apt" remove todos os pacotes baixados e...
Qual comando apt-cache com parâmetro mostra informações...
Qual dos comandos abaixo irá procurar por problemas no rpmdb ?
Qual comando rpm com parâmtro irá retornar quem instalou...
Qual das alternativas irá extrair arquivos a partir de um...
Você tem um pacote chamado debianpkg.deb e deseja...
Qual comando dpkg abaixo força a reconfiguraração de um...
Você quer compilar e instalar um pacote de software GNU, mas...
Qual comando dpkg irá pesquisar pelo pacote ipcalc ?
Qual dos comandos abaixo pode ser usado para procurar um pacote .deb...
Qual comando "apt" é utilizado para adicionar um...
Para qual diretório são baixados os...
Qual comando "yum" irá retornar uma lista de...
Você quer examinar o changelog para o pacote "postfix"...
Qual comando do "yum" que remove todos os dados do cache ?
Qual comando dpkg você utiliza para configurar um pacote ?
Informe o diretório (Caminho completo) da base de dados do...
Qual comando permitirá que você encontre um pacote...
Qual comando dpkg irá retornar as informações de...
Qual comando apt-get "completo" você pode utilizar...
Qual comando rpm irá mostrar como seria a instalação de...
Digite a linha de comando, incluindo opções para converter e...
Qual comando apt-cache (Com parâmetro) irá mostrar os...
Qual comando aptitude irá executar uma atualização,...
Por que motivo um administrador usaria a opção --force do rpm?
Qual comando apt-cache irá mostrar todas as dependências...
Qual a linha de comando completa para exibir uma descrição com...
Qual comando dpkg (Com parâmetro) pode ser utilizado para...
Qual comando aptitude (Completo) irá executar uma...
Qual par de opções do dpkg são equivalentes e o que...
Qual comando apt-get "completo" pode ser utilizado para...
Qual comando apt-cache (Completo) irá Mostrar registros de...
Qual comando apt-get "completo" pode ser utilizado para...
Qual das opções abaixo do comando dpkg irá mostrar...
Qual comando apt-cache irá Construir as caches de pacotes e de...
Qual comando dpkg (Completo) irá desempacotar o pacote...
Sobre as opções do comando apt-cache. Associe:
Sobre os comandos aptitude. Associe:
Sobre as opções do comando "apt-get". Associe:
Sobre as opções do comando aptitude. Associe:
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!