It's UWAweek 47

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message. How do I ask a good question?

Displaying the 6 articles in this topic
Showing 6 of 503 articles.
Currently 46 other people reading this forum.


 UWA week 11 (1st semester, week 3) ↓
SVG not supported

Login to reply

👍?
helpful

I tried to download cnet for MacOS following the instruction but got the error "you do not have permission to write to the directory /usr/local/bin", please help me to fix it.



This article has 1 attachment:

 

SVG not supported

Login to reply

👍?
helpful

I'm a Windows user so please forgive my ignorance. Are you able to use sudo before ./install-cnet.sh? You might need superuser permissions to write to /usr/local/bin.


SVG not supported

Login to reply

👍x1
helpful

I just tried sudo ./install-cnet.sh but still get the same error


SVG not supported

Login to reply

👍x1
helpful

had the same problem on mac. For me the problem was that the /usr/local/bin or /usr/local/lib directory never existed, so you need to move to the /usr/local directory and create the missing directory via [sudo mkdir -p /usr/local/lib] or [sudo mkdir -p /usr/local/bin] then the install with [sudo] should go smoothly


SVG not supported

Login to reply

👍?
helpful

thank you it works for me now


SVG not supported

Login to reply

👍?
helpful

The solution to this is *not* to do everything as root (the administrator), and not to install cnet as root, as you may be locked out from using it. But some of the suggestions, above, are correct - thank you. From the shell/terminal, either on macOS or Linux:
shell>  sudo sh
(your password)
$> mkdir -p -m 755 /usr/local/bin/ /usr/local/lib
$> chown <your-account-name> /usr/local/bin/ /usr/local/lib
$> exit

(you're now back in your account)
shell> ./install-cnet.sh

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy