Question about Lua

question about lua ,
i have 3 versions lua , lua51 and lua54 , so we cant have one version lua ?

pactree -r lua

lua
└─wireplumber
  ├─gst-plugin-pipewire
  │ └─manjaro-pipewire
  ├─pipewire-alsa
  │ └─manjaro-pipewire
  └─pipewire-pulse
    └─manjaro-pipewire

 pactree -r lua51

lua51
└─vlc-plugin-lua
  └─vlc-gui-qt
    └─vlc

pactree -r lua54

lua54
├─libinput
│ ├─labwc
│ ├─qt5-base
│ │ ├─kcoreaddons5
│ │ │ ├─kauth5
│ │ │ │ └─manjaro-settings-manager
│ │ │ │   └─manjaro-settings-manager-notifier
│ │ │ └─manjaro-settings-manager
│ │ ├─kitemmodels5
│ │ │ └─manjaro-settings-manager
│ │ ├─manjaro-settings-manager
│ │ ├─polkit-qt5
│ │ │ └─kauth5
│ │ ├─python-pyqt5
│ │ ├─qt5-declarative
│ │ │ └─qt5-wayland
│ │ │   └─vlc-gui-qt
│ │ │     └─vlc
│ │ ├─qt5-sensors
│ │ ├─qt5-svg
│ │ │ ├─qt5ct
│ │ │ │ └─manjaro-xfce-settings
│ │ │ └─vlc-gui-qt
│ │ ├─qt5-x11extras
│ │ │ └─vlc-gui-qt
│ │ ├─qt5ct
│ │ └─vlc-gui-qt
│ ├─qt6-base
│ │ ├─kdsingleapplication
│ │ │ └─strawberry
│ │ ├─kvantum
│ │ │ └─kvantum-theme-matcha
│ │ │   └─manjaro-xfce-settings
│ │ ├─kwindowsystem
│ │ │ └─kvantum
│ │ ├─poppler-qt6
│ │ │ └─qpdfview
│ │ ├─qt6-declarative
│ │ ├─qt6-svg
│ │ │ ├─kvantum
│ │ │ ├─qpdfview
│ │ │ └─qt6ct
│ │ │   └─manjaro-xfce-settings
│ │ ├─qt6ct
│ │ └─strawberry
│ ├─wlroots0.20
│ │ └─labwc
│ └─xf86-input-libinput
│   └─xorg-server
│     └─lightdm
│       └─lightdm-gtk-greeter
│         └─lightdm-gtk-greeter-settings
└─nmap

The different versions are due to some packages requiring older versions than the current 5.5 release. Think of Lua versions like Python major versions; i.e., 2 vs. 3.

3 Likes

Lua has undergone extensive revisions.

Some of the changes between these versions mean that certain scripts written for Lua 5.1 no longer function with newer versions.
There are also numerous projects that, for this reason, have committed themselves to a specific version.
:footprints:

3 Likes