Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions aboutCondaEnvironment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@

# Conda Environment Guide

This guide provides an overview of Conda environments, including how to create new environments, manage packages within them, and list all existing environments. Conda environments are isolated spaces where you can manage dependencies and packages separately for different projects.

## What is a Conda Environment?

A Conda environment is an isolated environment that allows you to install and manage specific packages and dependencies required for your projects. This isolation ensures that each project has its own set of dependencies, avoiding conflicts between packages.

## Prerequisites

Make sure you have Conda installed on your system. You can install Conda by downloading Anaconda or Miniconda:
- [Anaconda](https://www.anaconda.com/products/individual)
- [Miniconda](https://docs.conda.io/en/latest/miniconda.html)

To verify your Conda installation, open your terminal or command prompt and run:

```bash
conda --version
```

## Creating a Conda Environment

You can create a new Conda environment with a specific name and specify the packages (such as Python) you want to include.

### Basic Command

To create a new environment named `myenv` with Python version 3.9:

```bash
conda create --name myenv python=3.9
```

Conda will ask for confirmation and list the packages to be installed. Type `y` and press Enter to proceed.

### Adding Packages During Creation

You can also specify additional packages during creation. For example, to create an environment with Python 3.9 and the `numpy` and `pandas` packages:

```bash
conda create --name myenv python=3.9 numpy pandas
```

## Activating and Deactivating Environments

To start using an environment, you need to activate it:

```bash
conda activate myenv
```

When you're done working in the environment, you can deactivate it:

```bash
conda deactivate
```

## Listing All Conda Environments

To see a list of all the Conda environments available on your system, use the following command:

```bash
conda env list
```

Or you can use this shorthand:

```bash
conda info --envs
```

This will display all environments along with the path to each environment. The currently active environment will be highlighted with an asterisk (`*`).

## Deleting a Conda Environment

If you no longer need an environment, you can delete it using:

```bash
conda remove --name myenv --all
```

Replace `myenv` with the name of the environment you wish to delete.

## Additional Resources

For more information, refer to the official Conda documentation:
- [Managing Conda Environments](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html)
- [Conda Package and Environment Management](https://docs.conda.io/projects/conda/en/latest/user-guide/index.html)


10 changes: 10 additions & 0 deletions environment-ctf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: summer-ctf
channels:
- defaults
- conda-forge
dependencies:
- python=3.11
- pip
- pandas
- numpy
- jupyter