Install and Run CutyCapt at Unbuntu 14.04 Server
CutyCapt Official Site: http://cutycapt.sourceforge.net/
HOWTO :: Step-by-Step Include installing Chinese/Japanese/Korean Fonts
1. Install QT/QT4+
代碼:
sudo apt-get install subversion libqt4-webkit libqt4-dev g++
2. Install xvfb-run (A lite-weight X Server / X virtual framebuffer )
代碼:
sudo apt-get install xvfb-run
or
sudo apt-get install xvfb
3. Install Make & qMake if necessary
代碼:
sudo apt-get install make
4. Install Libicu48 for "Internationalization"
代碼:
sudo apt-get install libicu48
or
sudo apt-get install libicu52
or
sudo apt-get install libicuXX
5. Get CuteCapt source code form SVN
代碼:
6. Enter project Folder
代碼:
cd cutycapt/CutyCapt
7. Generate CutyCapt Makefile
代碼:
qmake
8. Compile the CutyCapt (Making shall be very quick)
代碼:
make
/bin/cp CutyCapt /usr/sbin/CutyCapt
9. Install CJK fonts (Chinese-Font, Japanese-Font, Korean-Font) for CutyCapt
代碼:
sudo apt-get install xfonts-wqy
10. Run the CutyCap thru XVFB-run
代碼:
xvfb-run --server-args="-screen 0, 800x800x16" /usr/sbin/CutyCapt --url=http://xor.tw/ --out=test.jpg --max-wait=10000
Note:
If you didn't install libicu48, you are likely to see this warning or something like this...
代碼:
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)"
_ |