Skip to content

Instantly share code, notes, and snippets.

@fxkraus
Last active November 17, 2025 08:56
Show Gist options
  • Select an option

  • Save fxkraus/595ab82e07cd6f8e057d31bc0bc5e779 to your computer and use it in GitHub Desktop.

Select an option

Save fxkraus/595ab82e07cd6f8e057d31bc0bc5e779 to your computer and use it in GitHub Desktop.
Install LSI MegaCli .deb package on Debian/Ubuntu

download

wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

unzip

unzip 8-07-14_MegaCLI.zip

create debian package

cd Linux
sudo alien MegaCli-8.07.14-1.noarch.rpm

install debian package

sudo dpkg -imegacli_8.07.14-2_all.deb

run MegaCli

/opt/MegaRAID/MegaCli/MegaCli64 -h
@dupondje
Copy link

Found another nice thing to get rid of the ncurses symlink:
patchelf --replace-needed libncurses.so.5 libncurses.so.6 MegaCli64

This replaces the library within the binary, which removes the need for the libncurses symlink :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment