This video is still being processed. Please check back later and refresh the page.

Uh oh! Something went wrong, please try again.

Conda Basics

Manage software and environments using conda.

rate limit

Code not recognized.

About this course

Description

This course covers the basics of working with conda to manage software, from creating and managing environments, using channels, and installing dependencies. You will learn why using conda is important and how it will improve your workflow. The course will cover what happens in the operating system when an environment is created or a package is installed. Lastly, you will practice how to create, modify, export and share an environment. By the end of the course, you will be able to apply this to your day-to-day activities in software development or data analysis.

This course is part of the conda Fundamentals certification program and you can learn more here if you are interested in getting Anaconda certified.

What you'll learn—and how you can apply it

By the end of this hands-on course, you’ll understand:

  • What is conda and how it can make you more productive
  • How conda environments, packages and channels work
  • How conda interacts with the underlying OS

And you’ll be able to:

  • Create, manage and share conda environments
  • Search and install packages from different channels
  • Use the most common conda commands

This training is for you because...

  • You’re a software developer or data scientist
  • You have to install and use several different packages
  • You must maintain an organized computational environment

Prerequisites 

  • Get Started with Anaconda course
  • Command line basics
    • How to use basic Terminal commands such as ls and cd 
    • If a refresher is needed, consider completing Episodes 1-3 of the Software Carpentry “The Unix Shell” lesson
  • UNIX Filesystem Hierarchy Standard
    • Understand what is the root directory / and the home/user directory ~

Setup

To follow along using your desktop IDE:

  1. Install or update to the latest version of Anaconda
  2. Launch your command line tool and configure your conda environment

For macOS and Linux users: Search and launch Terminal in your system

For Windows users: Locate and launch Anaconda Prompt in your system

3. (Optional but recommended) From the command line, run the following prompts to create and activate a new environment

conda create --name NEW_ENV_NAME

conda activate NEW_ENV_NAME

Facilitator Bio

Vini Salazar is a bioinformatician, developer, and educator. He is currently a graduate student at The University of Melbourne, performing research on computational and statistical methods for microbial genomics, and spends most of his time developing software for scientific applications. He is also an Instructor and Maintainer Community Lead at The Carpentries, a global organisation that teaches coding and data skills to researchers. Vini has been a user of Anaconda since 2015 and has over five years of experience in educational settings, teaching programming and related skills to individuals and groups in the academia and industry.

Company affiliation

Melbourne Integrative Genomics

The University of Melbourne School of Mathematics and Statistics

Social media

https://twitter.com/vinisalazar

https://github.com/vinisalazar

Questions? Issues? Join our Community page to get help.

Curriculum02:14:29

  • How to Use Anaconda Notebooks
  • Getting Started with conda
  • Setup and installation 00:06:48
  • Preview
    Overview of conda 00:08:10
  • Using a package and environment management system 00:07:10
  • Why use conda and Module 1 summary 00:03:27
  • Working with Environments
  • How to create and activate an environment 00:08:54
  • Practice Exercise 1
  • Specifying a location for an environment 00:06:10
  • Practice Exercise 2
  • Installing packages into an environment 00:05:11
  • Practice Exercise 3
  • Listing packages and environments 00:06:14
  • Practice Exercise 4
  • Deleting a package or environment 00:05:21
  • Practice Exercise 5
  • Module 2 summary 00:01:06
  • Channels and Packages
  • Conda packages 00:02:45
  • Conda channels 00:02:08
  • Searching for packages 00:09:37
  • Installing a package from a specific channel 00:04:48
  • Practice Exercise 1
  • Adding a channel 00:03:51
  • Practice Exercise 2
  • Module 3 summary 00:02:20
  • Sharing and Deploying Environments
  • Overview 00:01:40
  • Environment files 00:08:52
  • Creating an environment from a file 00:05:04
  • Exporting an environment to a file 00:06:36
  • Practice Exercise 1
  • Deploying environments 00:02:17
  • Setting up conda on JupyterLab 00:14:30
  • Practice Exercise 2
  • Module 4 summary 00:02:05
  • Conclusion 00:09:25
  • End of Course Survey

