How To Install wordpress-civicrm on Ubuntu 18.04

In this tutorial we learn how to install wordpress-civicrm on Ubuntu 18.04. wordpress-civicrm is CiviCRM plugin for WordPress

Introduction

In this tutorial we learn how to install wordpress-civicrm on Ubuntu 18.04.

What is wordpress-civicrm

wordpress-civicrm is:

CiviCRM is web-based, Constituent Relationship Management (CRM) software geared toward meeting the needs of non-profit and other civic-sector organizations.

As a non profit committed to the public good itself, CiviCRM understands that forging and growing strong relationships with constituents is about more than collecting and tracking constituent data - it is about sustaining relationships with supporters over time.

With CiviCRM’s robust feature set, organizations can further their mission through contact management, fundraising, event management, member management, mass e-mail marketing, peer-to-peer campaigns, case management, and much more.

This package proviced CiviCRM plugin for WordPress.

There are three methods to install wordpress-civicrm on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install wordpress-civicrm Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install wordpress-civicrm using apt-get by running the following command:

sudo apt-get -y install wordpress-civicrm

Install wordpress-civicrm Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wordpress-civicrm using apt by running the following command:

sudo apt -y install wordpress-civicrm

Install wordpress-civicrm Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install wordpress-civicrm using aptitude by running the following command:

sudo aptitude -y install wordpress-civicrm

How To Uninstall wordpress-civicrm on Ubuntu 18.04

To uninstall only the wordpress-civicrm package we can use the following command:

sudo apt-get remove wordpress-civicrm

Uninstall wordpress-civicrm And Its Dependencies

To uninstall wordpress-civicrm and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove wordpress-civicrm

Remove wordpress-civicrm Configurations and Data

To remove wordpress-civicrm configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge wordpress-civicrm

Remove wordpress-civicrm configuration, data, and all of its dependencies

We can use the following command to remove wordpress-civicrm configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge wordpress-civicrm

References

Summary

In this tutorial we learn how to install wordpress-civicrm package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.