Skip to content

Installing CHIPSEC in Linux

BrentHoltsclaw edited this page Jan 4, 2019 · 11 revisions

Installation in Linux

Tested on:

Creating a Live Linux image

  1. Download things you will need:
  1. Use liveusb-creator to image a USB stick with the desired Linux image. Include as much persistent storage as possible.
  2. Reboot to USB

Installing CHIPSEC

Install the dependencies

You will need to install or update necessary dependencies before installing CHIPSEC:

dnf install kernel kernel-devel-$(uname -r) python python-devel gcc nasm redhat-rpm-config elfutils-libelf-devel git


apt-get install build-essential python-dev python gcc linux-headers-$(uname -r) nasm


pacman -S python2 python2-setuptools nasm linux-headers

You can use CHIPSEC on a desired Linux distribution or create a live Linux image on a USB flash drive and boot to it. For example, you can use liveusb-creator to create live Fedora image on a USB drive.

You will also need to install setuptools package:

pip install setuptools

Manually install CHIPSEC package from latest source code

Clone CHIPSEC Git repository and install it as a package:

git clone

python install

sudo chipsec_main

To use CHIPSEC in place without installing it:

python build_ext -i

sudo python

For more information about installing and using CHIPSEC, please read CHIPSEC manual

You can’t perform that action at this time.