Use Avast on linux server

Hello,

  1. Is it possible to use avast on linux server without install it (just untar) ?

  2. Is it possible install/use avast on linux server without be root ?

  3. Where I can find document to use avast in command line ?

  4. If 1) and 2) are negative, how can I install avast on a linux server and how can unistal it.

I don’t want a mail scan or realtime scan, … I want only scan by command line.

Best regards
RG

yes, it is, why not - with chroot and LD_LIBRARY_PATH you can “install” nearly all applications without real installation :). All what’s needed is the configuration file avastengine.conf (in /etc globally, or in your home directory), the library libavastengine-4.so (set LD_LIBRARY_PATH to the directory where it lies), the 400.vps file (location specified in avastengine.conf as Avast4DataDir), and the binary itself (avastcmd - part of avast4server package, there’s also manpage, if you don’t like -h ;).

so yes, yes, yes… that’s all :).
regards,
pc

Hello,

Thanks for reply.

  1. Why do you mean by “install with chroot” ?

  2. So for LD_LIBRARY_PATH
    export LD_LIBRARY_PATH=/WAY/OF/MY/LIB/DIRECTORY/

  3. I have modified avastengine.conf
    But avast work only if I put avastengine.conf in /etc

Or you said “the configuration file avastengine.conf (in /etc globally, or in your home directory)”

I tried also in my home directory, in the directory where is avastcmd file

Have you an issue for this.

Also, how can I update the virus database with command line ?

  1. man chroot - faking the system root directory elsewhere, to fool the application.
  2. yes
  3. just put it in your home-directory: /home/zilog/.avastengine.conf in my case (bring to notice the leading dot)

regards,
pc

just get the 400.vps file, and “plug it in” using avastvpsreload. this task can be automated by avastvpsupdate.pl or avastvpsupdate.sh scripts, have a look at them.

regards,
pc