How to Install and Uninstall dphys-swapfile Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "dphys-swapfile" package

Please follow the steps below to install dphys-swapfile on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install dphys-swapfile

2. Uninstall "dphys-swapfile" package

Learn how to uninstall dphys-swapfile on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove dphys-swapfile $ sudo apt autoclean && sudo apt autoremove

3. Information about the dphys-swapfile package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: dphys-swapfile
Priority: optional
Section: universe/admin
Installed-Size: 83
Maintainer: Ubuntu Developers
Original-Maintainer: Axel Beckert
Architecture: all
Version: 20100506-1
Depends: dc
Filename: pool/universe/d/dphys-swapfile/dphys-swapfile_20100506-1_all.deb
Size: 13156
MD5sum: 566c5afad02ff25f867f86dee98b74b2
SHA1: 06a918e2f23b1a766fbdffb051c8d6fa0937979c
SHA256: 25b560db2eeb5120bf7d9f91e9983b93254a02a9b0413fc5560808dcf1e749b7
Description-en: Autogenerate and use a swap file
This init.d script exists so one does not need to have a fixed size
swap partition. Instead install without swap partition and then run this,
with file size (re-)computed automatically to fit the current RAM size.
.
By default (and hence on installation) it creates swapfile twice as
big as the present RAM amount with an upper limit of 2 GB.
Description-md5: 1ad26c0febc696ba4c34a310f9dca3f6
Homepage: http://neil.franklin.ch/Projects/dphys-swapfile/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu