How To Install drupal7-addressfield on CentOS 7

In this tutorial we learn how to install drupal7-addressfield on CentOS 7. drupal7-addressfield is Manage a flexible address field, implementing the xNAL standard

Introduction

In this tutorial we learn how to install drupal7-addressfield on CentOS 7.

What is drupal7-addressfield

Address Field defines a new field type to store international postal addresses, implementing a subset of the top-level address elements defined in the xNAL standard [1]. The field configuration lets you determine which elements of an address should be present in the field widget form and which ones should be rendered for display. This package provides the following Drupal module * addressfield [1] http

We can use yum or dnf to install drupal7-addressfield on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install drupal7-addressfield.

Install drupal7-addressfield on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install drupal7-addressfield using yum by running the following command:

sudo yum -y install drupal7-addressfield

Install drupal7-addressfield on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install drupal7-addressfield using dnf by running the following command:

sudo dnf -y install drupal7-addressfield

How To Uninstall drupal7-addressfield on CentOS 7

To uninstall only the drupal7-addressfield package we can use the following command:

sudo dnf remove drupal7-addressfield

References

Summary

In this tutorial we learn how to install drupal7-addressfield on CentOS 7 using yum and dnf.