Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I downloaded the free-edition of F-Prot Anti-Virus for Linux. I am new to Linux and not following how to initiate the installation process. I have extracted the F-Prot files in a folder on my desktop.

There is one file with the name: install-f-prot.pl. It is a perl file.

It is giving below mentioned error when I try to run the above perl file:

Failed to create symbolic link /etc/f-prot.conf -> /home/rp/Desktop/f-prot/f-prot.conf: Permission denied

share|improve this question
    
yes it is a perl file. Just run as perl filename.pl or chmod it to be executable and run it. –  sagarchalise Apr 18 '11 at 7:33
2  
It is due to permission run as sudo perl filename.pl –  sagarchalise Apr 18 '11 at 7:57

1 Answer 1

up vote 4 down vote accepted

For the installation of non-free applications we prefer using the directory /opt/<nameofapp>/ rather than a directory on your desktop. Using specific paths makes system administration easy.

After having extracted/copied your installation files to /opt/f-prot/ f-prot will then be installed by the following commands (in a terminal):

cd /opt/f-prot/ # our path to installation files
sudo ./install-f-prot.pl # we need to be root

For security reasons it is advisable that all files are owned by root. This will make it hard if impossible for malware to gain access to these files:

sudo chown -R root:root /opt/f-prot

An open source alternative to F-Prot is ClamAV.

share|improve this answer
    
You can also shorten it to sudo chown -R root: /opt/f-prot –  0xC0000022L Feb 1 '13 at 17:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.