Fun with Distros
Right, so, Ubuntu 16.04 LTS. Seems simple right?
Well the basic install was a walk in the park, drop the CD in, and let it go to town on the PC.
Then came the first set of instructions (taken from the Karpathy site I linked to earlier)
$ curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash $ git clone https://github.com/torch/distro.git ~/torch --recursive $ cd ~/torch; $ ./install.sh # and enter "yes" at the end to modify your bashrc $ source ~/.bashrcSo right away, problems arise. Curl it seems, wasn't installed by default on 16.04. Ok, no issues, I'll just sudo apt-get install curl and go to town.
Yeah, errors get thrown. Scrolling through them I realize there are more dependencies required.
Sigh.
Ok, so make note, do a sudo apt-get install of each dependency and move on to the next step.
Oh, one of the important things from the Karpathy site? Yeah, download the actual program and unpack it. That helps a lot when it comes to making the darned thing work.
Still ended up with weird errors, so, figuring I'd borked my Ubuntu install this way, I wiped it and started fresh. Turns out I'd be doing that a LOT over the next few days and I struggled to learn how this seemingly simple program was installed.
More to come...
Comments
Post a Comment