I have a linux Ec2 that I'm trying to run a python script from. It uses pytesseract, so I need to have tesseract running.
I've been following https://stackoverflow.com/a/36999782/1052985 to get everything set up. As I'm running make
for tesseract, I believe I ran out of space.
libtool: link: ranlib .libs/libtesseract.a
ranlib: .libs/libtesseract.a: No space left on device
make[2]: *** [libtesseract.la] Error 1
make[2]: Leaving directory `/home/ec2-user/tesseract-3.05.01/api'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ec2-user/tesseract-3.05.01'
make: *** [all] Error 2
Checking df -h
it seems true.
Filesystem Size Used Avail Use% Mounted on
devtmpfs 488M 56K 488M 1% /dev
tmpfs 497M 0 497M 0% /dev/shm
/dev/xvda1 7.8G 7.7G 33M 100% /
I've tried upgrading my instance from t2.micro to t2.medium and m5d.large but for both the size for /dev/xvda1 remains 7.8G, suggesting I will continue to fail in my quest. Although I do see the devtmpfs and tmpfs increase.
q1: What instance type should I be going for to get tesseract installed?
q2: Should I just give up and switch to ubuntu, or will I just be exchanging one set of issues for another?