In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to solve the problem of how to query the dictionary offline without network Linux". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow Xiaobian's train of thought to study and learn "how to solve the problem of how to query the dictionary offline without network Linux".
First of all, you need to set dictd locally. Dictd is a dictionary database server. It allows you to access online dictionaries. But wait a minute, aren't we going to use it offline? This is why we want to install it locally. It comes with a command line client.
To install on Ubuntu or Debian, you need to type:
$sudo apt-get install dictd
This is very simple. Now you need to install the dictionary you use. Dictd automatically reloads its database after each dictionary plug-in is installed. Let's install an English dictionary and an English synonym dictionary.
Enter:
$sudo apt-get install dict-gcide
$sudo apt-get install dict-moby-thesaurus
If you want to query other languages that you can query, you can type:
$sudo apt-cache search "dict package"
This will list something like this:
Dict-freedict-eng-ara-DictpackageforEnglish-ArabicFreedict dictionary
Dict-freedict-eng-cro-DictpackageforEnglish-CroatianFreedict dictionary
Dict-freedict-eng-cze-DictpackageforEnglish-CzechFreedict dictionary
Dict-freedict-eng-deu-DictpackageforEnglish-GermanFreedict dictionary
Dict-freedict-eng-fra-DictpackageforEnglish-FrenchFreedict dictionary
Now that you have successfully installed dictd, you can look up the dictionary.
First, let's check if the dictd service is running and what databases are installed:
$dict-I
Sample output:
Dictd 1.12.0/rf on Linux3.2.0-29-generic-pae
On my_host: up 95.000 Magi 2 forks (75.8/hour)
DatabaseHeadwordsIndexDataUncompressed
Gcide 2036453859 kB 12 MB 38 MB
Moby-thesaurus 30263528 kB 10 MB 28 MB
In order to query a word, you can specify the dictionary to query. Let's look up the English one dictionary (gcid):
$dict-d gcide [the word you want to look up]
If you do not use the-d parameter, dictd will search all installation dictionaries and return matching results.
Thank you for your reading, the above is the content of "how to solve the problem of how to query dictionaries offline without network Linux". After the study of this article, I believe you have a deeper understanding of how to solve the problem of how to query dictionaries offline without network Linux. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.