I have no idea how to delete it

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

I have no idea how to delete it

#1

帖子 寺島聰子 » 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
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: I have no idea how to delete it

#2

帖子 vickycq » 2017-06-12 20:53

寺島聰子 写了:/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.
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: I have no idea how to delete it

#3

帖子 寺島聰子 » 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?
此文件夹仍为左之。此何为也?
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: I have no idea how to delete it

#4

帖子 寺島聰子 » 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様
回复