How to Install and Uninstall dphys-swapfile Package on Kali Linux

Last updated: November 22,2024

1. Install "dphys-swapfile" package

In this section, we are going to explain the necessary steps to install dphys-swapfile on Kali Linux

$ sudo apt update $ sudo apt install dphys-swapfile

2. Uninstall "dphys-swapfile" package

Please follow the step by step instructions below to uninstall dphys-swapfile on Kali Linux:

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

3. Information about the dphys-swapfile package on Kali Linux

Package: dphys-swapfile
Version: 20100506-7.1
Installed-Size: 64
Maintainer: Axel Beckert
Architecture: all
Depends: dc, e2fsprogs, lsb-base (>= 3.0-6)
Pre-Depends: init-system-helpers (>= 1.54~)
Size: 19412
SHA256: 959fffe393110f756a082fd53a52fd2c8b34aece5c4048eeb52c7312acce4f45
SHA1: 4186d0d905848eddf8d9792fcd09332ffb8aed53
MD5sum: f17d0faac2464d9c15af856a197a177e
Description: 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.
.
It's also very helpful when included in SD card, USB stick or disk
images which are distributed and run on many machines with different
amount of RAM, e.g. different models of the Raspberry Pi or cloud
images.
Description-md5:
Homepage: http://neil.franklin.ch/Projects/dphys-swapfile/
Tag: implemented-in::shell, interface::commandline, role::program
Section: admin
Priority: optional
Filename: pool/main/d/dphys-swapfile/dphys-swapfile_20100506-7.1_all.deb