How to Install and Uninstall sentencepiece Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 20,2024

1. Install "sentencepiece" package

This guide covers the steps necessary to install sentencepiece on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install sentencepiece

2. Uninstall "sentencepiece" package

This tutorial shows how to uninstall sentencepiece on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove sentencepiece $ sudo apt autoclean && sudo apt autoremove

3. Information about the sentencepiece package on Ubuntu 20.10 (Groovy Gorilla)

Package: sentencepiece
Architecture: amd64
Version: 0.1.92-1
Priority: optional
Section: universe/science
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 218
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libsentencepiece0 (>= 0.1.92), libstdc++6 (>= 5.2)
Filename: pool/universe/s/sentencepiece/sentencepiece_0.1.92-1_amd64.deb
Size: 50192
MD5sum: 8d3977d3c71da2c93b20dd246f963352
SHA1: 8477e5bd9ecc192e81e4271dbd42b073cabb5840
SHA256: 4ed804cecc6b81c8c7099692db437a0d4f2cfcf465442b0f71696fd504f42fdc
SHA512: ad4fc233cfeb47aa82e2555c6def9fefb98dbf0aeed45defa66f1af5097ab53c6e9b1069779048af3b6da6bade5f1b34a8c9fc385e5071282511ba8da039299e
Homepage: https://github.com/google/sentencepiece
Description-en: Unsupervised text tokenizer and detokenizer
SentencePiece is an unsupervised text tokenizer/detokenizer mainly
designed for Neural Network-based text generation systems where the
vocabulary size is predetermined prior to the neural model training.
Description-md5: 0fa3d641e1931e574bfffda46a21e57f