user2809974
user2809974

Reputation: 31

GCC local installation Ubuntu

I have access to public machine which don't provide sudo access. How can I install latest g++ in a local folder in Ubuntu and use it while compiling and running C++ programs? I tried this solution (Install gcc on linux with no root privilege) but its not working.

it Produces Error bzr: ERROR: Connection error: failed to connect to bzr.savannah.gnu.org:4155: Connection refused.

Upvotes: 0

Views: 603

Answers (1)

jelmer
jelmer

Reputation: 2450

It looks like your network does not allow connections to most TCP/IP ports. Bazaar uses TCP/IP port (port 4155). On my network this works fine:

% bzr branch bzr://bzr.savannah.gnu.org/gsrc/trunk/ /tmp/gsrc
Branched 3509 revisions.       

Upvotes: 1

Related Questions