I am trying to install postgreSQL
I open terminal and type the
gedit /etc/apt/sources.list.d/pgdg.list
then in Gedit I enter this line
deb http://apt.postgresql.org/pub/repos/apt/ zesty-pgdg main
The when I try to save the file red colored text appears saying:
Could not save the file “/etc/apt/sources.list.d/pgdg.list”. you do not have the permission necessary to save the file. Please check that you typed the location correctly and try again
How do I solve this problem?