Many people cannot understand what a software package management system is when they are most familiar with Linux. In fact, the software package management system in linux is a tool combination that automatically installs, configures, uninstalls, and upgrades software packages on a computer. It is somewhat similar to the control panel in windows.
In Linux distributions, almost every release has its own software package management system. Common deb Software Package dpkg and its front-end apt (ap
-eth0.Add: The virtual machine added network card does not have the configuration file to manually add the configuration or graphics add network cardLambda master the definition of network configuration: the so-called network configuration (setting) is to modify the network configuration file card corresponding, you can use the text editor (vi) directly edit the network configuration file to reconfigure the network.4, modify IPII: Package Management1, understand the
Tags: BSP System Information List install Inux command grep file management1, RPM package is divided into installed and not installed two major categories,2, to generate RPM package, must have a spec file, this file is used to specify the RPM package of the meta-array.3. View installed RPM packagesQuery installed
briefly introduce the use of R P M. 1. Install the package with R P M The simplest installation commands are as follows: RPM-IVH foo-1.0-1.i386.rpm foo #################################### R P will output the name of the package and display a status bar. Installing the software is simple, but sometimes it gives you some error messages: A. "Package already Installed" If the package is installed, you will see
Label:commandformredisfillsch ssoimportsys.gz Database-relational database (RDBMS): Oracle mysql DB2 SQL Server Sybase ... Advantages: Easy to understand, easy to use, consistent data, read and write real-time data consistent: The transaction either all succeeds, or all fails; in our database, a transaction is composed of many SQL statements, either all succeed or all fail, in order to ensure the consistency of the data application scenario: 1, The consistency of data requirements are relatively
Label:CENTOS6 installation in RPM RPM-IVH http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm Yum Install Mysql-server–y Start Service mysqld Start Initialization Mysql_secure_installation Enter current password to root (enter for none): Set root Password? [y/n] Remove anonymous users? [y/n] Disallow Root login remotely? [y/n] Remove test database and access to it? [y/n] Reload privilege tabl
Tags: word rem red ibdata rip mis directory href preSummarize the way the MySQL rpm is installed, with some errors Environment[Email protected] ~]# uname-aLinux host2 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 01:55:02 UTC x86_64 x86_64 x86_64 gnu/linux[Email protected] ~]# cat/etc/issueCentOS Release 6.5 (Final)Kernel \ r on an \m1, check whether the installation [Email protected] ~]# Rpm-qa | grep--color M
RPM Mode installation MySQL5.61. Check if MySQL is installed, remove (rpm–e name) if installed[Email protected] ~]# Rpm-qa | Grep-i MySQLMysql-libs-xxxxxxxxxx.x86_64[Email protected] ~]# yum-y Remove mysql-libs*2. Install MySQL and modify the configuration file location[Email protected] rpm]#
Remove the MYSQL:RPM-QA from the system before installing MySQL | grep "mysql*" and Rpm-qa | grep mysql to make sure to uninstall the clean rpm-e mysql-server-5.1.74-1.el6.x86_64.rpm--nodepsmysql here using RPM Installation: Installation package: Mysql-5.6.26-1.linux _glibc2.5.x86_64.
Rpm Overview
Rpm has five basic operations (excluding creating software packages): installation, uninstallation, upgrade, query, and verification. Let's explain it one by one.
1. Install the RPM package
Rpm packages typically have file names similar to foo-1.0-1.i386.rpm
Rpm has five basic operations (excluding creating software packages): installation, uninstallation, upgrade, query, and verification. Let's explain it one by one.
1. Install the RPM package
Rpm packages typically have file names similar to foo-1.0-1.i386.rpm. This includes the software package name (FOO), version n
0, rpm commonly used commands1. Install a Package
# RPM-IVH
2. Upgrade a Package
# RPM-UVH
3. Uninstall a Package
# RPM-E
First through the RPM-Q
Then call the RPM-E
If you encounter dependencies that cannot be deleted, use
RPM Command ManagementThe RPM package is a binary installation package based on the Red Hat series. The common Red Hat series include Red Hat Enterprise Linux,centos, Linux distributions such as FedoraFirst introduce the rpm Package naming method:httpd-2.2.15-39.el6.centos.i686.rpmBefore introducing the rpm command fo
I found the following error when installing the DNS service for Linux 5 today![Root @ localhost server] # rpm-IVH bind-chroot-9.3.3-7.el5.i386.rpmWarning: bind-chroot-9.3.3-7.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186Error: Failed dependencies:Bind = 30: 9.3.3-7. EL5 is needed by bind-chroot-9.3.3-7.el5.i386
This is mainly because the corresponding package is missing.
If the system softwa
1, problem displayCompilation failedCompiling pycrypto-2.6.1 under python2.6 environmentSrc/hash_template.c:360:warning:implicit declaration of function ' pyerr_occurred 'Src/hash_template.c:361:warning:implicit declaration of function ' Py_fatalerror 'Error:command ' gcc ' failed with exit status 12. Basic EnvironmentUsing the Install Image:Sles-11-sp2-dvd-x86_64-gm-dvd.iso/usr/local # Rpm-qa | grep CPPcpp43-4.3.4_20091019-0.22.17cpp-4.3-62.198liblda
Management of Linux software packagesThere are several types of software in Linux: binary packages, source packagesBinary: There is a universal binary,SOURCE package: Can be customized, cross-platform but the installation is more troublesome, usually need to compile the installationTwo major mainstream of package ManagerDPKG: It was developed by the Debian Linux community, as long as the other Linux distributions of the derivative version of Debian use the dpkg mechanism to manage the software,
This article describes how to use RPM and YUM package management tools to manage packages on Linux. Learning:
Prerequisites
To make the most effective use of the articles in this series, you should have basic Linux knowledge and prepare a Linux system to use the commands described in this article. Sometimes the output formats of different versions of the program are different, so the results you get may not always be the same as the list and diagram s
RPM Description: A program package that can be installed or uninstalled in a Linux environment. Install or uninstall via the RPM Directive of Linux; RPM Advantages: RPM contains compiled programs and configuration files and other data, can let users exempt from the problem of recompilation;
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.