How to Install and Uninstall python-sendfile Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 25,2024

1. Install "python-sendfile" package

Learn how to install python-sendfile on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-sendfile

2. Uninstall "python-sendfile" package

Here is a brief guide to show you how to uninstall python-sendfile on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-sendfile $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-sendfile package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-sendfile
Priority: optional
Section: universe/python
Installed-Size: 35
Maintainer: Ubuntu Developers
Original-Maintainer: Ghe Rivero
Architecture: amd64
Source: pysendfile
Version: 2.0.1-1build1
Depends: libc6 (>= 2.4), python (<< 2.8), python (>= 2.7~)
Filename: pool/universe/p/pysendfile/python-sendfile_2.0.1-1build1_amd64.deb
Size: 8340
MD5sum: 621b3610f0027daa1a6fce9678dedaa8
SHA1: b2c6998382b0d4890475d821d3178664741038f0
SHA256: 620d260086a7a77ccdc7c1626876afe662d509e26344b41cbbff8739cee68afe
Description-en: Python interface to sendfile(2)
Python library which provides a "zero-copy" way of copying data from one
file descriptor to another (a socket). The phrase "zero-copy" refers to
the fact that all of the copying of data between the two descriptors is
done entirely by the kernel, with no copying of data into userspace buffers.
This is particularly useful when sending a file over a socket (e.g. FTP).
Description-md5: 0f012b71dde3fdbf6ae5e06400bd325d
Homepage: https://github.com/giampaolo/pysendfile
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu