diff --git a/README-Japanese.md b/README-Japanese.md index fb3ed9c9..a8036484 100644 --- a/README-Japanese.md +++ b/README-Japanese.md @@ -39,6 +39,7 @@ Hayabusaは、日本の[Yamato Security](https://yamatosecurity.connpass.com/) - [ソースコードからのコンパイル(任意)](#ソースコードからのコンパイル任意) - [32ビットWindowsバイナリのクロスコンパイル](#32ビットwindowsバイナリのクロスコンパイル) - [macOSでのコンパイルの注意点](#macosでのコンパイルの注意点) + - [Linuxでのコンパイルの注意点](#linuxでのコンパイルの注意点) - [アドバンス: Rustパッケージの更新](#アドバンス-rustパッケージの更新) - [サンプルevtxファイルでHayabusaをテストする](#サンプルevtxファイルでhayabusaをテストする) - [使用方法](#使用方法) @@ -184,6 +185,20 @@ brew install pkg-config brew install openssl ``` +## Linuxでのコンパイルの注意点 + +opensslについてのコンパイルエラーが表示される場合は、以下のパッケージをインストールする必要があります。 + +Ubuntu系のディストロ: +```bash +sudo apt install libssl-dev +``` + +Fedora系のディストロ: +```bash +sudo yum install openssl-devel +``` + ## アドバンス: Rustパッケージの更新 コンパイル前に最新のRust crateにアップデートすることで、最新のライブラリを利用することができます: diff --git a/README.md b/README.md index de340e81..843bcd33 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Hayabusa is a **Windows event log fast forensics timeline generator** and **thre - [Compiling from source (Optional)](#compiling-from-source-optional) - [Cross-compiling 32-bit Windows binaries](#cross-compiling-32-bit-windows-binaries) - [Notes on compiling on macOS](#notes-on-compiling-on-macos) + - [Notes on compiling on Linux](#notes-on-compiling-on-linux) - [Advanced: Updating Rust packages](#advanced-updating-rust-packages) - [Testing hayabusa out on sample evtx files](#testing-hayabusa-out-on-sample-evtx-files) - [Usage](#usage) @@ -185,6 +186,20 @@ brew install pkg-config brew install openssl ``` +## Notes on compiling on Linux + +If you receive compile errors about openssl, you will need to install the following package. + +Ubuntu-based distros: +```bash +sudo apt install libssl-dev +``` + +Fedora-based distros: +```bash +sudo yum install openssl-devel +``` + ## Advanced: Updating Rust packages You can update to the latest Rust crates before compiling to get the latest libraries: