/CD/Server
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-RedHat-release
Iii. Verification
Result verification: Yum list | WC-l
[[Email protected] yum. Repos. d] # Yum list | WC-l
3347
Problem and Experience Summary
Fault symptom:
1. the file cannot be read.
2. The yum configuration is incorrect.
Soluti
For various reasons, I like to use yum for installation When configuring the server.
However, after installing php, The mcrypt extension can no longer be found in the yum source, which makes the encryption function unusable.
My solution is as follows:
Packages similar to this
2. Go to the source code package to compile the mcrypt extension and install it as f
software.c) –e: Remove/Remove (Erase) software.d) –v: Displays detailed processing information.E) –h: Displays the installation progress. Uninstall is not available3, master the commands commonly used to query the installed package information:A) Rpm–qa: Displays all packages installed on the current operating system, where Q is the 1th letter of query, and a is the 1th letter of all.Rpm–qa | grep DHCPb) RPM–QF file name: Shows which
mount a disc image in the directoryModify some directories in YUM.REPO.D: Centos-base (all early Backup)Try: Yum Install * * *Reference Source:1.ISO as a Yum source installation RPM PackageWww.BkJia.Com Netizens share: 2014-08-15 04:08:44 views 19,712 times1. Create a mount DirectoryMkdir/media/centos2. Mount the DVD discMount-t Auto/dev/cdrom/media/centos3. Modifying the
Summary of JavaScript Package ManagerSummary of JavaScript Package Manager
For JavaScript, package manager is not a new concept. npm and bower are two of the most popular JavaScript Package Ma
, my side again to use the old version of the way to install a bit ~
I am here to describe the installation of Python Pip under CentOS, in order to maintain the universality of the platform, I use the source code to install PIP.
CD to the directory where you want to download the PIP, personal suggestions
# CD /USR/LOCAL/SRC
#wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz
# TAR-XZVF pip-1.5.4.tar.gz# cd pip-1.5.4# python setup.py install
How do I install it? I'm also a p
How to Use Yum to download and install the RPM package and its dependencies, and use yumrpm Dependencies
Today, when installing Perl-IPC-cmd, we found many dependencies.
Run Yum install? Perl-IPC-cmd looks like this:
Updating: glibc-common-2.17-196.el7_4.2.x86_64 1/22 updating: glibc-2.17-196.el7_4.2.x86_64 2/22 updating: libdb-5.3.21-21.el7_4.x86_64 3/2
When we install a package with the RPM tool under Linux, we always encounter problems with the installation because of the dependencies between the packages. For people familiar with Linux, it may be possible to judge the software packages that depend on experience, but it is difficult for the average person to do so, and it is too troublesome to do so. What about it? This is what I want to talk about, it can be very good to solve the dependencies bet
In a 64-bit operating system, if you use YUM to install only the configuration of the pure 64-bit software package, installing the 32-bit and 64-bit software at the same time will not cause any problems to the system, however, this will waste hard disk space and make the system look bloated and not clean. If you want to keep a pure 64-bit system... in a 64-bit operating system, if you use
[NOI2015] Package Manager time
limit:10 Sec Memory limit:512 MBsubmit:331 solved:199[Submit] [Status] [Discuss]
DescriptionLinux users and OSX users must not be unfamiliar with the package manager. With the Package Manager
Sometimes we need to download a package but not install it, just to make it easy to copy the package to other machines that cannot access the Internet. Below we make only download not install.1. Install the Yum-plugin-downloadonly plugin (if it is a CentOS 5.x version, install yum-downloadonly.noarch)
To do enterprise applications, some scenarios below are required offline installation of the environment, the Linux system requires some of the RPM package to do offline installation.
#修改yum设置, allow the RPM package to be cached locally
vi/etc/yum.conf
#修改keepcache为1
keepcache=1
#清空yum缓存
Yum (full name Yellow dog Updater, Modified) is a shell front end package Manager in Fedora and Redhat and CentOS. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them automatically handles dependency relationships and installs all dependent package
any environment. (That is, it's none of your business. Hardware platform can be)ABI: A source code, but unlike the API, the ABI relies heavily on the hardware environment. (if it's a different device, it's not going to work, just like the computer-formatted software doesn't work on the phone)So, if you're porting a piece of software, it's best to be an API.Note: Some programs do not depend on the hardware to run, and depend on the virtual machine to run. (Can be run across platforms)Then let's
Q1:whatFirst ask the Almighty man in Linux.Mans YumSimply put, Yum is a apt-get-like package Manager.Also attached are the yum Wikipedia.Q2:howSince it says something like Apt-get. Then combine the actual combat to learn yum immediately.First explain the Blogger learning platform CentOS LiveCD, then the corresponding
Install both 32-bit and 64-bit packages in a single architectureEcho ' Multilib_policy=all ' >>/etc/yum.confSpecifying architectureView current system architecture[Email protected] ~]# Uname-arLinux Oracle 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC x86_64 x86_64 x86_64Gnu/linuxTo view the Iptables packages currently installed on the system[Email protected] ~]# rpm-q iptablesIptables-1.4.7-5.1.el6_2.x86_64Use Yum to specify a 32-bit
Linux beginnersJust getting started with RPMPackage dependency is a headache. Learned to useYumIt is a good thing to solve the dependency, but when weLinuxWhat if the system is not connected to the Internet? Can it be automatically installed??Of course there is a solution.
I. First, set the RPM of the CDAll packages are copied to the hard disk,XxxDirectory./Var/FTP/RPMIn this way, it makes it easier for others to connect;
2. Install createrepoAndYumThese two tools
# Rpm-IVH createrepo-0.4.11-3.e
In CentOS, yum cannot find a package. How can this problem be solved?
The simplest way to install software on CentOS is to install software through yum. This method solves the problem of package usage (recommended ), however, sometimes the yum search
4196: [Noi2015] Package Manager
Time Limit:10 Sec Memory limit:512 MB
submit:122 solved:97
Description
Linux users and OSX users must not be unfamiliar with the package manager. With the Package Manager, you can install a
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.