Originally Posted by mikebaiduu
Anyway, I attempted adding the gfortran repository from debian but when I keyed in the command:
I received the following feedback:
bash: /etc/apt/sources.list: Permission denied
This is not the way to add a repository.
is a plain file, not an executable program. You can see that using command ls -l /etc/apt/sources.list
You can also see its contents using cat
commands. You can edit it in any editor and add required repository manually, but remember that you need root privilages to write it.
Do you know what repository you need?
BTW - are you familiar with linux man
command? It can be very helpful.