How To Install Anaconda On Ubuntu 22.04 LTS Jammy
Get the simple steps to install Anaconda Navigator on Ubuntu 22.04 LTS Jammy JellyFish to start developing your Python based applications.
Anaconda is package management with a graphical browser for Python and R programming languages, which support data science, data analysis, and machine learning.
It is designed for scientific work and the analysis of (large) amounts of data. Anaconda has everything you need, including the Python interpreter. This makes it independent of the underlying system. Anaconda itself does not contain any Python modules that could not be installed by other means such as package management or pip.
The advantage of Anaconda is that you don’t have to worry about fixing the sometimes complex dependencies yourself. Additionally, Anaconda has its own package manager called Count, which keeps all the distribution’s packages up to date. It makes it easy to install and manage libraries and development environments that support data analysis and machine learning in Python and R. Altogether, many packages are available, including Jupyter Notebook, Spyder, NumPy, and TensorFlow.
Anaconda is available for Microsoft Windows, macOS, and Linux in Individual, Commercial, Team, and Enterprise versions. The individual edition is open source and free as freeware, so that, for example, private users can learn how to deal with data analysis. Commercial, Team, and Enterprise paid editions offer an extensive range of features for commercial and enterprise use.
The steps given here to install Anaconda Python GUI can be used for other Ubuntu versions like 20.04, 18.04, 16.04 including RedHat, CentOS 8/7, Debian, Kali Linux, Linux Mint, Fedora, etc
1. Download the Anaconda Linux installer
Unlike Python, Anaconda is not available to install using the default Ubuntu 22.04 Linux system repository. Therefore, we have to download its installation script manually. For this visit the official download page from Anaconda and select the 64-bit Linux version. This will pop up and save a script file of around 581MB.
2. Install Anaconda Python on Ubuntu 22.04
Once you have the install script, open your system’s command terminal and proceed to Downloads phone book.
After that, check whether the downloaded script file is present in the folder or not. Because everything we download using the browser goes to “Downloads” default directory.
Once you are sure the file is there, run the script:
The installation wizard starts, click on the Walk in button to start the configuration process. To ignore the “End User License Agreement” hurry ‘q‘ then type ‘yes‘ to accept the terms and conditions.
After that, the installation wizard will ask you to set the installation folder location. By default, it will create an install directory under your current user. However, if you want to assign a custom location, set it, otherwise just press the “Walk in” key.
Once the installation is complete, the installer will ask you to initialize Conda initialization, just type ‘yes‘ and press the Walk in key.
3. Add environment variable for Anaconda
Next, we need to add the extracted Anaconda’s folder path to our system path, so we can easily access its command tool without switching to its directory from anywhere in the terminal.
echo "export PATH=$PATH:/home/linuxshout/anaconda3/bin">> ~/.bashrc
To note: Replace linuxshout in the above command with your Ubuntu username.
4. Reload the shell
To start using Anaconda without logging out while maintaining the current shell or terminal state; reload bash, simply put, reload your profile without restarting or logging out of the session.
Well, those who want to use the Anaconda graphical user interface called Navigator to manage their project, can start it using the terminal. Course:
8. Create desktop and launcher shortcut
By default, there will be no desktop shortcut to launch Anaconda Navigator after installing it on Ubuntu 22.04 LTS Jammy. Therefore, let’s manually create the one to easily run it in the future without accessing the Terminal.
Step 1: Open the command terminal on your Ubuntu 22.04 LTS or any other Linux system you are using.
2nd step: Switch to the Desktop directory using the command:
Step 3: Now create a file for the Anaconda desktop shortcutfor this we use Ubuntu Linux’s default nano editor.
Step 4: You will see a text editor, where copy-paste the following text:
[Desktop Entry] Version=1.0 Type=Application Name=Anaconda Exec=/home/linuxshout/anaconda3/bin/anaconda-navigator Icon=/home/linuxshout/anaconda3/lib/python3.9/site-packages/anaconda_navigator/app/icons/Icon1024.png Terminal=false
To note: Replace linuxshout with your username and 3.9 with the version of python you have on your system.
Save the file by pressing CTRL+Xtype- Yesand press the Walk in key.
Also copy the same for the launcher-
sudo cp ~/Desktop/anaconda.desktop /usr/share/applications/
• How to Install Anaconda Navigator on Kali Linux
• Install Anaconda Navigator on Opensuse Tumbleweed or Leap
• How to install Anaconda on Debian 10 or 11 Bullseye
• How to Install WineHQ on Ubuntu 22.04 LTS
• Install Tixati Torrent client on Ubuntu 22.04 LTS