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

Last updated: December 29,2024

1. Install "python3-torchtext" package

Please follow the step by step instructions below to install python3-torchtext on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-torchtext

2. Uninstall "python3-torchtext" package

Learn how to uninstall python3-torchtext on Ubuntu 21.10 (Impish Indri):

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

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

Package: python3-torchtext
Architecture: amd64
Version: 0.8.1-1
Priority: optional
Section: universe/science
Source: pytorch-text
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Deep Learning Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1084
Depends: python3-torch, python3 (<< 3.10), python3 (>= 3.9~), python3-numpy, python3-requests, python3-tqdm, python3.9, python3:any, libc6 (>= 2.14), libdouble-conversion3 (>= 2.0.0), libgcc-s1 (>= 3.0), libre2-9 (>= 20150701+dfsg), libsentencepiece0 (>= 0.1.94), libstdc++6 (>= 9), libtorch1.7 (>= 1.7.1)
Recommends: python3-nltk
Filename: pool/universe/p/pytorch-text/python3-torchtext_0.8.1-1_amd64.deb
Size: 274884
MD5sum: 8d1f58993d1c57dee7315726540ec7c8
SHA1: d2fd61b50e9c212bddd2848045f223e2ce7823f2
SHA256: 28e2051e15dfbdfd94aca35108c4b64fe58e544c87419c592202c8403a2eda48
SHA512: 649b548d10869eb0c65b14dafd9309b53f73920a0898b7afa4f5dcb1a4ae773babbddc1a52246930315baaf1d6a55b505105589a33ec1fd369b5177d734a1718
Homepage: https://github.com/pytorch/text
Description-en: Data loaders and abstractions for text and NLP
This package consists of:
.
* torchtext.data: Generic data loaders, abstractions, and iterators for
text (including vocabulary and word vectors)
* torchtext.datasets: Pre-built loaders for common NLP datasets
Description-md5: ed62261a1aafaf80dcadc401db1908d6