LoginSignup
0
0

More than 1 year has passed since last update.

LinuxにもAnacondaのショートカットがほしい

Posted at

はじめに

LinuxにAnacondaを入れた。普段はactiveにしていないため、conda activateanaconda-navigatorの立ち上げの2つを毎回打ち込むことに嫌気が差しためんどくさがりによる雑な備忘録

作り方

  1. 起動シェルの作成 自分は適当にanaconda.shとしてhome下に作成した
#!/bin/bash
source ~/.bashrc
# anacondaをインストールした場所によって変更(自分は/opt下にインストールしたため)
source /opt/anaconda3/etc/profile.d/conda.sh
cd ~
cd labo-py #自分の作業ディレクトリを指定
conda activate
anaconda-navigator
  1. メニューに追加 自分はLinux mint 20.2なので標準でメイン・メニューというものが入っており、自由にアプリとしてコマンドを登録できる。 スクリーンショット 2021-10-24 01-18-41.png

これで毎回押すだけヽ(=´▽`=)ノ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0