Article title: Set the http proxy service for apt-get in three ways. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Method 1:
This is a temporary method. if you only need to use apt-get through http proxy temporarily, you can use this method.
Before using
[It168 application] on June 23, August 15, Huawei attended the 2014 trend CIO summit with nearly 300 leading cloud computing vendors and leading domestic industries, CIOs and CSO of well-known enterprises discuss hot topics such as cloud data center security architecture, big data security, and mobile device security management. Huawei also shared how Huawei's security solution uses big data analysis technology and security co-defense philosophy to help enterprises build a defense system in dept
The difference between apt-get upgarde and dist-upgrade is that apt is used in Debian/Ubuntu Linux and is used in the upgrade: www.2cto.com apt-get update apt-get upgrade apt-get dist-upgrade, but some people often ask, what is the difference between upgrade and dist-upgrade
Under Ubuntu, Apt-get is close to being one of the most commonly used shell commands, because he is the common tool command for Ubuntu to install software.This article lists the 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-cache is an apt package management tool under Linux that can query apt's binary package cache files. APT Package management of most information query function can be implemented by the Apt-cache command, through the Apt-cache command with the use of different sub-command
Several commands that are not commonly used in apt management-Linux Release Technology-Debian information. For details, refer to the following section. The ease of use of debian apt commands is not controversial, but there have been several features which cannot be solved smoothly. For example, you can check which deb packages are installed in the current system. Although you can use aptitude, however, apti
Apt-Get is downloaded Based on/etc/APT/sources. List.
If you need to add the source to the list, execute sudo add-Apt-repository, as shown in
Sudo add-Apt-repository "Deb http://archive.canonical.com/ubuntu maverick partner"
Update the system and run the following command:
Sudo
The apt-xapian-index package is very convenient to use, but I am always exhausted (the first line): There are two solutions online: 1. delete apt-xapian-index, but after deleting it, quicksearch cannot be used and it is inconvenient to find the software. Fortunately, use the second solution: edit apt-xapian-indexgedit/etc/cron. weekly/
E: EncounteredasectionwithnoPackage: header, E: ProblemwithMergeList/var/lib/apt/lists/****** solve the following error when installing software on Ubuntu recently: E: encounteredasectionwithnoPackage :... e: Encountered a section with no Package: header, E: problem withMergeList/var/lib/apt/lists/****** solves the following error message when installing software on Ubuntu recently: E: Encountered a section
Apt and Yum and other package management tools can solve the dependencies of various packages under Linux, and with apt and Yum there is no need to manually compile the source code to solve the dependency relationship. Manual make source code, may lead to a lot of make,make to the final discovery of the kernel version of the requirements, then to make the kernel, and finally change the operating system.Usin
E: encountered a section with no package: Header, E: Problem with mergelist/var/lib/APT/lists /******
At first, the package in apt lists does not have mysql-server. Therefore, run the command apt-Get update to update the list, but the above error is still reported, the prompt is the package entry file cocould not be parsed or opened of a mirror site in lists. R
Apt-get downloads are sometimes very slow, especially when some software sources outside China are used (some software must use special sources ).We can first download these required software packages using thunder, and then install them to improve the speed accordingly.Apt-Get install-print-Uris software nameWith this command, we can obtain the software package required to install the software. Then download it with thunder.Commands like
I. Update the source and change the source server
Sudo apt-Get install *** is often used in Ubuntu,
But sometimes there may be various errors. If there is no command error, it may be a problem with the software source!
First, you can enter sudo apt-Get update to update the source, and then try again.
It may also be that the connection is not connected to the source, or sometimes the source may be use
Apt-get in Linux today prompts me errors when I want to watch videos in Linux. Various dependencies indicate that linux cainiao are hard to cope, at this time, I realized the advantages of apt-get. So I went to view the relevant information about apt-get: first, let's take a look at the problem I encountered. How can I solve it? 1. I want to install mplayer (sudo
Linux ubuntu apt-get replaces the source ubuntu with the default source in the United States, so the download is particularly slow. as a user of tianchao, it is natural to replace it with the source of tianchao. Many sources are available in China, and some universities and companies are maintaining some sources. There are a lot of available on the Internet. Here is a simple method. Use vi and gedit to open/etc/ap
Ask a linux Command, sudoadd-apt-repositoryppa: ailurus -- general Linux technology-Linux technology and application information. The following is a detailed description. I installed ubuntu today. I want to install ailurus, But I can use sudo apt-get ingstall ailurus in the command line to show that there is no software, and then I will search for it online.
Someone gave it
Sudo add-
Install the LNMP environment using apt-get In Ubuntu 14.04
1. Use root to log on to the Ubuntu 14.04 host and execute the following command:
Sudo apt-get install nginxSudo apt-get install php5Sudo apt-get install php5-fpmSudo apt-get install mysql-server set the root passwor
Ubuntu inherits a very good feature of the Debian system: the APT software manager is used to manage all the software. Prior to this, software installation in Linux has been criticized-users need to solve the dependency between software and libraries themselves. This is usually a tedious analysis process. APT software manager is designed to change this situation.
APT
This article focuses on using the Apt-get installation lamp (Ubuntu 16.04,apache2.4.18,mysql5.7.12,php7.0.4) environment in Ubuntu, so no longer describes how to install Ubuntu. Install Apache:[emailprotected]:~$ sudo apt-get install apache2To view the Apache version:[emailprotected]:~$ apache2 -vServer version: Apache/2.4.18 (Ubuntu)Server built: 2016-04-15T18:00:57The above information indicates that Ap
Ubuntu Apt-get Update failed1. Error occurred: E:could not get Lock/var/lib/apt/lists/lock-open (11:resource temporarily unavailable)This problem may occur because another program is running, causing the resource to be locked out of service. The reason that the resource was locked may have been the last time that the installation was not completed properly, causing this condition to occur.WORKAROUND: Delete
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.