• 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
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

  • Install Elastic Stack on Ubuntu 16.04, CentOS 7 Single Cloud Server

    Here is How to Install Elastic Stack on Ubuntu 16.04, CentOS 7 on Single Cloud Server Instance For Server Log Analysis, Big Data Processing.

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server

    Here is How To Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server. It is probably easy to install Anaconda for Python packages.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
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