0

I'm testing a small AWS t2.micro machine, 1vCPU, 1GiB RAM, 10GB GP3 SSD running Ubuntu 22.04 (x64).

I want to know if installing for some dependencies using opam requires more powerful hardware or if there is another problem.

I have already tried several times to launch a command via SSH and the process never completes, it's like it entered a loop and PuTTy froze.

In this case I can't build dune.

Or in the best case, it ends with a killed.

enter image description here enter image description here

I need to do that installation with opam because I'm following this tutorial: https://www.linuxjournal.com/content/creating-internet-radio-station-icecast-and-liquidsoap

That only happens to me with some installations using opam, in this case with dune.

The full command you should type is this: opam install taglib mad lame cry ssl samplerate liquidsoap

But I tried and putty was frozen for hours and my AWS EC2 instance crashed.

Now I have created another instance and I am installing in parts, not all together: opam install taglib

opam version: 2.1.2 (it's the only stable one I could install with Ubuntu 22.04 x64).

OCaml version: 4.1.3

Juan
  • 195
  • 9
  • 1
    You probably need more memory. Maybe try a ramdisk, at least temporarily while installing. – Brad Aug 15 '23 at 02:28
  • You were right, it was a memory issue, I solved it with a 2GB machine. Thank you! – Juan Aug 15 '23 at 08:53

0 Answers0