1. Create an apt-Get configuration file using the proxy, the file name is random, I name it as a apt-get-proxy.conf here, put it in ~ Directory. 2. open the file in a text editor such as vim or gedit and enter the following content: acquire: http: proxy "http: // username: password @ Proxy Server IP Address: proxy serv
For a habit of using the Ubuntu terminal on the Apt-get to install the tool software, I also hope to find similar tools on the Mac, a very convenient command to install the required software, instead of manually to find the download compile, or toss the installation of some of the dependencies required. It's a surprise
Man dpkg
-- Root = dir | -- admindir = dir | -- instdir = dir
I guess apt will call dpkg, so look for the configuration files of APT-Get and dpkg to see where the default values of these parameters are.Modify the settings. I will not find them for you. Find dpkg or manual related to apt.
If you have the root permi
API God command:Apt-get-h >>help.txtApt 1.0.10.2UBUNTU1, for AMD64 architecture, compiled in OCT 5 2015 15:55:05Usage: apt-get [options] Commandapt-get [Options] Install|remove software package 1 [Package 2 ...]Apt-
Apt-Get is used in maemo, especially in scratchbox,
You can refer to these help:Directory
1 Introduction
2 Basic settings
2.1/etc/APT/sources. list file
2.2 how to use apt locally
2.3 select the best image publishing site and add it to the source. list file: netselect, netselect-
If a problem occurs on the official website, use the Unbuntu8.10 disc as the apt-get Source. The steps are as follows: 1. Insert the disc into the cdrom and execute the sudoapt-cdromident command (do not do this ). It only scans, checks whether the content of the installation disc is complete, performs MD5 verification, and recognizes the optical disc label. 2. input sudoapt-cdromadd to officially import th
The package has no installation candidate problem occurred during software installation today, for example:
# Apt-Get install Reading package lists... DoneBuilding dependency tree... DonePackage aptitude is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, orIs only available from another sourc
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 ins
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, versio
For a habit of using the Ubuntu terminal on the Apt-get to install the tool software, I also hope to find similar tools on the Mac, a very convenient command to install the required software, instead of manually to find the download compile, or toss the installation of some of the dependencies required. It's a surprise
After using Ubuntu for a while, you will find that many kernels are installed in the system due to automatic upgrades. As I have installed so many of the following, this leads to a long startup list. You must delete unnecessary items. First, use the following command to list all installed kernels. In the following table, the kernel files with images are used. Select the package to be uninstalled and use apt-get
Note: The following are personal understandings and the details may not be accurate.Apt-get is a "package Manager" used by some Linux distributions (there are other distributions that use Yum, as well as package managers on other platforms such as brew, for similar works).The role of the package Manager is to download the latest package list from the source server and then query the list for the package's version information, system requirements, tran
UpdateUpdate is used to resynchronize the package, index files from their sources. The indexes of available packages is fetched from the location (s) specified in/etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and scans the packages.gz files, so t Hat information about new and updated packages is available. An update should always is performed before an upgrade or Dist-upgrade. Please be aware the overall prog
Ubuntu for official sources apt install nginx add trusted key: touch ~ /Nginx_signing.key1sudo vi ~ /Nginx_signing.key to add the officially provided key. Here is the key url 1 sudo apt-key add ~ /Nginx_signing.key Step 2/etc/apt/sources. add the official source RHEL/CentOS: Version5.x6 at the end of list file. xDebian
We recently used Ubuntu 11.04 to compile a tool that requires the Subversion tool. However, when running sudo apt-Get install subversion, the following error occurs,
E: Unable to fetch some archives, maybe run apt-Get update or try with -- fix-missing?
Google is widely u
Reprinted from Http://www.cnlamp.org/linux/417.html
Posted 2 years ago ⁄linux⁄ No Comments
Since the version of MongoDB in the official Ubuntu apt source is older, it is installed with the APT source provided by MongoDB. To use the software on a third-party source, in addition to adding the corresponding source on the sources.list, you have to add the corresponding public key key to properly
How to install rpm,deb,tar.gz,tar.bz2, APT, Bin files in Linux
First install the alien package that comes with the system: terminal-su-Enter password-enter root user-
Sudo apt-Get install alien
In this way, the alien packa
The newly installed Ubuntu 14.04 LTS is always prompted for the hash Sum mismatch error when the sudo apt-get Update command is updated, and a number of ways have been found online.Some methods, sometimes useful, sometimes do not work. First of all, the common online approach, and finally said once and for all solution.
Option one: replace the software download source, you can through the system settings so
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.