Hostnic Promo

Cara mengatasi “lsb_release: command not found” pada CentOS

Error pada centos saat lsb_release -v

# lsb_release -v
-bash: lsb_release: command not found

Cara mengatasi nya

  1. Dengan yum whatprovides
    # yum whatprovides lsb_release
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    epel/x86_64/metalink                                                                                                                                                                 |  16 kB  00:00:00
     * base: mirrors.advancedhosters.com
     * epel: mirror.umd.edu
     * extras: mirrors.advancedhosters.com
     * nux-dextop: li.nux.ro
     * updates: mirrors.advancedhosters.com
    
    ...
    
    redhat-lsb-core-4.1-27.el7.centos.1.i686 : LSB Core module support
    Repo        : base
    Matched from:
    Filename    : /usr/bin/lsb_release
  2. Install package redhat-lsb-core
    # yum install redhat-lsb-core

    atau

    # yum install redhat-lsb
Hostnic Promo

Di tulis oleh: