Skip to content

Commit

Permalink
Merge pull request #379 from LarsSven/main
Browse files Browse the repository at this point in the history
Add Debian/Ubuntu install guide
  • Loading branch information
bpetit authored Nov 2, 2024
2 parents 2a16a0f + 6aa9d7c commit f930b65
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs_src/tutorials/installation-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ Depending on your kernel version, you could need to modprobe the module intel_ra

modprobe intel_rapl_common # or intel_rapl for kernels < 5

## Docker
To quickly run scaphandre in your terminal you may use [docker](https://www.docker.com/):

docker run -v /sys/class/powercap:/sys/class/powercap -v /proc:/proc -ti hubblo/scaphandre stdout -t 15

Or if you downloaded or built a binary, you'd run:
## Debian/Ubuntu
On Debian or Ubuntu, you can use the available `.deb` [package](https://github.com/barnumbirr/scaphandre-debian).

VERSION="1.0.0-1" ARCH="amd64" DIST="bookworm" && \
wget https://github.com/barnumbirr/scaphandre-debian/releases/download/v$VERSION/scaphandre_$VERSION\_$ARCH\_$DIST.deb && \
dpkg -i scaphandre_$VERSION\_$ARCH\_$DIST.deb && \
rm scaphandre_$VERSION\_$ARCH\_$DIST.deb

## Run the binary
Once you downloaded or built a binary, you'd run:

scaphandre stdout -t 15

Expand Down

0 comments on commit f930b65

Please sign in to comment.