Debian/Ubuntu Linux uses apt, Which is used during upgrade:Apt-Get updateApt-Get upgradeApt-Get dist-UpgradeBut some people often ask,What is the difference between upgrade and dist-upgrade? If you look at it carefully, you may have different interpretations of upgrade and dist-upgrade, and record your views here.I thi
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
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
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
From: http://openexz.sinaapp.com/tag/apt-get/
Error:You may need to run "apt-get-F install" to correct the following errors:The following software packages have dependencies that are not met:Linux-headers-2.6.37-6-generic-pae: Dependency: linux-headers-2.6.37-6 but it will
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
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-
Figure-LAMP
UseApt-getBuildLAMPEnvironment Basics
If you are installing it on the local machine for testing, it is best to ensure that the hosts content is as follows:
Username @ ubuntu :~ $ Cat/etc/hosts
127.0.0.1 localhost
[Edit] install
[Edit] install LAMP
1. Careful manual installation (minimum components)
Sudo apt-get
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
Newly installed ubnutu1404 64-bit, want to install Vim need to update the software source, but in Apt-get update error, error display-Reading Package List ErrorCould not get Lock/var/apt/lists/lock-open (forget about what's written in it)Solution 1 (pro-test pass): Open soft
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
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
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 i
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
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
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
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 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.