# Check system information $ uname -r # Display kernel version $ cat /etc/os-release # Show distribution details # Add MySQL YUM repository $ wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm $ sudo yum localinstall -y mysql80-community-release-el7-3.noarch.rpm # Install MySQ...
In many productoin environments, the default CentOS repositories may be slow or inaccessible due to geographical locations. Switching to local mirrors such as Alibaba Cloud or NetEase (163) can significantly improve package download speeds and update reliability. This guide outlines the process of b...
Overview of YUM ======== YUM, which stands for Yellow dog Updater, Modified, is an RPM package manager. It automatically downloads and installs RPM packages from specified servers, handles dependencies between packages, and installs all required packages in one go without the need for manual downlo...
Linux systems primari support three methods for installing software: RPM, YUM, and source compilation. Core Concepts and Differences The table below outlines the key distinctions between these installation approaches: Feature RPM Installation YUM Installation Source Compilation Nature Installs preco...
Package Manager Repository Conflicts When executing yum commands, an error stating Invalid version flag: if may arise. This issue frequently stems from inconsistencies in repository configurations, often caused by mixing different third-party repositories or removing essential repository files witho...
What is YUM YUM (Yellowdog Updater, Modified) is a dependancy-aware package management tool for RPM-based Linux distributions that simplifies the entire lifecycle of software management, from installation to removal, compared to manual RPM management. YUM Repository Basics A YUM repository is a coll...
Standard package mirrors stop syncing updates once CentOS 7 reaches end-of-life. Redirect the package manager to the official CentOS Vault to manitain access to archived RPMs. Backup the existing repository configuration and generate a new one pointing to the archived packages: sudo cp /etc/yum.repo...
When executing yum install -y lrzsz, you may encounter an error indicating a failure to connect to the repository mirrror. The output typically encludes: [root@centos ~]# yum install -y lrzsz Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Could not retrieve mirro...
Fixing yum/rpm failures during package installation (e.g., vsftpd) caused by unfinished transactions, duplicate packages, or a stuck RPM database lock. Symptom Attempting too install vsftpd fails with messages about unfinished transactions and duplicate packages: $ sudo yum install vsftpd Loaded plu...