Bharthan Bharthan - 2 months ago 17x
Scala Question

Installing SBT in Linux - Error: File name too long

I am trying to install SBT following the instructions mentioned in:

But I am getting an error while running command:


The error is:

--2016-08-16 11:39:16--
Resolving, Connecting
to||:443... connected. HTTP request
sent, awaiting response... 302 Location:
--2016-08-16 11:39:16--
Resolving Connecting to||:443... connected. HTTP request sent,
awaiting response... 200 OK Length: 1059183 (1.0M)
File name too long

Cannot write to

I referred StackOverflow Link with similar issue but I am not able to figure out what is the problem.


I don't think it's really an issue with the filename. I was able to use that same command without a problem. If the filename was an issue, you could always use this to save it as a different filename:

wget -O newname.tgz

The other option is to use bitly and get a URL if the URL is just too long.

But it could be a space issue. Do you have enough disk space? Check with df -h to see your available space.