Contents: 0, related basic commands
1. Install the software
2. Uninstalling the Software
3. Open the Software
0. Related basic commands
The main commands related to software operations are: dpkg and Apt-get.
Dpkg: "Dpkg" is a shorthand for "Debian packager". A suite management system developed specifically for Debian to facilitate the installation, updating and removal of software. All "Linux" distributions originating from "Debian" use "dpkg", such as "Ubuntu", "Knoppix" and so on.
Apt-get: For the Deb package managed operating system, mainly used to automatically search, install, upgrade, uninstall software or operating system from the Internet's software warehouse. Principle
The difference between Apt-get and dpkg: Link
Specific command description:
Apt-get Common parameter Description
Commands and Parameters |
Description |
Apt-get Install XXX |
Install XXX. If it has parameters, then-d means download only and-F indicates mandatory installation |
Apt-get Remove xxx |
Uninstall XXX |
Apt-get Update |
Synchronize the index of the source listed in/etc/apt/sources.list and/ETC/APT/SOURCES.LIST.D so that you can get to the latest package. |
Apt-get Upgrade |
Upgrade all installed packages, the upgraded version is the local index, so be sure to perform an update before executing upgrade so that it is up to date. |
Apt-cache Search |
Search Packages |
Tips: It is recommended that you use the "apt-get Update" command frequently to update your software information database
dpkg Common parameter description
commands and Parameters |
description |
dpkg-i package.deb |
Install package |
dpkg -r p Ackage |
Delete package |
dpkg-p package |
Delete package (including configuration file) |
dpkg-l package |
lists the files associated with the package |
dpkg-l package |
Show version of the package |
dpkg–unpack package.deb |
Unpack the contents of the Deb package |
dpkg-s keyword ; |
Search for Package contents |
dpkg-l |
list currently installed packages |
dpkg-c package.deb |
lists the contents of the Deb package |
dpkg–configure package |
Configuration Package |
... |
... Reference link: http://www.cnblogs.com/xwdreamer/p/3623454.html |
# According to/etc/apt/sources.list provides the source of the URL, go online to obtain information such as software dependencies, after determining the content to update the update installation sudo apt-get xxx: < < " install local Deb package sudo dpkg-i xxx.deb: <<block '
2. Uninstalling the Software
:<<'block use apt-get uninstall software block'sudo apt-get remove XXX:< <'block using dpkg uninstall software block'sudo dpkg-R xxx.debsudo dpkg-p Xxx.deb (along with configuration file deletion, see man dpkg)
3. Open the Software
In Linux execution applications and in Windows are somewhat different, some programs do need to know the user rights and other knowledge, detailed explanation: Learn how to use the application under Linux
Here's a list of the methods I've used, and a more comprehensive and specific approach: learn how to use applications under Linux
linux--Learning to use notes (software actions: Install, uninstall, execute)