How to Install and Uninstall python3-sentencepiece Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 03,2024

1. Install "python3-sentencepiece" package

This tutorial shows how to install python3-sentencepiece on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-sentencepiece

2. Uninstall "python3-sentencepiece" package

Please follow the guidance below to uninstall python3-sentencepiece on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-sentencepiece package on Ubuntu 21.10 (Impish Indri)

Package: python3-sentencepiece
Architecture: amd64
Version: 0.1.95-1
Priority: optional
Section: universe/python
Source: sentencepiece
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 207
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libsentencepiece0 (>= 0.1.95), libstdc++6 (>= 5.2), python3 (<< 3.10), python3 (>= 3.9~), python3:any
Filename: pool/universe/s/sentencepiece/python3-sentencepiece_0.1.95-1_amd64.deb
Size: 43776
MD5sum: 4e53f8a2b9a86570cbedd8ad76e73e64
SHA1: be001efe57a802d42fc3f2d26f8038c5e8493322
SHA256: 004c760790c968a26b1a3964d84540d72673014934dc1361fdea4cd2dde12a25
SHA512: 2a126ae056bc9c9957a038ed3ac1f761320abf20929abf21b4fae26ec1d5feea75c67571cbe4fe8745ceaed0d5af27adcbfe9b4dad31a9a4d14832f30bdf13bd
Homepage: https://github.com/google/sentencepiece
Description-en: SentencePiece binding for Python3
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.
.
python3-sentencepiece is its binding for Python3.
Description-md5: 83323b5b1e5ef56799a31f443cb4ad30