In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use the dpkg command in the linux system. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Dpkg is short for Debian package, a suite management system specially developed for the "Debian" operating system for the installation, update and removal of software.
Syntax:
Dpkg (option) (parameter)
Options:
-I: install the package
-r: delete the software package
-P: delete the configuration file of the software package while deleting it
-L: displays the files associated with the package
-unpack: unlock the software package
-c: displays a list of files in the package
-configure: configuration package
Parameters:
Deb software package
List the contents of the deb package or the directory structure in the file
Sudo dpkg-c / var/cache/apt/archives/fdisk_2.34-0.1ubuntu9.1_amd64.deb
Install the software sudo dpkg-I / var/cache/apt/archives/fdisk_2.34-0.1ubuntu9.1_amd64.deb
Fdisk_2.34-0.1ubuntu9.1_amd64.deb has been downloaded to the computer's software package.
Query software package
Version of dpkg-l fdisk# query package dpkg-L fdisk# query package associated files
Details of the dpkg-s fdisk# query package
Displays all installed deb packages and displays the version number and summary description
Dpkg-ldpkg-l | grep fdisk removal package sudo dpkg-P fdisk
# Uninstall the package, do not retain the configuration,-r retain the configuration.
This is the end of this article on "how to use dpkg commands in the linux system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.