From 7b8ac19348639454614361e69ce61fc7daf0a9ba Mon Sep 17 00:00:00 2001 From: Steffen Ritter Date: Tue, 15 Nov 2022 15:28:27 +0100 Subject: Some small readme modifications --- README.md | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 8abf3de..edb7014 100644 --- a/README.md +++ b/README.md @@ -43,16 +43,21 @@ optional arguments: - Python >= 3.9 -- Debian 11 Bullseye (recommended) +- Debian 11 Bullseye (recommended) or Ubuntu 20.04 + +General Packages +```sh +sudo apt install git python3 python3-pip +``` - [lklfuse](https://github.com/lkl/linux) ```sh - $ sudo apt install build-essential flex bison bc libfuse-dev libarchive-dev xfsprogs python git - $ git clone https://github.com/lkl/linux.git + $ sudo apt install build-essential flex bison bc libfuse-dev libarchive-dev xfsprogs + $ git clone https://github.com/lkl/linux.git --depth=1 $ cd linux $ echo "CONFIG_NTFS_FS=y" >> arch/lkl/configs/defconfig - $ make -C tools/lkl + $ make -j -C tools/lkl $ sudo cp tools/lkl/lklfuse /usr/local/bin ``` @@ -68,12 +73,12 @@ optional arguments: $ tar xfv libvmdk-alpha-20210807.tar.gz $ cd libvmdk-20210807/ $ ./configure - $ make + $ make -j $ sudo make install $ sudo ldconfig ``` -- [libvslvm](https://github.com/libyal/libvslvm) >= 20210807 +- [libvslvm](https://github.com/libyal/libvslvm) >= 20210807 (Library and tools to access the Linux Logical Volume Manager (LVM) volume system format ) ```sh $ sudo apt install build-essential libfuse-dev @@ -81,34 +86,36 @@ optional arguments: $ tar xfv libvslvm-experimental-20210807.tar.gz $ cd libvslvm-20210807/ $ ./configure - $ make + $ make -j $ sudo make install $ sudo ldconfig ``` -- [pyparted](https://github.com/dcantrell/pyparted) +- [pyparted](https://github.com/dcantrell/pyparted) (Python bindings for GNU parted ) ```sh - $ sudo apt install python3 python3-pip python3-dev libparted-dev pkg-config + $ sudo apt install python3-dev libparted-dev pkg-config $ pip3 install pyparted + + For Ubuntu 20.04 an older version is needed + $ pip3 install pyparted==3.11.7 ``` -- [python-registry](https://github.com/williballenthin/python-registry) +- [python-registry](https://github.com/williballenthin/python-registry) (Pure Python parser for Windows Registry hives) ```sh - $ sudo apt install python3 python3-pip $ pip3 install python-registry ``` - [python3-rpm](https://github.com/rpm-software-management/rpm) >= 4.16.1.3 ```sh - $ sudo apt install build-essential python3 python3-dev python3-pip zlib1g-dev libgcrypt20-dev libmagic-dev libpopt-dev libsqlite3-dev libarchive-dev + $ sudo apt install build-essential python3-dev zlib1g-dev libgcrypt20-dev libmagic-dev libpopt-dev libsqlite3-dev libarchive-dev $ wget https://ftp.osuosl.org/pub/rpm/releases/rpm-4.16.x/rpm-4.16.1.3.tar.bz2 $ tar xfv rpm-4.16.1.3.tar.bz2 $ cd rpm-4.16.1.3/ $ ./autogen.sh --enable-python --enable-bdb=no --enable-bdb-ro --enable-sqlite=yes --enable-ndb --without-lua --disable-plugins - $ make + $ make -j $ sudo make install $ sudo ldconfig $ cd python && sudo python3 setup.py install -- cgit v1.2.3-55-g7522