In this article we are going to learn the commands and steps to install swift package on Ubuntu 16.10.
Ads
Quick installation of swift:
Step 1: Update system:
sudo apt-get update
Step 2: Install: swift
Ater updaing the OS run following command to install the packae:
sudo apt-get install swift
Package Details | |
| Package: | swift |
| Version: | 2.10.0-0ubuntu1 |
| Maintainer: | Ubuntu Developers |
| Home page: | http://launchpad.net/swift |
| Description: | distributed virtual object store - common files OpenStack Object Storage (code-named Swift) is open source software for creating redundant, scalable object storage using clusters of standardized servers to store petabytes of accessible data. It is not a file system or real-time data storage system, but rather a long-term storage system for a more permanent type of static data that can be retrieved, leveraged, and then updated if necessary. Primary examples of data that best fit this type of storage model are virtual machine images, photo storage, email storage and backup archiving. Having no central "brain" or master point of control provides greater scalability, redundancy and permanence. . Objects are written to multiple hardware devices in the data center, with the OpenStack software responsible for ensuring data replication and integrity across the cluster. Storage clusters can scale horizontally by adding new nodes. Should a node fail, OpenStack works to replicate its content from other active nodes. Because OpenStack uses software logic to ensure data replication and distribution across different devices, inexpensive commodity hard drives and servers can be used in lieu of more expensive equipment. . This package provides some core binaries and clients to control swift. |
| Distro: | Ubuntu 16.10 |
| Release: | |
| Repo/Section: | universe/net |

First of all update your system with the command:
sudo apt-get update
Ads
Above command will download the package lists for Ubuntu 16.10 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 swift is not installed on your compter then the command 'dpkg -L swift' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L swift dpkg-query: package 'swift' 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 swift:
After system update use the following command to install swift:
sudo apt-get install swift
Above command will confirm before installing the package on your Ubuntu 16.10 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.
Now we will see the commands for uninstalling the swift from Ubuntu 16.10. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the swift following command is used:
sudo apt-get remove swift
Following command is used to remove the swift package along with its dependencies:
sudo apt-get remove --auto-remove swift
This will remove swift and all its dependent packages which is no longer needed in the system.
Completely removing swift with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge swift
or you can use following command also:
sudo apt-get purge --auto-remove swift
Above command will remove all the configuration files and data associated with swift package. You can can't recover the delete data, so, use this command with care.