Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@jasonpit

This comment has been minimized.

Copy link

commented Aug 30, 2018

Thank you!!

also found a typo

sudo dpkg -imegacli_8.07.14-2_all.deb

should be

sudo dpkg -i megacli_8.07.14-2_all.deb

@binakot

This comment has been minimized.

Copy link

commented Mar 31, 2019

This is my way for Ubuntu:

wget --user=hetzner --password=download http://download.hetzner.de/tools/LSI/tools/MegaCLI/8.07.14_MegaCLI.zip
unzip 8.07.14_MegaCLI.zip -d megacli
cd megacli/Linux
sudo alien MegaCli-8.07.14-1.noarch.rpm
sudo dpkg -i megacli_8.07.14-2_all.deb
ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/bin/megacli
@AysadKozanoglu

This comment has been minimized.

Copy link

commented May 28, 2019

Repo Source for megaRaid and other different Raid Controller
see: https://hwraid.le-vert.net/wiki/DebianPackages

for debian distributions

DIST=$(lsb_release -c | grep "Codename:" | awk '{print $2}')  # jessie wheezy or stratch  whatelse
wget -O - https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -
echo " deb http://hwraid.le-vert.net/debian $DIST main " > /etc/apt/sources.list.d/raidtoolRepo.list
apt-get update
apt-get install megactl megacli megamgr
@linushstge

This comment has been minimized.

Copy link

commented Jul 4, 2019

Thanks @AysadKozanoglu :)

@ZekunYin

This comment has been minimized.

Copy link

commented Jul 16, 2019

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.