Help us understand the problem. What is going on with this article?

Bye-bye anaconda

More than 1 year has passed since last update.

anacondaをuninstallする際のmemo.

cat /etc/debian_version 
9.8
$ conda install anaconda-clean

Collecting package metadata: done
Solving environment: done

## Package Plan ##

  environment location: /home/*username*/.pyenv/versions/anaconda3-4.3.1

  added / updated specs:
    - anaconda-clean


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    anaconda-clean-1.1.0       |           py36_1           7 KB
####(略)####
    ------------------------------------------------------------
                                           Total:       146.5 MB

The following NEW packages will be INSTALLED:

  anaconda-clean     pkgs/main/linux-64::anaconda-clean-1.1.0-py36_1
####(略)####

The following packages will be UPDATED:

####(略)####

Proceed ([y]/n)? y  #入力


Downloading and Extracting Packages
fontconfig-2.13.0    | 291 KB    | ##################################### | 100% 
####(略)####

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
$ anaconda-clean --yes
Backup directory: /home/*username*/.anaconda_backup/2019-03-28T124457

bashプロファイルからanacondaパスを削除

$ vi ~/.bashrc

下記の行を削除

~/.bashrc
export PATH="$PYENV_ROOT/versions/anaconda3-4.3.1/bin/:$PATH"  #<-削除

anacondaディレクトリを削除

$ cd $PYENV_ROOT/versions/
$ ~/.pyenv/versions$ ls
anaconda3-4.3.1
$ rm -r anaconda3-4.3.1
$ python3 -V
pyenv: version `anaconda3-4.3.1' is not installed (set by /home/*username*/.pyenv/version)
$ source ~/.bashrc #設定再読込
$ python3 -V
Python 3.5.3

アンインストール完了。

source listへ追記

# su
# echo 'deb http://ftp.jp.debian.org/debian experimental main' >> /etc/apt/sources.list
# echo 'deb http://ftp.jp.debian.org/debian unstable main' >> /etc/apt/sources.list
# vi /etc/apt/apt.conf.d/00local
/etc/apt/apt.conf.d/00local
APT::Default-Release "stable"; #追加
```shell-session
# apt update
(略)
# apt install python3.7

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした