Installing clamav-base on Ubuntu 17.04 LTS

Example of installing clamav-base on Ubuntu 17.04 LTS using the command sudo apt-get install clamav-base.


 

Ads

Quick installation of clamav-base:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: clamav-base

Ater updaing the OS run following command to install the packae:

	sudo apt-get install clamav-base

Package Details

Package:clamav-base
Version:0.99.2+dfsg-2ubuntu2
Maintainer:Ubuntu Developers
Home page:https://www.clamav.net/
Description:anti-virus utility for Unix - base package Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon in the clamav-daemon package, a command-line scanner in the clamav package, and a tool for automatic updating via the Internet in the clamav-freshclam package. The programs are based on libclamav, which can be used by other software. . This package mainly manages the clamav system account. It is not really useful without the clamav or clamav-daemon package.
Distro:Ubuntu 17.04
Release:
Repo/Section:utils

How to install clamav-base on Ubuntu 17.04?

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 17.04 on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If clamav-base is not installed on your compter then the command 'dpkg -L clamav-base' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L clamav-base
dpkg-query: package 'clamav-base' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing clamav-base:

After system update use the following command to install clamav-base:

sudo apt-get install clamav-base

Above command will confirm before installing the package on your Ubuntu 17.04 Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove clamav-base from Ubuntu 17.04?

Now we will see the commands for uninstalling the clamav-base from Ubuntu 17.04. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the clamav-base following command is used:

sudo apt-get remove  clamav-base

Following command is used to remove the clamav-base package along with its dependencies:

sudo apt-get remove --auto-remove clamav-base

This will remove clamav-base and all its dependent packages which is no longer needed in the system.

Completely removing clamav-base with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge clamav-base

or you can use following command also:

sudo apt-get purge --auto-remove clamav-base

Above command will remove all the configuration files and data associated with clamav-base package. You can can't recover the delete data, so, use this command with care.