InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search
  • Home
  • > Tutorials
  • > Linux

Linux yum quick tutorial

on Jun 2, 2020

Linux Yum handy commands for Amazon Linux, Centos, RHEL Linux

  1. Show Repository list
    sudo yum repolist
    sudo yum repolist all (includes disabled also)
  2. List all packages from all repos
    sudo yum list
  3. List packages matching specific name pattern
    sudo yum list “mysql*”
  4. install a package
    sudo yum install mysql-community-server
  5. Remove packages based based on a name pattern
    sudo yum remove “mysql*”
  6. Show duplicates of a package
    yum list php –showduplicates
  7. Install package from a specific repo (e.g. remi-php73)
    yum –disablerepo “*” –enablerepo “remi-php73” php

Suggested posts:

  1. Install php 7 on Amazon Linux 2
  2. mac pkgutil – quick start guide
  3. How to install mysql 5.7 on Amazon Linux 2
  4. NodeJS – npm beginner tutorial
  5. Ubuntu – dpkg and apt-get beginner tutorial
  6. csvkit – parse csv file and data on Linux command line
  7. LXC (Linux Containers) – quick start tutorial on Ubuntu
  8. node-sass quick start tutorial on Linux and Mac
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Amazon Linux 2, Linux

Follow InfoHeap

facebook
twitter
googleplus
  • Browse site
  • Article Topics
  • Article archives
  • Recent Articles
  • Contact Us
  • Omoney
Popular Topics: AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2022 InfoHeap.

Powered by WordPress