How To Install weex on Ubuntu 18.04

In this tutorial we learn how to install weex on Ubuntu 18.04. weex is Non-interactive FTP and FTPS client for updating web pages

Introduction

In this tutorial we learn how to install weex on Ubuntu 18.04.

What is weex

weex is:

Weex is an utility designed to automate the task of remotely maintaining a web page or other FTP archive. With weex, the maintainer of a web site or archive that must be administered through FTP interaction can largely ignore that process. FTP and FTPS protocols are supported. The archive administrator simply creates a local directory that serves as an exact model for the off-site data. All modifications and direct interaction is done locally to this directory structure. When the administrator wishes to coordinate the data on the remote site with that of the local model directory, simply executing weex accomplishes this in the most bandwidth-efficient fashion by only transferring files that need updating. The program will create or remove files or directories as necessary to accurately establish the local model on the remote server.

There are three methods to install weex 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 weex Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install weex

Install weex Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install weex using apt by running the following command:

sudo apt -y install weex

Install weex 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 weex using aptitude by running the following command:

sudo aptitude -y install weex

How To Uninstall weex on Ubuntu 18.04

To uninstall only the weex package we can use the following command:

sudo apt-get remove weex

Uninstall weex And Its Dependencies

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

sudo apt-get -y autoremove weex

Remove weex Configurations and Data

To remove weex configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge weex

Remove weex configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge weex

References

Summary

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