Posts: 5
cueball
Joined: 30 Nov 2011
#1
Hello.

I'm trying to load an antivirus software on my system to scan windows usb sticks and whatnot.

Regardless of my reason, this is a great time for me to get more familiar with my new shiny OS.

With that, I'm trying to install Clam AntiVirus on this new debian box I have. And so I guess I'm trying to edit my source.list file?

But every time I try to edit it, it says that I"Can't Open File to Write" Which I assume means I don't have the rights to do this change to that file?

How do I edit my source.list file? Please talk to me like I'm a 2 year old, because in the Linux world, I am.


Thanks!
Posts: 609
dark-D
Joined: 02 Jun 2008
#2
open run, use the command:

Code: Select all

gksu leafpad /etc/apt/sources.list
then enter your root password.
leafpad will be opened as superuser, edit and save the file.
Posts: 5
cueball
Joined: 30 Nov 2011
#3
Thank you, that worked!