在CentOS 4上安装`diction`

我需要在运行CentOS 4的服务器上安装字典。我可以发现Fedora和Ubuntu没有问题(apt-get'刚刚工作'),但在CentOS下却没有运气。

我需要哪个Fedora软件包,还是我可以使用的固定源代码链接? 似乎search只能带回“字典”,而不是“文辞”。

感谢@ JeffG的提示,我能够在gnu.org上find源代码tgz

从软件包的angular度来看,这样做还是很好的,但是自2007年以来,从源代码安装似乎已经足够安全了。

步骤如下:

  • rpm -qip diction-1.11-4.fc12.i686.rpm

从上面的命令输出:

 warning: diction-1.11-4.fc12.i686.rpm: V3 RSA/MD5 signature: NOKEY, key ID 97a1071f Name : diction Relocations: (not relocatable) Version : 1.11 Vendor: Fedora Project Release : 4.fc12 Build Date: Sat Jul 25 07:30:33 2009 Install Date: (not installed) Build Host: x86-6.fedora.phx.redhat.com Group : Applications/Text Source RPM: diction-1.11-4.fc12.src.rpm Size : 187412 License: GPLv3+ Signature : RSA/8, Thu Jul 29 01:58:51 2010, Key ID 421caddb97a1071f Packager : Fedora Project URL : http://www.gnu.org/software/diction/diction.html Summary : Identifies diction and style errors Description : Diction and style are two old standard UNIX commands. Diction identifies wordy and commonly misused phrases. Style analyses surface characteristics of a document, including sentence length and other readability measures. These programs cannot help you structure a document well, but they can help to avoid poor wording and compare the readability (not the understandability!) of your documents with others. Both commands support English and German documents.