Debian and Debian-based systems, such as Ubuntu, use the package format deb. The following table lists the commonly used Dpkg commands for operating the deb package.
CommandFunction
Dpkg-I package. debInstallation Package
Dpkg-r packageDelete package
Dpkg-P packageDelete a package (including configuration files)
Dpkg-L packageList the files associated with the package
Dpkg-l packageShow the version of this package
Dpkg-unpack package. debUnbind deb Package content
Dpkg-S keywordSearch fo
Apt-getupdate or aptitudeupdate is used to update the source list-Linux Release Technology-Debian information. For details, see the following. Apt-get update or aptitude update to update the source list
Sudo apt-get update
Sudo apt-get dist-upgrade
Debian uses the following command to automatically download and install
I. the most convenient non-Apt-Get tool for management software in Ubuntu does not belong to anyone. Its common usage is sorted out for future reference (see man apt-Get for details ):
1. Update the source. Do this before upgrading the software and system ~ (Source directory:/Etc/APT/sources. List)
Sudo apt-Get upd
Ansible series (7) apt ModuleApt Module
This module is the most used when ubuntu is the OS of a remote node. Apt is a package management tool for ubuntu/debian.Module Parameters
Parameter Name
Required?
Default Value
Option value
Parameter description
Cache_valid_time
No
IfUpdate_cacheThis parameter takes effect only when it takes effect. Used to controlUpdate
Apt-cache Search Package
Apt-cache Show package for information about packages, such as description, size, version, etc.
sudo apt-get install package
sudo apt-get install package--reinstall Reinstall packages
sudo apt-get-f Install repair installation
sudo
Summarized:Rpm/yum RedhatDpkg/apt DebianAlien ConversionIn the Gnu/linux (Linux) operating system, RPM and DPKG are the two most common types of package management tools that are applied to Linux distributions based on the RPM package and the DEB package. The role of the package management tool is to provide a way to install, upgrade, uninstall the required software in the operating system, and to provide queries on all software status information in
The difference and connection between aptitude and Apt-get in Ubuntu (Debian)
Like Apt-get, Aptitude is the most powerful package management tool in Debian and its derivative systems. Unlike Apt-get, aptitude is better at dealing with dependency issues. For example, when aptitude deletes a package, it also deletes the packages it depends on. This way, th
Apt-cache Search Package Package
Apt-cache Show package get information about the package, such as description, size, version, etc.
sudo apt-get install package installation package
sudo apt-get Install package--Reinstall reinstall package
sudo apt-get-f Install repair I
Tags: requires Deb purge is configured to view Apt-get location searchApt-get is a Linux directive, and the mainstream Linux version of Debian and Ubuntu uses Apt-get to install the software. So, where do you put the software you want to install???Apt-get uses the Software installation source to install the software, and its software installation source is placed
Use APT-mirror to configure the Ubuntu local software repository in four steps
Today, we will show you how to configure the local software repository directly through the official Ubuntu software repository on your Ubuntu PC or Ubuntu server. Creating a local software repository on your computer has many benefits. If you have many computers that require software installation, security upgrades, and repair patches, configuring a local software reposito
Reproduced, please specify the source: Http://blog.csdn.net/tina_ttlDirectory (?) [+]tags (space delimited): Linux learning OpenCV
Install OpenCV under Ubuntu 1404 using the Apt-get method
Objective
Installation method
Where is the OPENCV installed?
1 OpenCV of installation source files
2 OpenCV The installation location of the associated header file
3 Installation location of related dynamic link libraries
1. Overview
Apt-get and aptitude are all tools for installing software upgrades under Debian.
But aptitude is better at dealing with dependency issues. Aptitude deletes a package that is useless and that is dependent on itself. In this way, the system will not remain useless packets, the whole system cleaner.
Therefore, it is more recommended to use the Aptitude command.
2. Sources.list Software Data source
$ sudo vi/etc/
Ubuntugeek introduces a method namedApt-fastScriptAxelUse the apt-GET command to install the software. Because Axel can download the software package in multiple threads, this can accelerate the installation. In addition, the entire use process is basically the same as apt-get. You only need to change the common apt-get to Ap
If you have many computers that require software installation, security upgrades, and repair patches, configuring a local software repository is an efficient way to do this. All software packages to be installed can be downloaded from your local server through a fast LAN connection, which can save your network bandwidth and reduce the annual cost of Internet access...You can use multiple tools to configure a local Ubuntu software repository on your local PC or server, but in this tutorial we wil
Compiled the Ubuntu Linux operating system under the Apt-get command detailed instructions, share to everyone.Common APT Command parameters:Apt-cache Search PackageApt-cache Show package for information about packages, such as description, size, version, etc.sudo apt-get install packagesudo apt-get Install package--Rei
1. Consider whether you can surf the internet2. Update with Apt-get and try Apt-get install againIf Apt-get update also appears many 404 Not found or failed to fetch, should consider to replace own source, Baidu searches/etc/apt/sources.list3. If not, it is estimated that the Ubuntu version is too old for maintenance.F
1.How apt works
APT uses a file to list the image site addresses of available software packages. This file is/etc/APT/sources. List.APT is a client/server system. Copy all RPM packages on the server (including upgrade packages from the original CD and RedHat), and then use the apt Analysis Tool (genbasedir) based on
Use of APT (Ubuntu Linux package management tool one)Apt-cache Search #------(Package Finder)Apt-cache Show #------(package gets information about packages, such as description, size, version, etc.)sudo apt-get Install #------(Package installer) sudo apt-get Install #-----(P
Modify
/Etc/APT/sources. List or/etc/APT/preferencesThen run the command. In addition, you need to regularly run this command to ensure that your package list is up-to-date. Apt-Get install packagename install a new software package (see the following
Aptitude) Apt-Get remove packagename uninstall an installed package
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.