How to Install and Uninstall sentencepiece Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "sentencepiece" package

This is a short guide on how to install sentencepiece on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install sentencepiece

2. Uninstall "sentencepiece" package

In this section, we are going to explain the necessary steps to uninstall sentencepiece on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the sentencepiece package on Ubuntu 20.04 LTS (Focal Fossa)

Package: sentencepiece
Architecture: amd64
Version: 0.1.84-1build1
Priority: optional
Section: universe/science
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 210
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libsentencepiece0 (>= 0.1.84), libstdc++6 (>= 5.2)
Filename: pool/universe/s/sentencepiece/sentencepiece_0.1.84-1build1_amd64.deb
Size: 48036
MD5sum: ef27a8f5d1e8ac75b9aa468ed2647f71
SHA1: 53ffaf3f6995d18734d5a25fef835ba6ea221d26
SHA256: cf64b19d2d4be569fa678d62d0db306da99ccb8eccf373120348524616d1bc3c
Homepage: https://github.com/google/sentencepiece
Description: Unsupervised text tokenizer and detokenizer
Description-md5: 0fa3d641e1931e574bfffda46a21e57f