How To Install sitecopy on Ubuntu 18.04

In this tutorial we learn how to install sitecopy on Ubuntu 18.04. sitecopy is program for managing a WWW site via FTP, SFTP, DAV or HTTP

Introduction

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

What is sitecopy

sitecopy is:

Sitecopy is for copying locally stored websites to remote servers. With a single command, the program will synchronize a set of local files to a remote server by performing uploads and remote deletes as required. The aim is to remove the hassle of uploading and deleting individual files using an FTP client. Sitecopy will also optionally try to spot files you move locally, and move them remotely.

Sitecopy is designed to not care about what is actually on the remote server - it simply keeps a record of what it THINKS is in on the remote server, and works from that.

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

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

sudo apt-get update

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

sudo apt-get -y install sitecopy

Install sitecopy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sitecopy

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

sudo aptitude -y install sitecopy

How To Uninstall sitecopy on Ubuntu 18.04

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

sudo apt-get remove sitecopy

Uninstall sitecopy And Its Dependencies

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

sudo apt-get -y autoremove sitecopy

Remove sitecopy Configurations and Data

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

sudo apt-get -y purge sitecopy

Remove sitecopy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sitecopy

References

Summary

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