How To Install python-gensim-core on CentOS 7
Introduction
In this tutorial we learn how to install python-gensim-core
on CentOS 7.
What is python-gensim-core
This package contains the pure Python implementation of gensim. If you don’t need the highly optimized version of word2vec, it is sufficient to install this package. Otherwise installing the “python-gensim-addons”-package is strongly recommended. Gensim is a Python library for topic modelling, document indexing and similarity retrieval with large corpora. Target audience is the natural language processing (NLP) and information retrieval (IR) community. Features * All algorithms are memory-independent w.r.t. the corpus size (can process input larger than RAM). * Intuitive interfaces - easy to plug in your own input corpus/datastream (trivial streaming API) - easy to extend with other Vector Space algorithms (trivial transformation API) * Efficient implementations of popular algorithms, such as online Latent Semantic Analysis (LSA/LSI), Latent Dirichlet Allocation (LDA), Random Projections (RP), Hierarchical Dirichlet Process (HDP) or word2vec deep learning. * Distributed computing Latent Dirichlet Allocation on a cluster of computers, and word2vec on multiple cores. * Extensive HTML documentation and tutorials.
We can use yum
or dnf
to install python-gensim-core
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-gensim-core.
Install python-gensim-core on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-gensim-core
using yum
by running the following command:
Install python-gensim-core on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install python-gensim-core
using dnf
by running the following command:
How To Uninstall python-gensim-core on CentOS 7
To uninstall only the python-gensim-core
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-gensim-core
on CentOS 7 using yum
and dnf
.