Debian is one of the earliest Linux releases. It can attract public attention because it makes it very easy to install and uninstall software. When other releases are stuck in the dependency quarary, Debian users are immune from these problems because of a better package management system. Debian once again acts as a pioneer in the road. She pioneered apt (Advanced Packaging tool ). This tool is then transplanted to the Red Hat system by conectiva fo
This article lists the common APT command parameters:
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
http://kurenai.elastos.org/2013/05/02/ubuntu-apt-get%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86/Let's start with a few directories related to Apt-get:/var/lib/dpkg/availableThe content of the file is the description of the package, which includes all packages in the Debian installation source used by the current system, including the installed and not installed packages on the current system./var/cache/
Under Ubuntu, Apt-get is the most commonly used shell command to install, uninstall, and inspect software in the system under Ubuntu.
This article enumerates several commonly used apt commands and their parameters: Apt-cache search packagename search Package Apt-cache show PackageName Get information about the p
1, problem descriptionThere are two hosts, of whichThe Linux Mint 18.2 Sonya System is installed on the 192.168.1.4. The hostname is Qwfys, and the user name is LWK.The Ubuntu Server 16.04.3 LT System is installed on the 192.168.1.25. The hostname is Ubuntu and the user name is LWK.When you enter a command on 192.168.1.25, APT is like this:[emailprotected]:~$ IP a1:lo: When you enter a command on 192.168.1.4, APT
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
Let's start with a few directories related to Apt-get:/var/lib/dpkg/available /var/cache/apt/archives directory is when installing software with Apt-get install , the temporary storage path for the package /etc/apt/sources.list store the software source site when you perform sudo
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
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.