-
Notifications
You must be signed in to change notification settings - Fork 28
Install Script
Zach Leigh edited this page Apr 27, 2016
·
3 revisions
Download the script:
curl -O https://raw.githubusercontent.com/nihongodera/limelight/master/install_mecab_php-mecab.sh
Make the file executable:
chmod +x install_mecab_php-mecab.sh
Execute the script:
./install_mecab_php-mecab.sh
The script will first download and install the following from your distro's repositories:
- mecab
- mecab-ipadic-utf8
- mecab-util
- libmecab-dev
- unzip
- build-essential
- php7.0-dev
It will then download a fork of the package rsky/php-mecab and save it in your current directory. The downloaded package will be unzipped, built, and then added to the list of php extensions on your system. Before closing, the downloaded files will be deleted.