• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How to Install Miniconda on Ubuntu/CentOS

By Abhishek Ghosh October 8, 2017 10:11 pm Updated on October 8, 2017

How to Install Miniconda on Ubuntu/CentOS

Advertisement

Regular readers of this website possibly can recall that we talked about how to install Anaconda. Anaconda is around 413 MB size and needs 3 GB of available disk space with collection of 720+ open source packages. Size of Miniconda is only 45.2 MB as it without the collection of 720 packages and Anaconda Navigator (desktop graphical user interface included in Anaconda which allows to launch applications, manage conda packages). Miniconda is light version of Anaconda which makes it suitable to install & run on server. Here is how to install Miniconda on Ubuntu/CentOS.

How to Install Miniconda on Ubuntu-CentOS

 

How to Install Miniconda on Ubuntu/CentOS

 

We need to run the following command to add the URL of source packages to the /etc/apt/sources.list file :

Vim
1
sudo echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" >> /etc/apt/sources.list

To update the package index and install the build dependencies, run following commands:

Advertisement

---

Vim
1
2
3
apt update
apt install curl wget vim python-pip git
apt build-dep python3.5

Run the following commands to set the locale to en_US.UTF-8 :

Vim
1
2
3
4
5
6
7
sudo locale-gen en_US.UTF-8
sudo localedef -i en_US -f UTF-8 en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales

Actually bash script exists for making the installation work easy :

Vim
1
https://repo.continuum.io/miniconda/

For Ubuntu, we will wget this one :

Vim
1
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh

Miniconda3-latest-Linux-x86_64.sh‘s version number is 4.3.27.1 at the time of writing this guide :

Vim
1
wget https://repo.continuum.io/miniconda/Miniconda3-4.3.27.1-Linux-x86_64.sh

Miniconda 3 depends on Python 3.6 at minimum. Ubuntu 16.04 have 3.5.1. Therefore you need to build Python 3.6 or 3.7.

Vim
1
2
apt update
apt install gcc g++ make libncurses5-dev libreadline6-dev libssl-dev libgdbm-dev libc6-dev libsqlite3-dev libbz2-dev xz-utils patch wget tar curl patch bzip2

Now download and build :

Vim
1
2
3
4
5
6
7
8
9
cd /tmp/
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0a1.tar.xz
## wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz
tar -xvf Python-3.7.0a1.tar.xz
cd /tmp/Python-3.7*
./configure --prefix=/usr/local --exec-prefix=/usr/local
make
## make test
sudo make install

Run the following command to start the installation of Miniconda:

Vim
1
bash Miniconda3-latest-Linux-x86_64.sh

Accept the license terms, specify your path where you want to install Miniconda or press “Enter” to accept the default location which is ~/miniconda3. Select option YES when prompted by “Do you wish the installer to prepend the Miniconda3 install location to PATH in your ~/.bashrc?” Later reload :

Vim
1
source ~/.bashrc

To verify that Miniconda is installed, run the following commands to view its help page and version number:

Vim
1
2
conda -h
conda -V

Tagged With miniconda , install miniconda , install miniconda ubuntu , miniconda download , install miniconda on ubuntu , centos install miniconda , ubuntu install miniconda , miniconda ubuntu , download miniconda , aptget install miniconda

This Article Has Been Shared 998 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Install Miniconda on Ubuntu/CentOS

  • Big Data and Cloud Computing : Driving the Growth of IT

    Cloud and Big Data are the drivers of growth of IT, which seems to grow by more than 46 percent within 2020, fueling the entire industry.

  • List of Apache Projects For Big Data

    Here is a List of Apache Projects For Big Data With Basic Practical Details Which is Helpful to the Developers Who Are New in Big Data Field.

  • How To Install Apache Solr 6.x on Ubuntu 16.04

    Here is How To Install Apache Solr 6.x on Ubuntu 16.04. Apache Solr Search Platform Can Be Integrated With WordPress, CMS & Other Softwares.

  • Installing Apache Airflow On Ubuntu, CentOS Cloud Server

    Airflow Authors, Schedules, Monitors Workflows. Here Are The Steps For Installing Apache Airflow On Ubuntu, CentOS Running On Cloud Server.

  • How To Install Hue on Ubuntu 16.04

    Hue is Query Tool With GUI For Browsing, Querying, Visualizing Data & Developing Apps for Hadoop. Here is How To Install Hue on Ubuntu 16.04.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to Install Miniconda on Ubuntu/CentOS," in The Customize Windows, October 8, 2017, January 29, 2023, https://thecustomizewindows.com/2017/10/install-miniconda-ubuntucentos/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT