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
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
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
git address Https://github.com/transcode-open/apt-cygInstructions for use on Git apt-cygApt-cyg is a Cygwin package manager. It includes a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository. The syntax is similar to Apt-get. Usage Examples:
apt-cyg install To inst
Apt-Cache
This command is used to search for software in the cache of APT software packages. Simply put, it is used to search for software packages, collect software package information, and search for software that can be installed on Ubuntu or Debian.
List all currently available software packagesApt-Cache pkgnames
Search for a software package and list its related informationApt-cache search vsftpd
Find
Raspberry Pi apt software management tool
The easiest way to manage installation, upgrade, and uninstall software is to use APT (Advanced package management tool) On Debian ). If a software package into a Debian package and is applicable to Raspberry Pi's ARM architecture, the package is also compatible with Raspbian.
You need the root user permission to install or uninstall the software package. Therefore,
The apt-mirror tool can download the official image to a local device and ensure that the directory structure is consistent with that of the image. However, you cannot modify the image repository. To download and modify the image repository, use the reprepro tool.[Installation]First install apt-mirrorSudo apt-get install apt
Install lamp on Ubuntu Everyone should be familiar with, but for the current very popular lemp stack how to install with Apt-get, so the article is not much to introduce. Below I use Ubuntu 12.04 LTS As an example to explain how to apt-get install these.Why use Apt-get to install without compilingWith package management In addition to the convenience of a unified
Yum Install--nogpgpcheck First, Apt the relevant documents
/etc/apt/sources.list
Set up the source for the package
/etc/apt/apt.conf
Apt configuration file
/etc/apt/apt.conf.d/
Apt
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
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.