In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to understand the deb file about linux. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Deb file is the Linux distribution debian system installation package format, there are systems such as debian-based distribution ubuntu is the use of deb installation package, we can use the dpkg command to install and manage these deb installation package files.
Take ubuntu as an example, download the deb installation package file of vscode from the official website, and then install it:
1. Right-click in the folder to "open in terminal"
two。 Use the dpkg command to install
Sudo dpkg-I deb file
Sudo dpkg-I code_1.29.1-1542309157_amd64.deb
3. As a rule of thumb, dependency errors are usually reported, and we can repair the installation with the following command.
Sudo apt-get install-f
4. If we want to uninstall the installed application, we use "sudo dpkg-l" to check the installed software and find the name of our own installed software. Can be filtered by "grep".
What we found here is code.
5. Last use
Sudo dpkg-r software name
Uninstall
Sudo dpkg-r code
Can be used
Sudo dpkg-r-purge software name
Delete along with configuration file
Tip1:
Related installation and uninstallation of Deb package
Install the deb package
Command: dpkg-I xxx.deb
Delete software package
Command: dpkg-r xxx.deb
Delete along with configuration file
Command: dpkg-r-purge xxx.deb
View package information
Command: dpkg-info xxx.deb
View file copy details
Command: dpkg-L xxx.deb
View information about installed packages on the system
Command: dpkg-l
Tip2:
Apt-get is a software management tool under Debian system, which can install and uninstall software packages.
Install the software apt-get install softname
Remove the package, but not the software's configuration file: apt-get remove softname may have problems if you want to install it again.
Delete the package and delete the corresponding configuration file: apt-get remove-purge softname
Apt-get autoremove softname uninstalls dependent packages so that a software can be completely uninstalled.
You can use softname-V to check whether the uninstall is complete.
Update the software information database apt-get update
Perform a system upgrade apt-get upgrade
Search for software packages: apt-cache search
How to understand the deb file of linux is shared here. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can 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.