How to Install and Uninstall hachoir Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 07,2024
1. Install "hachoir" package
Here is a brief guide to show you how to install hachoir on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
hachoir
Copied
2. Uninstall "hachoir" package
In this section, we are going to explain the necessary steps to uninstall hachoir on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
hachoir
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the hachoir package on Ubuntu 21.04 (Hirsute Hippo)
Package: hachoir
Architecture: all
Version: 3.1.0+dfsg-3
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2444
Provides: python3-hachoir
Depends: python3:any, python3-urwid (>= 0.9.4), python3-wxgtk4.0
Breaks: python-hachoir-core, python-hachoir-metadata, python-hachoir-parser, python-hachoir-regex, python-hachoir-subfile, python-hachoir-urwid, python-hachoir-wx
Replaces: python-hachoir-core, python-hachoir-metadata, python-hachoir-parser, python-hachoir-regex, python-hachoir-subfile, python-hachoir-urwid, python-hachoir-wx
Filename: pool/universe/h/hachoir/hachoir_3.1.0+dfsg-3_all.deb
Size: 517960
MD5sum: b05926938284d62dec5039bdafe41aea
SHA1: 3b2f03939825731c6e657a8fcd6e08265270f14b
SHA256: 01416a0a27e0524cc7f186e94fee2f7c20f72cec1aca79231955f5cb678946fd
SHA512: a5d9272a2eda3cceeb7a14af45460fba3fe6be759a6aac9835fc566cd563958534aa4578fc0b1b433a3e858391d337ac30448b88d04b3af0bee20693446c1425
Homepage: https://github.com/vstinner/hachoir
Description-en: Python framework to parse and edit binary files
Hachoir is a Python library used to represent of a binary file as a tree of
Python objects. Each object has a type, a value, an address, etc. The goal is
to be able to know the meaning of each bit in a file.
.
Why using slow Python code instead of fast hardcoded C code? Hachoir has many
interesting features:
* Autofix: Hachoir is able to open invalid / truncated files
* Lazy: Open a file is very fast since no information is read from file,
data are read and/or computed when the user ask for it
* Types: Hachoir has many predefined field types (integer, bit, string, etc.)
and supports string with charset (ISO-8859-1, UTF-8, UTF-16, ...)
* Addresses and sizes are stored in bit, so flags are stored as classic fields
* Endian: You have to set endian once, and then number are converted in the
right endian
* Editor: Using Hachoir representation of data, you can edit, insert, remove
data and then save in a new file.
.
Hachoir provides command-line tools using its parsers:
* hachoir-grep: find a text pattern in a binary file
* hachoir-metadata: get metadata from binary files
* hachoir-strip: modify a file to remove metadata
* hachoir-urwid: display the content of a binary file in text mode
* hachoir-wx: display the content of a binary file in a GUI
Description-md5: bbdcbc8615b21aa48b4094eb317877a3
Architecture: all
Version: 3.1.0+dfsg-3
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2444
Provides: python3-hachoir
Depends: python3:any, python3-urwid (>= 0.9.4), python3-wxgtk4.0
Breaks: python-hachoir-core, python-hachoir-metadata, python-hachoir-parser, python-hachoir-regex, python-hachoir-subfile, python-hachoir-urwid, python-hachoir-wx
Replaces: python-hachoir-core, python-hachoir-metadata, python-hachoir-parser, python-hachoir-regex, python-hachoir-subfile, python-hachoir-urwid, python-hachoir-wx
Filename: pool/universe/h/hachoir/hachoir_3.1.0+dfsg-3_all.deb
Size: 517960
MD5sum: b05926938284d62dec5039bdafe41aea
SHA1: 3b2f03939825731c6e657a8fcd6e08265270f14b
SHA256: 01416a0a27e0524cc7f186e94fee2f7c20f72cec1aca79231955f5cb678946fd
SHA512: a5d9272a2eda3cceeb7a14af45460fba3fe6be759a6aac9835fc566cd563958534aa4578fc0b1b433a3e858391d337ac30448b88d04b3af0bee20693446c1425
Homepage: https://github.com/vstinner/hachoir
Description-en: Python framework to parse and edit binary files
Hachoir is a Python library used to represent of a binary file as a tree of
Python objects. Each object has a type, a value, an address, etc. The goal is
to be able to know the meaning of each bit in a file.
.
Why using slow Python code instead of fast hardcoded C code? Hachoir has many
interesting features:
* Autofix: Hachoir is able to open invalid / truncated files
* Lazy: Open a file is very fast since no information is read from file,
data are read and/or computed when the user ask for it
* Types: Hachoir has many predefined field types (integer, bit, string, etc.)
and supports string with charset (ISO-8859-1, UTF-8, UTF-16, ...)
* Addresses and sizes are stored in bit, so flags are stored as classic fields
* Endian: You have to set endian once, and then number are converted in the
right endian
* Editor: Using Hachoir representation of data, you can edit, insert, remove
data and then save in a new file.
.
Hachoir provides command-line tools using its parsers:
* hachoir-grep: find a text pattern in a binary file
* hachoir-metadata: get metadata from binary files
* hachoir-strip: modify a file to remove metadata
* hachoir-urwid: display the content of a binary file in text mode
* hachoir-wx: display the content of a binary file in a GUI
Description-md5: bbdcbc8615b21aa48b4094eb317877a3