Ad Widget

Collapse

sudo apt-get command not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sokolum
    Junior Member
    • Jan 2025
    • 4

    #1

    sudo apt-get command not found

    I have installed the following appliance:
    Zabbix 7.2 7.2.2 Jan 06, 2025 VMWare (.vmx)
    I am new to Zabbix, not new to Linux, but i fail hard when trying to follow the guidelines:
    5. Zabbix appliance
    6 Zabbix appliance

    Within Shell under user root the appliance doesn't reconize the commands like:

    nmcli
    sudo nmcli
    or
    sudo apt install --only-upgrade 'zabbix.*'

    or using apt-get

    What I am doing wrong here?

  • Blevar
    Member
    • Jan 2025
    • 68

    #2
    Which linux distro are you using? Apt works in distros based on Debian - like Ubuntu or PiOS.
    Maybe you need to use other packet manage like DNF or YUM?
    Nmcli is a network manager tool - I doubt it is installed by default. you can install it in Debian based os by:
    Code:
    sudo apt install NetworkManager

    Comment

    • sokolum
      Junior Member
      • Jan 2025
      • 4

      #3
      Originally posted by Blevar
      Which linux distro are you using? Apt works in distros based on Debian - like Ubuntu or PiOS.
      Maybe you need to use other packet manage like DNF or YUM?
      Nmcli is a network manager tool - I doubt it is installed by default. you can install it in Debian based os by:
      Code:
      sudo apt install NetworkManager
      Hi Blevar,

      Thanks for your response! I have found by looking which distribution it is based on,thank you.

      I'm using the Zabbix appliance, which you can find here: Download Zabbix appliance. Based on RHEL 8, where you use: dnf


      Installing nmcli:
      dnf install -y NetworkManager
      systemctl enable --now NetworkManager

      some command you can use:
      nmcli -h
      nmcli device show
      ​ip addr show

      Command i used to find the bases distro:

      [root@appliance ~]# cat /etc/*release
      AlmaLinux release 8.10 (Cerulean Leopard)
      AlmaLinux release 8.10 (Cerulean Leopard)
      NAME="AlmaLinux"
      VERSION="8.10 (Cerulean Leopard)"
      ID="almalinux"
      ID_LIKE="rhel centos fedora"
      VERSION_ID="8.10"
      PLATFORM_ID="platform:el8"
      PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)"
      ANSI_COLOR="0;34"
      LOGO="fedora-logo-icon"
      CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
      HOME_URL="https://almalinux.org/"
      DOCUMENTATION_URL="https://wiki.almalinux.org/"
      BUG_REPORT_URL="https://bugs.almalinux.org/"

      ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
      ALMALINUX_MANTISBT_PROJECT_VERSION="8.10"
      REDHAT_SUPPORT_PRODUCT="AlmaLinux"
      REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
      SUPPORT_END=2029-06-01
      AlmaLinux release 8.10 (Cerulean Leopard)
      ​​

      Comment

      Working...