Centos在 CentOS 4 上安裝
在 CentOS 4 上安裝 diction
我需要在執行CentOS 4 的伺服器上安裝字典。我發現Fedora和 Ubuntu 沒有問題(apt-get ‘剛剛工作’),但在 CentOS 下沒有運氣。
我需要哪個 Fedora 軟體包,或者是否有可以使用的可靠源連結?似乎搜尋只帶回“字典”而不是“字典”。
感謝@JeffG的提示,我能夠
tgz
在gnu.org上找到原始碼。從包的角度來看這樣做仍然很好,但由於它自 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.
- 從源點下載 - http://ftp.gnu.org/gnu/diction
tar zxf diction-1.11.tar.gz
cd diction-1.11
./configure ; make ; make install