Conda/Mamba tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Fix: remove --- horizontal lines (7 removed))
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Status
|status=Draft
|owner=Knowledge Agent
|last_update=2026-07-16
|review=Pending
}}
{{TOC}}
== Overview ==
Conda/Mamba tips and tricks에 대한 기술 문서입니다.
=== Summary ===
* 무엇인가? - Conda/Mamba tips and tricks
* 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
== Purpose ==
이 문서가 존재하는 이유
* Goal: Conda/Mamba tips and tricks에 대한 기술 정보 제공
* Scope: Conda/Mamba tips and tricks의 개념, 사용법, 설정
* Non-goals: 다른 주제로의 확장
== Key Concepts ==
{| class="wikitable"
! Concept
! Description
! Related
|-
| Conda/Mamba tips and tricks
| HPC/서버 환경에서 중요한 기술 개념
| [[Linux]], [[Server]]
|}
== Detailed Explanation ==


== Downgrading Conda Version ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
conda config --set allow_conda_downgrades true
# Search available package inside conda env
conda install conda=a.b.c  # version you want to install
$conda search <package_name>    # this command shows all avalable version of package
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang="bash">
# prioritize 'conda-forge' channel
conda config --add channels conda-forge
# update existing packages to use 'conda-forge' channel
conda update -n base --all
# install 'mamba'
conda install -n base mamba
</syntaxhighlight>
<syntaxhighlight lang="bash">
$conda install anaconda  # this command may take over an hour
# after then
$conda update --all     
</syntaxhighlight>
<syntaxhighlight lang="bash">
$ source activate base
$ conda deactivate
== Best Practices ==
* 최신 버전 사용 권장
* 공식 문서 참고
* 테스트 환경에서 먼저 검증
== References ==


== Conda commands ==
* [https://wiki.hpcmate.com Conda/Mamba tips and tricks]
{| class="wikitable sortable"
 
|+
 
!Commands
== Related Pages ==
!Description
 
!Notes
* [[Linux]]
|-
* [[Server]]
|<code>conda config --add channels conda-forge</code>
* [[Hardware]]
|Add conda channel
* [[Network]]
|
 
|-
 
|<code>conda config --set channel_priority strict</code>
[[Category:Server]]
|Set channel priority policy
== Knowledge Graph ==
|
 
|-
Related
|<code>conda config --show-sources</code>
 
|Show config
→ [[Linux]]
|
→ [[Server]]
|-
→ [[Hardware]]
|<code>conda update --all --verbose</code>
→ [[Network]]
|Update all conda with printout
|
|-
|<code>conda list --show-channel-urls</code>
|Listup conda channels
|
|}


== Reference ==
[[Category:Reference]]

Latest revision as of 11:27, 17 July 2026

Template:Status

Template:TOC

Overview

Conda/Mamba tips and tricks에 대한 기술 문서입니다.

Summary

  • 무엇인가? - Conda/Mamba tips and tricks
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


Purpose

이 문서가 존재하는 이유

  • Goal: Conda/Mamba tips and tricks에 대한 기술 정보 제공
  • Scope: Conda/Mamba tips and tricks의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장


Key Concepts

Concept Description Related
Conda/Mamba tips and tricks HPC/서버 환경에서 중요한 기술 개념 Linux, Server


Detailed Explanation

# Search available package inside conda env
$conda search <package_name>    # this command shows all avalable version of package
# prioritize 'conda-forge' channel
conda config --add channels conda-forge
# update existing packages to use 'conda-forge' channel
conda update -n base --all
# install 'mamba'
conda install -n base mamba
$conda install anaconda   # this command may take over an hour
# after then
$conda update --all

<syntaxhighlight lang="bash"> $ source activate base $ conda deactivate


Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증


References


Related Pages

Knowledge Graph

Related

LinuxServerHardwareNetwork