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

Last updated: December 25,2024

1. Install "python-daemon" package

Here is a brief guide to show you how to install python-daemon on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-daemon

2. Uninstall "python-daemon" package

Please follow the guidelines below to uninstall python-daemon on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-daemon
Priority: optional
Section: universe/python
Installed-Size: 98
Maintainer: Ubuntu Developers
Original-Maintainer: Ben Finney
Architecture: all
Version: 2.0.5-1
Depends: python-pkg-resources, python-lockfile (>= 1:0.9), python-docutils, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-daemon/python-daemon_2.0.5-1_all.deb
Size: 16784
MD5sum: 0762a53ab68ca89609383fd1e55be870
SHA1: 67e7f4b451b9597147fcb6dd540b6203c4e13f24
SHA256: d517ce7ba0fb3c776b86c341b20f319769f8afc5af852f75ff1b3819e2bed6a7
Description-en: library for making a Unix daemon process — Python 2
‘daemon’ is a library that assists a Python program to turn itself
into a well-behaved Unix daemon process, as specified in PEP 3143.
.
This library provides a ‘DaemonContext’ class that manages the
following important tasks for becoming a daemon process:
.
* Detach the process into its own process group.
* Set process environment appropriate for running inside a chroot.
* Renounce suid and sgid privileges.
* Close all open file descriptors.
* Change the working directory, uid, gid, and umask.
* Set appropriate signal handlers.
* Open new file descriptors for stdin, stdout, and stderr.
* Manage a specified PID lock file.
* Register cleanup functions for at-exit processing.
.
This package installs the library for Python 2.
Description-md5: 5204d278bdf97a0d42175b0921008dad
Homepage: http://pypi.python.org/pypi/python-daemon
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu