View Full Version : HOWTO: Install F-Prot with GTK frontend [OUTDATED]
Artificial Intelligence
April 10th, 2005, 04:55 AM
Q: Is viruses, trojans and malware a threat to a linux system as in Windows?
A: No, there's a very few viruses to linux and the way a Linux/unix is build up makes it difficult to do any serious damage to the system, in fact I've never heard from people who got their Linux/unix system infected.
Q: So why install a anti-virus application/program?
A: For an ordinary Linux Home user with only one OS system their's no need for Anti-virus, but people who's running network, server or dual booting with win OS this tool can be very handy to scan and delete viruses.
Q: I'm a home user only running Linux do I need it?
A: No, a firewall is way better as protection like firestarter.
First thing, setup your repositories. Here's how you do it: http://ubuntuguide.org/#extrarepositories
Next:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libwww-perl
sudo apt-get install libgtk2.0-dev
sudo apt-get install gcc
Grab F-prot here (http://www.f-prot.com/products/home_use/linux/) and pick the debian/gnu file. (4.6.1)
Download XFPROT-1.14 here (http://web.tiscali.it/sharp/xfprot/).
or use the .deb files click here (http://members.chello.be/sf15418/xfprot-1.13_1.13-1_i386.deb) (old 1.13 - I havn't tried it).
cd /where/you/saved/the/files/
sudo dpkg -i fp-linux-ws.deb
To compile (the non-.deb file) itself:
Extract xfprot-1.14.tar.gz (eg. right click it and choose extract)
cd xfprot-1.14
./configure --with-gtk2 --with-sudo --autodetect --without-debug
make
sudo make install
Using the .deb file:
cd /where/you/saved/the/.deb/file
sudo dpkg -i xfprot-1.13_1.13-1_i386.deb
Open Menu-Editor:
Name: F-Prot
Comment: Protection Application (or what ever you prefer)
Command: xfprot
Icon: /usr/local/xfprot/icons/antivirus-48x48.png
Category: System Tools
To Uninstall the compiled xf-prot:
cd xfprot-X.XX
./make uninstall
Jad
April 10th, 2005, 05:26 AM
Thank you
Artificial Intelligence
April 23rd, 2005, 04:58 PM
New version of XFProt is avaible (v. 1.11). Updated the Howto.
.:=The AI Dude=:.
Yukonjack
April 24th, 2005, 10:45 AM
Thank you Artificial Intelligence :wink:
Spudgun
April 24th, 2005, 01:28 PM
Thanks :)
george29
April 27th, 2005, 03:02 AM
thanks for that little tutorial. very easy to follow.
cheers
george
Ezzet
April 27th, 2005, 03:02 AM
Thank you!
Svenn
May 3rd, 2005, 07:51 PM
A.I. you rock !! \\:D/
Thanks again
~Svenn
Benni
May 5th, 2005, 07:07 PM
Nice and easy guide, even to newbies like me ;)
Looks nice and works like hell.
But how is it with uninstalling F-Prot again?
I just ask, cause i'm sitting here with an Bit Defender linux install, which is a kind of miracle for me now, since there are no files where they're supposed to be.
Seems like i have done a little magic there during my first linux-steps :oops:
And now i have no idea how to remove it fully (sorry for that bit of offtopic...could be handled with pm's)
Artificial Intelligence
May 10th, 2005, 03:14 AM
When I want to remove something which aren't installed as packages I simply find the files/folders and sudo rm -r <folder>, but I'm sure there's an easier way to do it. If you know the structure(s) of linux there will be no problem to find where the file(s) is installed.
The .deb file can be uninstalled via the package management.
.:=The AI Dude=:.
pseudonym
May 28th, 2005, 11:53 AM
Great tip! I used to run f-prot from the command line but this is much sweeter :)
I noticed that the 'f-prot-installer' package has disappeared out of the repositories, along with a lot of other good ones (like liblame0, which I want to rip some mp3s with Sound Juicer). Any idea why? Is this something to do with this 'libc6 transition' I've been hearing about?
foxy123
May 29th, 2005, 12:44 PM
I have installed f-prot before using f-prot-installer in synaptic. It out it in /usr/lib
The problem is that xfprot is looking for f-prot in /usr/local. Any way to point it to /usr/lib?
mglukhovsky
June 5th, 2005, 11:40 PM
To get xfprot to look for f-prot in the right directory, create a symbolic link between the two directories. Issue the following in a terminal:
$ sudo ln -s /usr/lib/f-prot /usr/local/f-prot
Cheers!
Artificial Intelligence
July 10th, 2005, 05:27 AM
Updated: The xfprot package have changed, so instead of 'cd /xfprot/xfprot-1.11' it's now 'cd xfprot-1.11'.
.:=The AI Dude=:.
Artificial Intelligence
July 22nd, 2005, 07:05 AM
New version of XF-prot is out (1.12). Updated the Howto to fit it.
Artificial Intelligence
July 27th, 2005, 11:04 AM
New version of XF-Prot (v1.13)
Updated the Howto and change the install proceedior so the 'Update' button now works.
Artificial Intelligence
August 16th, 2005, 04:27 PM
F-prot version 4.6 is now avaible
matthew
August 16th, 2005, 05:24 PM
Thanks.
A-star
August 17th, 2005, 04:14 AM
I made a deb file for xfprot available here:
http://members.chello.be/sf15418/xfprot-1.13_1.13-1_i386.deb
Artificial Intelligence
August 17th, 2005, 06:52 AM
Okay I'll add the deb file into the HOWTO, then people can choose which way to go.
Artificial Intelligence
September 6th, 2005, 11:41 AM
New version of F-prot is availble (4.6.1)
The howto is updated.
John.Michael.Kane
September 6th, 2005, 03:52 PM
Ran F-prot after following this guide and it came back with eicar.txt as an infected file under xfprot-1.13 just wanted you to know. i dont know if it's a test file used to check that fprot is working or not.
Artificial Intelligence
September 6th, 2005, 04:03 PM
It's a test file to check if everything is running as it should.
John.Michael.Kane
September 6th, 2005, 05:23 PM
Thanks A.I
Name
September 23rd, 2005, 04:54 PM
I cant get it to work. The installation looks like it worked. The files are in usr/local/ but when I try to run it I get nothing. Im not sure whats going on.
Artificial Intelligence
September 24th, 2005, 05:27 AM
Try run it in the terminal and post the outcome. Did you configure or used the .deb file? Please post the configure output from the terminal if you compiled it.
Artificial Intelligence
September 24th, 2005, 05:33 AM
Updated the Howto. xf-prot version 1.14 is now avaible.
Danielle
December 7th, 2005, 07:37 AM
thanks for the tutorial, AI. i love f-prot. can someone show me how to scan all files?
is it this?:
/
thanks.
5-HT
December 7th, 2005, 02:44 PM
thanks for the tutorial, AI. i love f-prot. can someone show me how to scan all files?
is it this?:
/
thanks.
Hi, yup that would scan the root directory which should include all files.
As an aside, what I also like to do is add the list option so that I get a running output of which files are being scanned.
So for example: f-prot -list /
HTH.
Also, thanks A.I. for creating this thread.
Danielle
December 9th, 2005, 08:30 PM
Hi, yup that would scan the root directory which should include all files.
As an aside, what I also like to do is add the list option so that I get a running output of which files are being scanned.
So for example: f-prot -list /
HTH.
thanks, 5-HT. i'll try that. i've run it once and the only output i saw were the the locked directories and that was it! there wasn't any final report for the scan's stats :confused:
5-HT
December 9th, 2005, 08:49 PM
hmm... now that you mention access problems I do see a few files that f-prot cannot scan under normal user privilages.
I thought read access to every file under / was available, but I guess in my ignorance f-prot needs more than that to scan.
In that case, if you want to scan every single file, I'd say escalating to more limited privilages via sudo would be best such as
sudo f-prot -list /
That will get rid of the locked directories, but I'm a little worried about that fact that you never got a scan summary at the end. F-prot always let me know how many files and objects it scanned along with the date of its virus definitions and any viruses it found.
Danielle
December 9th, 2005, 10:54 PM
hmm... now that you mention access problems I do see a few files that f-prot cannot scan under normal user privilages.
I thought read access to every file under / was available, but I guess in my ignorance f-prot needs more than that to scan.
In that case, if you want to scan every single file, I'd say escalating to more limited privilages via sudo would be best such as
sudo f-prot -list /
That will get rid of the locked directories, but I'm a little worried about that fact that you never got a scan summary at the end. F-prot always let me know how many files and objects it scanned along with the date of its virus definitions and any viruses it found.
hi, 5-HT. i booted into XP for the first time since installing Ubuntu so i could update my av and a few other things incase i need to use XP at some point. so i can only guess i didn't use sudo, but i'm sure i didn't. also, i'm not sure which command i used for the scan to get no summary, however, i'm sure if i run...
sudo f-prot -list /
...things will be fine. i'll try it out tomorrow. thanks for the help O:)
5-HT
December 13th, 2005, 01:30 PM
...things will be fine. i'll try it out tomorrow. thanks for the help O:)
No worries, hope that solves it.
Just wondering if you've got everything working the way you'd like it to?
Danielle
December 18th, 2005, 11:56 PM
No worries, hope that solves it.
Just wondering if you've got everything working the way you'd like it to?
yes, i have. thanks for the help. O:)
bernat_f
January 30th, 2007, 08:46 AM
hi,
I'm trying to install it but everytime I end with the following error can anyone say me what could I do?
bernat@ubuntu:~/Desktop$ sudo dpkg -i fp-linux-ws.deb
(Reading database ... 138305 files and directories currently installed.)
Preparing to replace fp-linux-ws 4.6.7 (using fp-linux-ws.deb) ...
Unpacking replacement fp-linux-ws ...
Setting up fp-linux-ws (4.6.7) ...
ln: creating symbolic link `/etc/f-prot.conf' to `/usr/local/f-prot/etc/f-prot.conf.default': File exists
dpkg: error processing fp-linux-ws (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
fp-linux-ws
bernat_f
January 30th, 2007, 09:13 AM
solved, I have removed and reinstalled my libraries and now it works, but my problem now is with the configuration. Which options I have to use?, optinon gtk2, don't works.
bernat@ubuntu:~/Desktop/xfprot-1.18$ ./configure --with-gtk2 --with-sudo --autodetect --without-debug
configure: invalid option --with-gtk2
bernat@ubuntu:~/Desktop/xfprot-1.18$ sudo ./configure --with-sudo --autodetect --without-debug
/bin/bash
Checking for bash.....OK
Writing default values to config.h
Setting install and binaries directory prefix to : /usr/local
You can override this with: --with-install-dir=/somedir
Setting xfprot binary directory to: /usr/local/xfprot
Using default value: 'sudo'
Autodetecting f-prot's install directory....please be patient
found: /usr/local/f-prot
Setting xfprot private directory to: ~.xfprot
Running Linux Kernel: 2.6
Checking for konsole.....OK
./configure: 447: gtk-config: not found
test: 447: ==: unexpected operator
/usr/bin/pkg-config
test: 447: ==: unexpected operator
test: 447: ==: unexpected operator
test: 447: ==: unexpected operator
test: 447: ==: unexpected operator
test: 447: ==: unexpected operator
test: 447: ==: unexpected operator
test: 447: ==: unexpected operator
You have to install the Gtk+ development (and runtime?) libraries version 2.4.x or superior.
bernat_f
January 30th, 2007, 09:37 AM
Solved I used =
“sudo apt-get install libgtk-dev”
to install the libgtk-dev package
and
nano configure
replace #!/bin/sh with #!/bin/bash
to edit the first line of the configure file
bernat_f
January 30th, 2007, 03:25 PM
Sorry, but I get a new error while I'm doing the compilation, after using the instruction 'make' the compurter freezes, without reaction to mouse or keyboard, I have copied in another computer what appeared on the screen before it stops working. What should I do now?
bernat@ubuntu:/Desktop/xfprot-1.18$ sudo make
CC-DIS_LINUX –DGTK_2_10 –DNDEBUG –03 –pipe –fomit-frame-pointer –fno-builtin std=gnu99 –include i18n/en_GB.h –include mylib.h –include mygtk.h –include config.h –I/usr/include/gtk-2.0 –I/usr/lib/gtk-2.0/include –I/usr/include/atk-1.0 –I/usr/include/cairo –I/usr/include/pango-1.0 –I/usr/include/glib-2.0 –I/usr/lib/glib-2.0/include –DG_DISABLE_DEPRECATED –DGDK_DISABLE_DEPRECATED –DGDK_PIXBUF_DISABLE_DEPRECATED –DGTK_DISABLE_DEPRECATED DLmsg –DL_err_msg –DL_xsnprintf –DL_xcalloc –DL_xalloc_die –DL_xmake_message –DL_xmalloc –DL_xpclose_nostdin –DL_xfclose_nostdin –DL_xgetcwd –DL_xopen –DL_xopen_die –DL_trim –DL_get_line_from_line –DL_xconcat_path_file –DL_xrealloc –DL_xstrncat –DL_xchmod –DL_xchown –DL_xchdir –DL_xputs –DL_xmkdir –DL_last_char_is –DL_xstrdup –DL_xfgetc_nbuf –DL_xfree –DL_xstrlen –c –o mylib.o o mylib.c
CC –DIS_LINUX –DGTK_2_10 –DNDEBUG –03 –pipe –fomit-frame-pointer –fno-builtin –std=gnu99 –include il8n/en_GB.h –include mylib.h –include mygtk.h –include config.h lgtk-x11-2.0 –lgdk-x11-2.0 –latk-1.0 –lgdk pixbuf-2.0 –lm –lpangocairo-1.0 –lfontconfig –lXext –lXrender –lXinerama –lXi –lXrandr –lXcursor –lXfixes –lpango-1.0 –lcairo –lX11 –lgobject-2.0 –lgmodule-2.0 –ldl –lglib-2.0 –lgtk-x11-2.0 –lgdk-x11-2.0 –latk-1.0 –lgdk_pixbuf-2.0 –lm –lpangocairo-1.0 –lfontconfig –lXext –lXrender –lXinerama –lXi –lXrandr –lXcursor –lXfixes –lpango-1.0 –lcairo –lX11 –lgobject-2.0 –lgmodule-2.0 –ldl –lglib-2.0 –o xfprot-gtk xfprot-gtk.o TextViewWindow.o TextEditWindow.o AboutWindow.o TextCommon.o DialogWindow.o FileSelector.o mygtk.o mylib.o
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.