分页: 1 / 1

I have no idea how to delete it

发表于 : 2017-06-12 19:49
寺島聰子
> G-HAL版のanthy削除をしたいです
http://rikukuu.blog27.fc2.com/blog-entry-271.html
http://www.fenix.ne.jp/~G-HAL/soft/nosettle/#anthy
>これは以下の工程でインストールした
>------------------------------------
>>anthy-9100h.patch13-release-2 016111.alt-depgraph-120315-ang ie.zipdic-201101.tar.lzma
>↑これになります。GNU/Linux系OS 上での手順としては、
>
>$ tar -xf anthy-9100h.patch13-release-20 16111.alt-depgraph-120315-angi e.zipdic-201101.tar.lzma --lzma
>$ cd anthy-9100h/
>$ autoreconf -vfiI ./m4
>$ ./configure --prefix=/usr --sysconfdir=/etc --disable-tokyocabinet
>$ make
>$ sudo make install
>$ rm -rf ~/.anthy/
>(ibus を再起動)
>------------------------------------
/home/m/anthy-9100h 
このフォルダのサイズは150メガバイトある、これを削除するだけでしょうか?
The size of this folder is 150 megabytes, is it only to delete this?
此文件夹之大小为百五十兆字节,非但删此?

https://ja.wikipedia.org/wiki/Dpkg
dpkg APT aptitude synaptic、どれでやるのか?
dpkg APT aptitude synaptic,何来之? :Effort :Cry :Faint

Re: I have no idea how to delete it

发表于 : 2017-06-12 20:53
vickycq
寺島聰子 写了:/home/m/anthy-9100h このフォルダのサイズは150メガバイトある、これを削除するだけでしょうか?
If you decide to keep "anthy-GHAL" in your system, then you may proceed to delete the folder /home/m/anthy-9100h. But you would find it less convenient once you decide to uninstall it in the future.
寺島聰子 写了:G-HAL版のanthy削除をしたいです
If you would like to uninstall "anthy-GHAL" now, try executing "sudo make uninstall" in the source folder /home/m/anthy-9100h. This will work only if the developer has made a good uninstall rule.

If for whatever reason "sudo make uninstall" doesn't work, you might try "make -n install". It will show the steps it would take to install, but won't actually do anything. You can then manually reverse those steps.

If you have already deleted the source folder, you probably would have to do those "tar -xf...autoreconf...configure...make" steps all over again, before attempting "sudo make uninstall" or "make -n install".
寺島聰子 写了:dpkg APT aptitude synaptic、どれでやるのか?
It's not the package manager's job to keep track of user-compiled software. So none of these utilities will work.

Re: I have no idea how to delete it

发表于 : 2017-06-13 13:02
寺島聰子
"sudo make uninstall"が通りました!
Command has passed!

代码: 全选

m@m ~ $ cd /home/m/anthy-9100h
m@m ~/anthy-9100h $ sudo make uninstall
[sudo] password for m:
Making uninstall in m4
make[1]: ディレクトリ `/home/m/anthy-9100h/m4' に入ります
make[1]: `uninstall' に対して行うべき事はありません.
make[1]: ディレクトリ `/home/m/anthy-9100h/m4' から出ます
略
make[1]: ディレクトリ `/home/m/anthy-9100h/sample' から出ます
make[1]: ディレクトリ `/home/m/anthy-9100h' に入ります
 ( cd '/usr/lib/pkgconfig' && rm -f anthy.pc )
 ( cd '/usr/share/anthy' && rm -f AUTHORS AUTHORS.patch COPYING README )
 ( cd '/etc' && rm -f anthy-conf )
make[1]: ディレクトリ `/home/m/anthy-9100h' から出ます
m@m ~/anthy-9100h $

It's not the package manager's job to keep track of user-compiled software. So none of these utilities will work.
明晰にわかった
I understood clearly.
我清楚地明白了。

/home/m/anthy-9100h The size of this folder is 150 megabytes 
このフォルダは、いまだ残っている。これはどうするのですか?
This folder is still left. How is this done?
此文件夹仍为左之。此何为也?

Re: I have no idea how to delete it

发表于 : 2017-06-13 13:15
寺島聰子
viewtopic.php?f=175&t=484085
代碼:
export LC_ALL=en_US.UTF-8

this will change the current terminal's locale temporary, if you open another one, it is still the system's locale(assume that you are using ja_JP.UTF-8)
m@m ~ $ export LC_ALL=en_US.UTF-8
m@m ~ $ cd /home/m/anthy-9100h
m@m ~/anthy-9100h $ sudo make uninstall
[sudo] password for m:
Making uninstall in m4
make[1]: Entering directory `/home/m/anthy-9100h/m4'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/home/m/anthy-9100h/m4'
Making uninstall in doc
以下略之

ありがとうございます 谢谢             vickycq様 onlylove様