How to use miniconda after installing it on Ubuntu?
After installing Miniconda, you can use it by following these steps:
- Open the terminal and enter “conda list” to confirm that Miniconda has been successfully installed. If it has been installed successfully, you will see a list of the installed packages.
- Create a new Conda environment (optional). You can use the following command to create a new environment named myenv:
- Create a conda environment named ‘myenv’.
- Activate the conda environment. You can activate an environment named myenv using the following command:
- Activate myenv in conda.
- Install the software package. You can use the following command to install the specified software package, such as installing numpy:
- install numpy using conda
- Run the Python script. You can execute the Python script using the following command:
- Run your script.py using Python.
- Exit the conda environment. You can use the following command to exit the currently activated conda environment:
- Disable conda
I hope the steps above can help you get started with Miniconda. If you need more assistance, you can refer to the official documentation of Miniconda or use the command conda –help to get more information.