About this course

Description

This course covers the basics of working with conda to manage software, from creating and managing environments, using channels, and installing dependencies. You will learn why using conda is important and how it will improve your workflow. The course will cover what happens in the operating system when an environment is created or a package is installed. Lastly, you will practice how to create, modify, export and share an environment. By the end of the course, you will be able to apply this to your day-to-day activities in software development or data analysis.

This course is part of the conda Fundamentals certification program and you can learn more here if you are interested in getting Anaconda certified.

What you'll learn—and how you can apply it

By the end of this hands-on course, you’ll understand:

  • What is conda and how it can make you more productive
  • How conda environments, packages and channels work
  • How conda interacts with the underlying OS

And you’ll be able to:

  • Create, manage and share conda environments
  • Search and install packages from different channels
  • Use the most common conda commands

This training is for you because...

  • You’re a software developer or data scientist
  • You have to install and use several different packages
  • You must maintain an organized computational environment

Prerequisites 

  • Get Started with Anaconda course
  • Command line basics
    • How to use basic Terminal commands such as ls and cd 
    • If a refresher is needed, consider completing Episodes 1-3 of the Software Carpentry “The Unix Shell” lesson
  • UNIX Filesystem Hierarchy Standard
    • Understand what is the root directory / and the home/user directory ~

Setup

To follow along using your desktop IDE:

  1. Install or update to the latest version of Anaconda
  2. Launch your command line tool and configure your conda environment

For macOS and Linux users: Search and launch Terminal in your system

For Windows users: Locate and launch Anaconda Prompt in your system

3. (Optional but recommended) From the command line, run the following prompts to create and activate a new environment

conda create --name NEW_ENV_NAME

conda activate NEW_ENV_NAME

Facilitator Bio

Vini Salazar is a bioinformatician, developer, and educator. He is currently a graduate student at The University of Melbourne, performing research on computational and statistical methods for microbial genomics, and spends most of his time developing software for scientific applications. He is also an Instructor and Maintainer Community Lead at The Carpentries, a global organisation that teaches coding and data skills to researchers. Vini has been a user of Anaconda since 2015 and has over five years of experience in educational settings, teaching programming and related skills to individuals and groups in the academia and industry.

Company affiliation

Melbourne Integrative Genomics

The University of Melbourne School of Mathematics and Statistics

Social media

https://twitter.com/vinisalazar

https://github.com/vinisalazar

Questions? Issues? Join our Community page to get help.

Curriculum02:14:29

  • How to Use Anaconda Notebooks
  • Getting Started with conda
  • Setup and installation 00:06:48
  • Preview
    Overview of conda 00:08:10
  • Using a package and environment management system 00:07:10
  • Why use conda and Module 1 summary 00:03:27
  • Working with Environments
  • How to create and activate an environment 00:08:54
  • Practice Exercise 1
  • Specifying a location for an environment 00:06:10
  • Practice Exercise 2
  • Installing packages into an environment 00:05:11
  • Practice Exercise 3
  • Listing packages and environments 00:06:14
  • Practice Exercise 4
  • Deleting a package or environment 00:05:21
  • Practice Exercise 5
  • Module 2 summary 00:01:06
  • Channels and Packages
  • Conda packages 00:02:45
  • Conda channels 00:02:08
  • Searching for packages 00:09:37
  • Installing a package from a specific channel 00:04:48
  • Practice Exercise 1
  • Adding a channel 00:03:51
  • Practice Exercise 2
  • Module 3 summary 00:02:20
  • Sharing and Deploying Environments
  • Overview 00:01:40
  • Environment files 00:08:52
  • Creating an environment from a file 00:05:04
  • Exporting an environment to a file 00:06:36
  • Practice Exercise 1
  • Deploying environments 00:02:17
  • Setting up conda on JupyterLab 00:14:30
  • Practice Exercise 2
  • Module 4 summary 00:02:05
  • Conclusion 00:09:25
  • End of Course Survey