How to install BitDefender in Linux

Linux has long been known for its reputation as being the most secure and malware-free OS. Well, that could soon change, as I’ve found a virus in my Internet PC running Ubuntu-12.04 Desktop. These are its symptoms:

  1. The virus creates many link(.lnk) and system(.sys) files in the USB drives inserted. Inserting the USB drive triggers the virus which will spawn many link files.
  2. Any file or exe copied into the USB drive will be detected as malware by the anti-virus running in other Windows PC. So all the files in the USB drive are infected.
  3. What makes me feel sad is that this particular virus is infecting the other newly deployed Ubuntu machines. After formatting my system, the virus is re-appearing after only a week.

So I decided to clean and protect my PC from future threats by installing an Anti-virus software. I’ve used Avast, AVG, Nortan, and Avira in Windows.

Recently, I installed BitDefender Total Security 2015 on my laptop and found the guy I needed. BitDefender is the leader in anti-malware and PC security for the last three years. I always wanted to use the Beefy BitDefender. And with the help of my roommate Chethan, I finally purchased and installed it on my Windows Laptop and am impressed by its functionality + speed.

Now is the time to bring BD onto Linux. You can install BD from an Ubuntu repo. But I prefer to install it from a standalone package as I need not to rely on Internet for installation. Here are the steps:

  1. Obtain a BD Free scanner key from here.
  2. Download the BD installer. Make sure you download the right package. If you’re on a Debian based distro(Ubuntu, LinuxMint, KaliLinux, etc.) download the package. If you’re on a RedHat based distro(RHEL, CentOS, OracleLinux, etc.) download the package.
  3. Change the permissions of the downloaded script.
user@linux$ sudo chmod 755

5. Now run the script.

user@linux$ sudo ./

The End User License Agreement (EULA) is echoed in the terminal. After reading it, you need to keyboard “accept” and hit enter. That’s it. The script unpacks the binary and library files to /opt/BitDefender-scanner/ directory. And configures the software.

The /opt/BitDefender-scanner/bin/ directory has bdscan & bdgui binaries.
Run the following command with root privileges to open BD GUI,

user@linux$ sudo ./bdgui

Click on the Settings icon and provide your proxy settings if you’re behind a proxy server. After saving the settings, click the Update button. Depending on the Internet speed it takes 30 minutes to one hour to download the virus signatures.

Now you can scan your Linux PC. The GUI has a drawback as you’ve to specify the directory to scan and there’s no option to scan the full File System. Hence I use the CLI. The following command scans the entire File System.

user@linux$ sudo ./opt/BitDefender-scanner/bin/bdscan / --action=delete --viruslist --no-list --verbose

I’m telling the BD to scan from /(root node), delete any virus found, display virus list, do not list scanned files, and display debug info. Use the “–help” switch to know more options.
After the scan, the result would look like this.

Folders            : 0
Files              : 653197
Packed             : 4111
Archives           : 15475
Infected files     : 8
Suspect files      : 0
Identified viruses : 1
Deleted files      : 8
I/O errors         : 940
Files/second       : 407
Scan time          : 00:26:41

About Deepak Devanand

Seeker of knowledge
This entry was posted in Linux and tagged , , . Bookmark the permalink.

6 Responses to How to install BitDefender in Linux

  1. mm says:

    after installing bitdefender, i am getting the following error on running bdscan
    Error: core initialization failed: (null)
    pls help!!!


  2. 1. Make sure you’re running the bdscan as “sudo”
    2. Run “ps -aef | grep bitdefender” to see whether the antivirus engine has already engaged scanning something. If so, “kill -9” it.
    3. Try the bdgui, and initiate a scan on a folder. And see whether the same error comes.
    4. If you find anything spooky in /var/log while running bdscan, do paste it here.
    5. Do checkout the newer package at


    • mm says:

      hi deepak.

      thanks for the prompt reply.. i got it solved.. there is some problems with the newer version of bitdefender.. i installed the previous version and it worked fine..thanks again


  3. Nice to hear that. Could you please mention the exact package version that caused the problem?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s