How to Install and Uninstall golang-github-protonmail-go-mime-dev Package on Kali Linux
Last updated: February 08,2025
1. Install "golang-github-protonmail-go-mime-dev" package
In this section, we are going to explain the necessary steps to install golang-github-protonmail-go-mime-dev on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
golang-github-protonmail-go-mime-dev
Copied
2. Uninstall "golang-github-protonmail-go-mime-dev" package
In this section, we are going to explain the necessary steps to uninstall golang-github-protonmail-go-mime-dev on Kali Linux:
$
sudo apt remove
golang-github-protonmail-go-mime-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang-github-protonmail-go-mime-dev package on Kali Linux
Package: golang-github-protonmail-go-mime-dev
Source: golang-github-protonmail-go-mime
Version: 0.0~git20230322.7d82a38-2
Installed-Size: 75
Maintainer: Debian Go Packaging Team
Architecture: all
Depends: golang-golang-x-text-dev
Size: 25060
SHA256: 77142a5312ca06d263b82b3bf895b20f4a12d5b82002afb81ea44db640b778c2
SHA1: 3f7e8dd9e2fe9bc12ad245cad32a98cdd59a5ec3
MD5sum: 6545297687e450315717702fccf86fd0
Description: Go Mime Wrapper Library (library)
Provides a parser for MIME messages
.
The library can be used to extract the body and attachments from a MIME message
Example:
.
printAccepter := gomime.NewMIMEPrinter()
bodyCollector := gomime.NewBodyCollector(printAccepter)
attachmentsCollector := gomime.NewAttachmentsCollector(bodyCollector)
mimeVisitor := gomime.NewMimeVisitor(attachmentsCollector)
err := gomime.VisitAll(bytes.NewReader(mmBodyData), h, mimeVisitor)
attachments := attachmentsCollector.GetAttachments(),
attachmentsHeaders := attachmentsCollector.GetAttHeaders()
bodyContent, bodyMimeType := bodyCollector.GetBody()
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/ProtonMail/go-mime
Section: golang
Priority: optional
Filename: pool/main/g/golang-github-protonmail-go-mime/golang-github-protonmail-go-mime-dev_0.0~git20230322.7d82a38-2_all.deb
Source: golang-github-protonmail-go-mime
Version: 0.0~git20230322.7d82a38-2
Installed-Size: 75
Maintainer: Debian Go Packaging Team
Architecture: all
Depends: golang-golang-x-text-dev
Size: 25060
SHA256: 77142a5312ca06d263b82b3bf895b20f4a12d5b82002afb81ea44db640b778c2
SHA1: 3f7e8dd9e2fe9bc12ad245cad32a98cdd59a5ec3
MD5sum: 6545297687e450315717702fccf86fd0
Description: Go Mime Wrapper Library (library)
Provides a parser for MIME messages
.
The library can be used to extract the body and attachments from a MIME message
Example:
.
printAccepter := gomime.NewMIMEPrinter()
bodyCollector := gomime.NewBodyCollector(printAccepter)
attachmentsCollector := gomime.NewAttachmentsCollector(bodyCollector)
mimeVisitor := gomime.NewMimeVisitor(attachmentsCollector)
err := gomime.VisitAll(bytes.NewReader(mmBodyData), h, mimeVisitor)
attachments := attachmentsCollector.GetAttachments(),
attachmentsHeaders := attachmentsCollector.GetAttHeaders()
bodyContent, bodyMimeType := bodyCollector.GetBody()
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/ProtonMail/go-mime
Section: golang
Priority: optional
Filename: pool/main/g/golang-github-protonmail-go-mime/golang-github-protonmail-go-mime-dev_0.0~git20230322.7d82a38-2_all.deb