Quote:
Originally Posted by mikebaiduu
Anyway, I attempted adding the gfortran repository from debian but when I keyed in the command:
/etc/apt/sources.list
I received the following feedback:
bash: /etc/apt/sources.list: Permission denied
|
Of course.
This is not the way to add a repository.
/etc/apt/sources.list 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 or
less 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.