Example: 1 list all available packages[Email protected]:~$ apt-cache pkgnamesAccount-plugin-yahoojpCeph-fuseDvd+rw-toolsE3Gnome-commander-dataGrub-gfxpayload-listsGweled.......................................Example: 2 search for packages with keywordsThis command is useful when you are unsure of the name of the package, as long as the Apt-cache (LCTT: The original is a
Apt-getremove is A good understanding of the behavior of deleting A package, that is, deleting A package dependent on it. for example, A depends on B, and B depends on Capt-getremove to delete B, A will be deleted (it is easy to understand that A depends on B and B will be deleted, and A will not be able to run normally) first, we should explain that apt-getautoremove and aptituderemove are the same
# apt-get update--Run the command after modifying/etc/apt/sources.list or/etc/apt/preferences. In addition, you need to run this command regularly to ensure that your package list is up-to-date.# Apt-get Install packagename--installs a new package (see aptitude below)# apt-g
#aptitude Search PHP------Find PHP-related packages.# apt-get update--Run the command after modifying/etc/apt/sources.list or/etc/apt/preferences. In addition, you need to run this command regularly to ensure that your package list is up-to-date.# Apt-get Install packagename--installs a new package (see aptitude below)
If you often feel that apt-get or aptitude packages are slow to install on Debian or Ubuntu systems, there are several ways to improve this situation. Have you considered changing the default mirror site that is being used? Do you have the possibility of excluding the upstream bandwidth of Internet connection as a bottleneck?
If not for these reasons, you can try a third option: using the Apt-fast tool.
# Apt-Get update -- run this command after modifying/etc/APT/sources. List or/etc/APT/preferences. 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 aptitude below)#
How to: Find the fastest apt mirror server for Debian or UbuntuHow to find the fastest apt Backup Server In Debian or Ubuntu
Submitted by ggarron on Wed, 05/14/2008-16:51
If you want to use the fastest mirror to download. deb files you may need to upgrade or update your Debian machines, you have to remember that not always your nearest server is the fastest one, and that coshould be because not only the dis
Ubuntu Solution: When executing sudo apt-get update or sudo apt-get install command is appearing "Apt-get 404 Not Found Package Repository" issue and "E : Some index files failed to download They have been ignored, or old ones used "issue
When you execute the sudo apt-get update command, if you encounter the following
The apt-get command does not provide the software package management function, but provides a command line platform for software package management.
Use more sub-commands on this platform to complete specific management tasks.
The general syntax format of the apt-get command is:
Sh code
Apt-get subcommands [-d |-f |-m |-q | -- purge | -- reinstall |-B |-s |-y |-
Apt-get is a Linux command for the Deb package managed operating system that is used to automatically search, install, upgrade, uninstall software, or the operating system from the Internet's software warehouse. The general syntax format for the Apt-get command is: Apt-cache provides a search function with the following command syntax format: Note: In the foll
Raspberry Pi apt software management tool and Raspberry Pi apt 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 u
Apt is more than apt-get -- Debian information of the Linux release version. For more information, see below. In ubuntu (debian), installing software with apt-get or synaptic is very easy. In addition to simple installation software, apt tool set has many usage in special cases.
Remember that the man manual is a mento
Ubuntu Replacement Apt-get Source# Cp/etc/apt/sources.list/etc/apt/sources.list.bak# vim/etc/apt/sources.listDeb http://mirrors.163.com/ubuntu/precise main restricted deb-src http://mirrors.163.com/ubuntu/precise main Restricted deb http://mirrors.163.com/ubuntu/precise-updates main restricted deb-src/HTTP Mirrors.163.
http://rsljdkt.iteye.com/blog/1142463Apt-cache Search WubipinyinThe Apt-get command itself does not have the ability to manage packages, but provides a command-line platform for package management.Use richer subcommands on this platform to accomplish specific management tasks.The general syntax format for the Apt-get command is:SH code
Apt-get subcommand
How to to:find the fastest apt mirror server for Debian or UbuntuHow to find the fastest apt mirror server in Debian or UbuntuSubmitted by Ggarron on Wed, 05/14/2008–16:51If you are want to use the fastest mirror to download the "Deb" files you'll need to upgrade or update your Debian machines, y OU have to remember that isn't always your nearest server is the fastest one, and that could being because not o
CEO of FlashSky hanhaiyuanHanhaiyuan: strives to make security a basic attribute of the IT system. It helps customers improve their system security and detect and defend against APT attacks.At present, the details of APT attacks are published in the United States. But it does not mean that APT attacks are targeted only in Europe and America. The main reason is th
When you run Apt-get update, the following error is reported:E: Unable to get lock/var/lib/apt/lists/lock-open (11:resource temporarily unavailable)E: Unable to lock the directory/var/lib/apt/lists/This problem is meant to be used for the apt-get operation of the lock (should be used for mutual exclusion of the lock),
Ubuntu apt-get update error with sudo:
E:problem Executing scripts apt::update::P ost-invoke-success ' if/usr/bin/test-w/var/cache/app-info-a-e/usr/bin/app STREAMCLI; Then appstreamcli refresh >/dev/null; Fi
E:sub-process returned an error code
Workaround:Remove LIBAPPSTREAM3 First
sudo apt-get remove libappstream3
Or
sudo
Apt-fast is a tool that uses axel to accelerate apt-get software installation. This tool is used to install the software in Ubuntu because of the multi-thread download function of axel, therefore, when downloading a software package, it will be several times faster than the normal apt-get. Of course, this also depends on the network. If you download a software pa
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.