How To Install firmware-libertas on Kali Linux

In this tutorial we learn how to install firmware-libertas on Kali Linux. firmware-libertas is Binary firmware for Marvell wireless cards

Introduction

In this tutorial we learn how to install firmware-libertas on Kali Linux.

What is firmware-libertas

firmware-libertas is:

This package contains the binary firmware for wireless network cards with Marvell and NXP 88W8xxx chips supported by the libertas_cs, libertas_sdio, libertas_spi, libertas_tf_usb, mwifiex_pcie, mwifiex_sdio, mwifiex_usb, mwl8k and usb8xxx drivers.

Contents:

  • Libertas 88W8388 ‘Thinfirm’ firmware (lbtf_usb.bin)
  • Libertas 88W8381 main code (libertas/cf8381.bin)
  • Libertas 88W8381 boot code (libertas/cf8381_helper.bin)
  • Libertas 88W8385-CF main code (libertas/cf8385.bin, libertas_cs.fw)
  • Libertas 88W8385-CF boot code (libertas/cf8385_helper.bin, libertas_cs_helper.fw)
  • 88W8686-GSPI main code, version 9.x (libertas/gspi8686_v9.bin, libertas/gspi8686.bin)
  • 88W8686-GSPI boot code, version 9.x (libertas/gspi8686_v9_helper.bin, libertas/gspi8686_hlp.bin)
  • 88W8688-GSPI main code (libertas/gspi8688.bin)
  • 88W8688-GSPI boot code (libertas/gspi8688_helper.bin)
  • Libertas 88W8385-SDIO main code (libertas/sd8385.bin, sd8385.bin)
  • Libertas 88W8385-SDIO boot code (libertas/sd8385_helper.bin, sd8385_helper.bin)
  • 88W8686-SDIO main code, version 8.x (libertas/sd8686_v8.bin, sd8686.bin)
  • 88W8686-SDIO boot code, version 8.x (libertas/sd8686_v8_helper.bin, sd8686_helper.bin)
  • 88W8686-SDIO main code, version 9.70.20.p0 (libertas/sd8686_v9.bin)
  • 88W8686-SDIO boot code, version 9.x (libertas/sd8686_v9_helper.bin)
  • Libertas 88W8388 OLPC firmware, version 5.110.22.p23 (libertas/usb8388_olpc.bin)
  • Libertas 88W8388 firmware, version 5.x (libertas/usb8388_v5.bin, usb8388.bin)
  • Libertas 88W8388 firmware, version 9.x (libertas/usb8388_v9.bin)
  • 88W8682 firmware (libertas/usb8682.bin)
  • Avastar 88W8897-PCIe firmware, version 15.68.19.p21 (WLAN) / 15.28.19.p21 (BT) (mrvl/pcie8897_uapsta.bin)
  • Avastar 88W8997-PCIe firmware, version 16.68.1.p195 (mrvl/pcie8997_wlan_v4.bin)
  • Avastar 88W8997-PCIe-UART firmware, version 16.68.1.p179 (WLAN) / 16.26.1.p179 (BT) (mrvl/pcieuart8997_combo_v4.bin)
  • Avastar 88W8997-PCIe-USB firmware, version 16.68.1.p195 (WLAN) / 16.26.1.p195 (BT) (mrvl/pcieusb8997_combo_v4.bin)
  • 88W8688-SDIO main code (mrvl/sd8688.bin, libertas/sd8688.bin, sd8688.bin)
  • 88W8688-SDIO boot code (mrvl/sd8688_helper.bin, libertas/sd8688_helper.bin, sd8688_helper.bin)
  • Avastar 88W8787 firmware, version 14.68.35.p66 (mrvl/sd8787_uapsta.bin)
  • Avastar 88W8797-SDIO firmware, version 14.68.29.p59 (mrvl/sd8797_uapsta.bin)
  • Avastar 88W8801-SDIO firmware, version 14.68.36.p204 (mrvl/sd8801_uapsta.bin)
  • Avastar 88W8887 firmware, version 15.68.7.p189 (WLAN) / 15.26.7.p189 (BT) (mrvl/sd8887_uapsta.bin)
  • Avastar 88W8897-SDIO firmware, version 15.68.19.17 (WLAN) / 15.26.19.17 (BT) (mrvl/sd8897_uapsta.bin)
  • NXP 88W8977-SDIO firmware, version 16.68.1.p195 (WLAN) / 16.26.1.p195 (BT) (mrvl/sdsd8977_combo_v2.bin)
  • NXP 88W8997-SDIO firmware, version 16.68.1.p179 (WLAN) / 16.26.1.p179 (BT) (mrvl/sdsd8997_combo_v4.bin)
  • Avastar 88W8766 firmware, version 14.68.22.p16 (WLAN) / 14.28.22.p16 (BT) (mrvl/usb8766_uapsta.bin)
  • Avastar 88W8797-USB firmware, version 14.68.29.p60 (mrvl/usb8797_uapsta.bin)
  • Avastar 88W8801-USB firmware, version 14.68.36.p138 (mrvl/usb8801_uapsta.bin)
  • Avastar 88W8897-USB firmware, version 15.68.4.p103 (WLAN) / 15.28.4.p103 (BT) (mrvl/usb8897_uapsta.bin)
  • Avastar 88W8997-USB firmware, version 16.68.1.p183 (WLAN) / 16.26.1.p183 (BT) (mrvl/usbusb8997_combo_v4.bin)
  • Prestera ASIC firmware (mrvl/prestera/mvsw_prestera_fw-v2.0.img)
  • TopDog 88W8366 main code (mwl8k/fmimage_8366.fw)
  • TopDog 88W8366 AP-mode main code (mwl8k/fmimage_8366_ap-2.fw)
  • TopDog 88W8366 AP-mode main code, version 5.2.8.16 (mwl8k/fmimage_8366_ap-3.fw)
  • TopDog 88W8687 main code (mwl8k/fmimage_8687.fw)
  • TopDog 88W8764 AP-mode firmware, version 7.4.0.9 (mwl8k/fmimage_8764_ap-1.fw)
  • TopDog 88W8366 boot code (mwl8k/helper_8366.fw)
  • TopDog 88W8687 boot code (mwl8k/helper_8687.fw)

There are three methods to install firmware-libertas on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install firmware-libertas Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install firmware-libertas using apt-get by running the following command:

sudo apt-get -y install firmware-libertas

Install firmware-libertas Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install firmware-libertas using apt by running the following command:

sudo apt -y install firmware-libertas

Install firmware-libertas Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install firmware-libertas using aptitude by running the following command:

sudo aptitude -y install firmware-libertas

How To Uninstall firmware-libertas on Kali Linux

To uninstall only the firmware-libertas package we can use the following command:

sudo apt-get remove firmware-libertas

Uninstall firmware-libertas And Its Dependencies

To uninstall firmware-libertas and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove firmware-libertas

Remove firmware-libertas Configurations and Data

To remove firmware-libertas configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge firmware-libertas

Remove firmware-libertas configuration, data, and all of its dependencies

We can use the following command to remove firmware-libertas configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge firmware-libertas

Dependencies

firmware-libertas have the following dependencies:

References

Summary

In this tutorial we learn how to install firmware-libertas package on Kali Linux using different package management tools: apt, apt-get and aptitude.