cpanのアップデート
perl cpan自身のupdateyasjournal.wordpress.com
perl cpan自身のupdate <cpan自身のupdate>
参考:
http://www.i-sys.biz/Support/UNIX/cpan.html
apt update
cpanm
cpan commnad
‘‘‘ Display Information (ver 2.34) command argument description a,b,d,m WORD or /REGEXP/ about authors, bundles, distributions, modules i WORD or /REGEXP/ about any of the above ls AUTHOR or GLOB about files in the author's directory (with WORD being a module, bundle or author name or a distribution name of the form AUTHOR/DISTRIBUTION)
Download, Test, Make, Install... get download clean make clean make make (implies get) look open subshell in dist directory test make test (implies make) readme display these README files install make install (implies test) perldoc display POD documentation
Upgrade installed modules r WORDs or /REGEXP/ or NONE report updates for some/matching/all upgrade WORDs or /REGEXP/ or NONE upgrade some/matching/all modules
Pragmas force CMD try hard to do command fforce CMD try harder notest CMD skip testing
Other h,? display this menu ! perl-code eval a perl command o conf [opt] set and query options q quit the cpan shell reload cpan load CPAN.pm again reload index load newer indices autobundle Snapshot recent latest CPAN uploads ‘‘‘
perl cpan自身のupdateyasjournal.wordpress.com
やったこと
stdc++でエラー
sudo apt-get update && sudo apt-get upgrade sudo apt-get install build-essential sudo apt-get install aptitude sudo apt-get install libstdc++6
mecabのインストール
mecab-configでエラー
$ sudo apt install mecab $ sudo apt install libmecab-dev $ sudo apt install mecab-ipadic-utf8
mecabのエラー
"Failed to create mecab instance"
辞書(ディレクトリ)のパスが間違っていた
mecab -P bos-feature: BOS/EOS,*,*,*,*,*,*,*,* bos-format: config-charset: UTF-8 cost-factor: 700 dicdir: /var/lib/mecab/dic/debian dump-config: 1 eon-format: eos-format: EOS\n eos-format-chasen: EOS\n eos-format-chasen2: EOS\n eos-format-simple: EOS\n eos-format-yomi: \n eval-size: 8 lattice-level: 0 max-grouping-size: 24 nbest: 1 node-format: %m\t%H\n node-format-chasen: %m\t%f[7]\t%f[6]\t%F-[0,1,2,3]\t%f[4]\t%f[5]\n node-format-chasen2: %M\t%f[7]\t%f[6]\t%F-[0,1,2,3]\t%f[4]\t%f[5]\n node-format-simple: %m\t%F-[0,1,2,3]\n node-format-yomi: %pS%f[7] theta: 0.75 unk-eval-size: 4 unk-format: %m\t%H\n unk-format-chasen: %m\t%m\t%m\t%F-[0,1,2,3]\t\t\n unk-format-chasen2: %M\t%m\t%m\t%F-[0,1,2,3]\t\t\n unk-format-yomi: %M
Text::ShirasuのCPANでのエラー
Text::MeCabを入れていなかった
mecab-ipadic-NEologd : Neologism dictionary for MeCab
IPAの辞書も入れる必要がある!