{"id":2206,"date":"2024-11-30T12:30:00","date_gmt":"2024-11-30T18:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=2206"},"modified":"2024-11-11T09:33:10","modified_gmt":"2024-11-11T15:33:10","slug":"how-to-install-miniconda-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/","title":{"rendered":"How to Install Miniconda on Ubuntu 24.04"},"content":{"rendered":"\n<div id=\"linux-3259015871\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>Anaconda is a package, dependency function, and environment management. As environment management for programming languages, especially Python, Conda allows users to install packages online using the Conda server, for example, the NumPy module for linear algebra, scikit-learn for machine learning, and others. Miniconda is a mini version of Anaconda, which consists of the Python programming language, conda, and a smaller number of packages, so if you have problems with storage space, then you are recommended to install Miniconda compared to Anaconda. Furthermore, it also incorporates a limited assortment of valuable packages such as Requests, PIPs, and numerous others. This tutorial will show you how to install Miniconda on Ubuntu 24.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A VPS with OS Ubuntu 24.04<\/li>\n\n\n\n<li>SSH root access or a regular system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Conventions<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command<br>$ \u2013 given commands should be executed as a regular user<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1. Log in via SSH<\/h2>\n\n\n\n<p>Let&#8217;s log in to your Ubuntu 24.04 VPS through SSH as a root user or regular user with sudo privileges.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_Address -p Port_number<\/pre>\n\n\n\n<p>If you cannot log in as root, remember to replace &#8220;root&#8221; with a user with sudo privileges. Replace \u201cIP_Address\u201d and \u201cPort_Number\u201d with your server\u2019s IP address and SSH port.<\/p>\n\n\n\n<p>You can check whether you have the correct Ubuntu version installed on your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># lsb_release -a<\/pre>\n\n\n\n<p>You should get this output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">No LSB modules are available.<br>Distributor ID: Ubuntu<br>Description: Ubuntu 24.04.1 LTS<br>Release: 24.04<br>Codename: noble<\/pre>\n\n\n\n<p>Let&#8217;s update the package index on our Ubuntu 24.04 system.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt update<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2. Download Miniconda Installer<\/h2>\n\n\n\n<p>According to their documentation page, it is best to install Miniconda for the local user, which does not require administrator permissions and is the most robust type of installation. However, if you need to, you can install Miniconda system-wide, which does require administrator permissions.<\/p>\n\n\n\n<p>In this step, we will install Miniconda using the installer script provided by the developer. We must download the installer script and execute it to install Miniconda. Miniconda is not available in the default Ubuntu repository so you should <a href=\"https:\/\/docs.anaconda.com\/miniconda\/#miniconda-latest-installer-links\" target=\"_blank\" rel=\"noreferrer noopener\">download the latest version<\/a> directly from their website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># wget https:\/\/repo.anaconda.com\/miniconda\/Miniconda3-latest-Linux-x86_64.sh -O \/opt\/miniconda-installer.sh<\/pre>\n\n\n\n<p>The Miniconda installer script has been downloaded and saved as \/opt\/miniconda-installer.sh<\/p>\n\n\n\n<p>Let&#8217;s give the correct permission<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># chmod +x \/opt\/miniconda-installer.sh<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3. Install Miniconda<\/h2>\n\n\n\n<p>In the previous step, we downloaded the installer script and made it executable. Now, we can invoke the command below to install Miniconda.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># \/opt\/miniconda-installer.sh<\/pre>\n\n\n\n<p>Follow the instructions shown on the screen. Press ENTER to review the license agreement. Keep pressing ENTER or SPACE to continue, and finally finish it. You will be prompted to accept the license terms at the end of the agreement. Type &#8216;yes&#8217; to accept and continue.<\/p>\n\n\n\n<p>Next, you will be shown this option below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Miniconda3 will now be installed into this location:<br>\/root\/miniconda3<br><br>  - Press ENTER to confirm the location<br>  - Press CTRL-C to abort the installation<br>  - Or specify a different location below<\/pre>\n\n\n\n<p>Just press ENTER and continue.<\/p>\n\n\n\n<p>Once the installation is finished, you will be prompted to start Miniconda.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Do you wish the installer to initialize Miniconda3<br>by running conda init? [yes|no]<br>[no] &gt;&gt;&gt;<\/pre>\n\n\n\n<p>Type &#8216;yes&#8217;, then hit ENTER. You should see this as an output.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Downloading and Extracting Packages:<br><br>Preparing transaction: done<br>Executing transaction: done<br>installation finished.<br>Do you wish to update your shell profile to automatically initialize conda?<br>This will activate conda on startup and change the command prompt when activated.<br>If you'd prefer that conda's base environment not be activated on startup,<br>   run the following command when conda is activated:<br><br>conda config --set auto_activate_base false<br><br>You can undo this by running `conda init --reverse $SHELL`? [yes|no]<br><br>type yes and hit ENTER and then you will see this message:<br><br>no change     \/root\/miniconda3\/condabin\/conda<br>no change     \/root\/miniconda3\/bin\/conda<br>no change     \/root\/miniconda3\/bin\/conda-env<br>no change     \/root\/miniconda3\/bin\/activate<br>no change     \/root\/miniconda3\/bin\/deactivate<br>no change     \/root\/miniconda3\/etc\/profile.d\/conda.sh<br>no change     \/root\/miniconda3\/etc\/fish\/conf.d\/conda.fish<br>no change     \/root\/miniconda3\/shell\/condabin\/Conda.psm1<br>no change     \/root\/miniconda3\/shell\/condabin\/conda-hook.ps1<br>no change     \/root\/miniconda3\/lib\/python3.12\/site-packages\/xontrib\/conda.xsh<br>no change     \/root\/miniconda3\/etc\/profile.d\/conda.csh<br>modified      \/root\/.bashrc<br><br>==&gt; For changes to take effect, close and re-open your current shell. &lt;==<br><br>Thank you for installing Miniconda3!<\/pre>\n\n\n\n<p>That&#8217;s it! Miniconda has been installed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4. Configure Miniconda<\/h2>\n\n\n\n<p>After the Miniconda installation, we need to apply the changes made to ~\/.bashrc file. The file was modified by the Miniconda installer. Let&#8217;s execute the command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># source miniconda3\/bin\/activate<\/pre>\n\n\n\n<p>To initialize conda on all available shells, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># conda init --all<\/pre>\n\n\n\n<p>Now, at this point, you can run this command to check your Miniconda information<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># conda info<\/pre>\n\n\n\n<p>You will see this output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(base) root@rh:~# conda info<br><br>     active environment : base<br>    active env location : \/root\/miniconda3<br>            shell level : 1<br>       user config file : \/root\/.condarc<br> populated config files : <br>          conda version : 24.7.1<br>    conda-build version : not installed<br>         python version : 3.12.4.final.0<br>                 solver : libmamba (default)<br>       virtual packages : __archspec=1=westmere<br>                          __conda=24.7.1=0<br>                          __glibc=2.39=0<br>                          __linux=6.8.0=0<br>                          __unix=0=0<br>       base environment : \/root\/miniconda3  (writable)<br>      conda av data dir : \/root\/miniconda3\/etc\/conda<br>  conda av metadata url : None<br>           channel URLs : https:\/\/repo.anaconda.com\/pkgs\/main\/linux-64<br>                          https:\/\/repo.anaconda.com\/pkgs\/main\/noarch<br>                          https:\/\/repo.anaconda.com\/pkgs\/r\/linux-64<br>                          https:\/\/repo.anaconda.com\/pkgs\/r\/noarch<br>          package cache : \/root\/miniconda3\/pkgs<br>                          \/root\/.conda\/pkgs<br>       envs directories : \/root\/miniconda3\/envs<br>                          \/root\/.conda\/envs<br>               platform : linux-64<br>             user-agent : conda\/24.7.1 requests\/2.32.3 CPython\/3.12.4 Linux\/6.8.0-47-generic ubuntu\/24.04.1 glibc\/2.39 solver\/libmamba conda-libmamba-solver\/24.7.0 libmambapy\/1.5.8 aau\/0.4.4 c\/. s\/. e\/.<br>                UID:GID : 0:0<br>             netrc file : None<br>           offline mode : False<\/pre>\n\n\n\n<p> Next, if you want to update Miniconda, you can run this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># conda update --all<\/pre>\n\n\n\n<p>If updates are available, it will show you a list of packages to be updated, and you need to answer yes to proceed with the update.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(base) root@rh:~# conda update --all<br>Channels:<br> - defaults<br>Platform: linux-64<br>Collecting package metadata (repodata.json): done<br>Solving environment: done<br><br>## Package Plan ##<br><br>  environment location: \/root\/miniconda3<br><br><br>The following packages will be downloaded:<br><br>    package                    |            build<br>    ---------------------------|-----------------<br>    ca-certificates-2024.9.24  |       h06a4308_0         130 KB<br>    certifi-2024.8.30          |  py312h06a4308_0         163 KB<br>    cffi-1.17.1                |  py312h1fdaa30_0         308 KB<br>    conda-24.9.1               |  py312h06a4308_0         1.1 MB<br>    conda-libmamba-solver-24.9.0|     pyhd3eb1b0_0          40 KB<br>    cryptography-43.0.0        |  py312hdda0065_0         2.2 MB<br>    expat-2.6.3                |       h6a678d5_0         176 KB<br>    ld_impl_linux-64-2.40      |       h12ee557_0         710 KB<br>    libarchive-3.7.4           |       hfab0078_0         920 KB<br>    libcurl-8.9.1              |       h251f7ec_0         439 KB<br>    libmamba-1.5.8             |       hfe524e5_3         1.8 MB<br>    libmambapy-1.5.8           |  py312h2dafd23_3         333 KB<br>    openssl-3.0.15             |       h5eee18b_0         5.2 MB<br>    ruamel.yaml-0.18.6         |  py312h5eee18b_0         271 KB<br>    ruamel.yaml.clib-0.2.8     |  py312h5eee18b_0         156 KB<br>    setuptools-75.1.0          |  py312h06a4308_0         2.2 MB<br>    tqdm-4.66.5                |  py312he106c6f_0         159 KB<br>    tzdata-2024b               |       h04d1e81_0         115 KB<br>    urllib3-2.2.3              |  py312h06a4308_0         228 KB<br>    wheel-0.44.0               |  py312h06a4308_0         141 KB<br>    zstandard-0.23.0           |  py312h2c38b39_0         443 KB<br>    zstd-1.5.6                 |       hc292b87_0         664 KB<br>    ------------------------------------------------------------<br>                                           Total:        17.8 MB<br><br>The following NEW packages will be INSTALLED:<br><br>  ruamel.yaml.clib   pkgs\/main\/linux-64::ruamel.yaml.clib-0.2.8-py312h5eee18b_0 <br><br>The following packages will be UPDATED:<br><br>  ca-certificates                       2024.7.2-h06a4308_0 --&gt; 2024.9.24-h06a4308_0 <br>  certifi                          2024.7.4-py312h06a4308_0 --&gt; 2024.8.30-py312h06a4308_0 <br>  cffi                               1.16.0-py312h5eee18b_1 --&gt; 1.17.1-py312h1fdaa30_0 <br>  conda                              24.7.1-py312h06a4308_0 --&gt; 24.9.1-py312h06a4308_0 <br>  conda-libmamba-so~                    24.7.0-pyhd3eb1b0_0 --&gt; 24.9.0-pyhd3eb1b0_0 <br>  cryptography                       42.0.5-py312hdda0065_1 --&gt; 43.0.0-py312hdda0065_0 <br>  expat                                    2.6.2-h6a678d5_0 --&gt; 2.6.3-h6a678d5_0 <br>  ld_impl_linux-64                          2.38-h1181459_1 --&gt; 2.40-h12ee557_0 <br>  libarchive                               3.6.2-hfab0078_4 --&gt; 3.7.4-hfab0078_0 <br>  libcurl                                  8.7.1-h251f7ec_0 --&gt; 8.9.1-h251f7ec_0 <br>  libmamba                                 1.5.8-hfe524e5_2 --&gt; 1.5.8-hfe524e5_3 <br>  libmambapy                          1.5.8-py312h2dafd23_2 --&gt; 1.5.8-py312h2dafd23_3 <br>  openssl                                 3.0.14-h5eee18b_0 --&gt; 3.0.15-h5eee18b_0 <br>  ruamel.yaml                       0.17.21-py312h5eee18b_0 --&gt; 0.18.6-py312h5eee18b_0 <br>  setuptools                         72.1.0-py312h06a4308_0 --&gt; 75.1.0-py312h06a4308_0 <br>  tqdm                               4.66.4-py312he106c6f_0 --&gt; 4.66.5-py312he106c6f_0 <br>  tzdata                                   2024a-h04d1e81_0 --&gt; 2024b-h04d1e81_0 <br>  urllib3                             2.2.2-py312h06a4308_0 --&gt; 2.2.3-py312h06a4308_0 <br>  wheel                              0.43.0-py312h06a4308_0 --&gt; 0.44.0-py312h06a4308_0 <br>  zstandard                          0.22.0-py312h2c38b39_0 --&gt; 0.23.0-py312h2c38b39_0 <br>  zstd                                     1.5.5-hc292b87_2 --&gt; 1.5.6-hc292b87_0 <br><br><br>Proceed ([y]\/n)? <br><\/pre>\n\n\n\n<p>press Y then ENTER, everything should be up to date now. You will see this message once you are done.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Downloading and Extracting Packages:<br>                                                                                                                                                                                                   <br>Preparing transaction: done                                                                                                                                                                        <br>Verifying transaction: done                                                                                                                                                                        <br>Executing transaction: done <\/pre>\n\n\n\n<p>To install a Python package, this is the command syntax to invoke:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">conda install package-name<\/pre>\n\n\n\n<p>For example, if you want to install pandas, you can run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># conda install pandas<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">(base) root@rh:~# conda install pandas                                                                                                                                                             <br>\/root\/miniconda3\/lib\/python3.12\/site-packages\/conda\/base\/context.py:982: FutureWarning: Adding 'defaults' to the channel list implicitly is deprecated and will be removed in 25.3.                <br>                                                                                                                                                                                                   <br>To remove this warning, please choose a default channel explicitly via 'conda config --add channels &lt;name&gt;', e.g. 'conda config --add channels defaults'.                                          <br>  deprecated.topic(                                                                                                                                                                                <br>Channels:                                                                                                                                                                                          <br> - defaults                                                                                                                                                                                        <br>Platform: linux-64                                                                                                                                                                                 <br>Collecting package metadata (repodata.json): done                                                                                                                                                  <br>Solving environment: done                                                                                                                                                                          <br>                                                                                                                                                                                                   <br>## Package Plan ##                                                                                                                                                                                 <br>                                                                                                                                                                                                   <br>  environment location: \/root\/miniconda3                                                                                                                                                           <br>                                                                                                                                                                                                   <br>  added \/ updated specs:                                                                                                                                                                           <br>    - pandas                                                                                                                                                                                       <br>                                                                                                                                                                                                   <br><br>The following packages will be downloaded:<br><br>    package                    |            build<br>    ---------------------------|-----------------<br>    blas-1.0                   |              mkl           6 KB<br>    bottleneck-1.3.7           |  py312ha883a20_0         140 KB<br>    intel-openmp-2023.1.0      |   hdb19cb5_46306        17.2 MB<br>    mkl-2023.1.0               |   h213fc3f_46344       171.5 MB<br>    mkl-service-2.4.0          |  py312h5eee18b_1          66 KB<br>    mkl_fft-1.3.10             |  py312h5eee18b_0         223 KB<br>    mkl_random-1.2.7           |  py312h526ad5a_0         355 KB<br>    numexpr-2.8.7              |  py312hf827012_0         149 KB<br>    numpy-1.26.4               |  py312hc5e2394_0          11 KB<br>    numpy-base-1.26.4          |  py312h0da6c21_0         7.7 MB<br>    pandas-2.2.2               |  py312h526ad5a_0        15.4 MB<br>    python-dateutil-2.9.0post0 |  py312h06a4308_2         318 KB<br>    python-tzdata-2023.3       |     pyhd3eb1b0_0         140 KB<br>    pytz-2024.1                |  py312h06a4308_0         220 KB<br>    six-1.16.0                 |     pyhd3eb1b0_1          18 KB<br>    tbb-2021.8.0               |       hdb19cb5_0         1.6 MB<br>    ------------------------------------------------------------<br>                                           Total:       215.0 MB<br><br>The following NEW packages will be INSTALLED:<br><br>  blas               pkgs\/main\/linux-64::blas-1.0-mkl <br>  bottleneck         pkgs\/main\/linux-64::bottleneck-1.3.7-py312ha883a20_0 <br>  intel-openmp       pkgs\/main\/linux-64::intel-openmp-2023.1.0-hdb19cb5_46306 <br>  mkl                pkgs\/main\/linux-64::mkl-2023.1.0-h213fc3f_46344 <br>  mkl-service        pkgs\/main\/linux-64::mkl-service-2.4.0-py312h5eee18b_1 <br>  mkl_fft            pkgs\/main\/linux-64::mkl_fft-1.3.10-py312h5eee18b_0 <br>  mkl_random         pkgs\/main\/linux-64::mkl_random-1.2.7-py312h526ad5a_0 <br>  numexpr            pkgs\/main\/linux-64::numexpr-2.8.7-py312hf827012_0 <br>  numpy              pkgs\/main\/linux-64::numpy-1.26.4-py312hc5e2394_0 <br>  numpy-base         pkgs\/main\/linux-64::numpy-base-1.26.4-py312h0da6c21_0 <br>  pandas             pkgs\/main\/linux-64::pandas-2.2.2-py312h526ad5a_0 <br>  python-dateutil    pkgs\/main\/linux-64::python-dateutil-2.9.0post0-py312h06a4308_2 <br>  python-tzdata      pkgs\/main\/noarch::python-tzdata-2023.3-pyhd3eb1b0_0 <br>  pytz               pkgs\/main\/linux-64::pytz-2024.1-py312h06a4308_0 <br>  six                pkgs\/main\/noarch::six-1.16.0-pyhd3eb1b0_1 <br>  tbb                pkgs\/main\/linux-64::tbb-2021.8.0-hdb19cb5_0 <br><br><br>Proceed ([y]\/n)? <\/pre>\n\n\n\n<p>Press &#8216;y&#8217; to proceed with the installation. The system will print this message when finished.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Downloading and Extracting Packages:<br><br>Preparing transaction: done<br>Verifying transaction: done<br>Executing transaction: done<\/pre>\n\n\n\n<p>Next, we can execute the following command to exit from the Conda environment.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># conda deactivate<\/pre>\n\n\n\n<p>That is all! You have successfully installed Miniconda on Ubuntu 24.04<\/p>\n\n\n\n<p>Of course, you don\u2019t have to set up Miniconda on Ubuntu 24.04 if you have an active <a href=\"https:\/\/linuxhostsupport.com\/monthly-server-management.html\" target=\"_blank\" rel=\"noreferrer noopener\">server management plan<\/a> with us. You can log in to the client area and then submit a ticket requesting our admins install Miniconda on Ubuntu 24.04. Our experienced administrators are available 24\u00d77 and will take care of your request immediately.<\/p><div id=\"linux-1274895662\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Anaconda is a package, dependency function, and environment management. As environment management for programming languages, especially Python, Conda allows users to install packages online using the Conda server, for example, the NumPy module for linear algebra, scikit-learn for machine learning, and others. Miniconda is a mini version of Anaconda, which consists of the Python programming [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2235,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[182],"tags":[56,199,294,270],"class_list":["post-2206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-how-to","tag-how-to-install","tag-miniconda","tag-ubuntu-24-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Miniconda on Ubuntu 24.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"Learn how to install Miniconda on Ubuntu 24.04 using our easy-to-follow step-by-step guide in our latest blog.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Miniconda on Ubuntu 24.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"Learn how to install Miniconda on Ubuntu 24.04 using our easy-to-follow step-by-step guide in our latest blog.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-30T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-install-miniconda-on-ubuntu-24-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install Miniconda on Ubuntu 24.04\",\"datePublished\":\"2024-11-30T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/\"},\"wordCount\":687,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-install-miniconda-on-ubuntu-24-04.webp\",\"keywords\":[\"how to\",\"how to install\",\"miniconda\",\"ubuntu 24.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/\",\"name\":\"How to Install Miniconda on Ubuntu 24.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-install-miniconda-on-ubuntu-24-04.webp\",\"datePublished\":\"2024-11-30T18:30:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"Learn how to install Miniconda on Ubuntu 24.04 using our easy-to-follow step-by-step guide in our latest blog.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-install-miniconda-on-ubuntu-24-04.webp\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-install-miniconda-on-ubuntu-24-04.webp\",\"width\":742,\"height\":410,\"caption\":\"How to install Miniconda on Ubuntu 24.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-miniconda-on-ubuntu-24-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Miniconda on Ubuntu 24.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Miniconda on Ubuntu 24.04 | LinuxHostSupport","description":"Learn how to install Miniconda on Ubuntu 24.04 using our easy-to-follow step-by-step guide in our latest blog.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Miniconda on Ubuntu 24.04 | LinuxHostSupport","og_description":"Learn how to install Miniconda on Ubuntu 24.04 using our easy-to-follow step-by-step guide in our latest blog.","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2024-11-30T18:30:00+00:00","og_image":[{"width":742,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-install-miniconda-on-ubuntu-24-04.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install Miniconda on Ubuntu 24.04","datePublished":"2024-11-30T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/"},"wordCount":687,"commentCount":1,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-install-miniconda-on-ubuntu-24-04.webp","keywords":["how to","how to install","miniconda","ubuntu 24.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/","name":"How to Install Miniconda on Ubuntu 24.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-install-miniconda-on-ubuntu-24-04.webp","datePublished":"2024-11-30T18:30:00+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"Learn how to install Miniconda on Ubuntu 24.04 using our easy-to-follow step-by-step guide in our latest blog.","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-install-miniconda-on-ubuntu-24-04.webp","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-install-miniconda-on-ubuntu-24-04.webp","width":742,"height":410,"caption":"How to install Miniconda on Ubuntu 24.04"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-miniconda-on-ubuntu-24-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Miniconda on Ubuntu 24.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2206"}],"version-history":[{"count":10,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2206\/revisions"}],"predecessor-version":[{"id":2226,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2206\/revisions\/2226"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/2235"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}