How to Install and Uninstall fs2ram Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: October 05,2024

1. Install "fs2ram" package

This tutorial shows how to install fs2ram on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install fs2ram

2. Uninstall "fs2ram" package

Please follow the instructions below to uninstall fs2ram on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove fs2ram $ sudo apt autoclean && sudo apt autoremove

3. Information about the fs2ram package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: fs2ram
Priority: optional
Section: universe/admin
Installed-Size: 142
Maintainer: Ubuntu Developers
Original-Maintainer: Philippe Le Brouster
Architecture: all
Version: 0.3.12
Depends: debconf (>= 0.5) | debconf-2.0, ucf
Filename: pool/universe/f/fs2ram/fs2ram_0.3.12_all.deb
Size: 16292
MD5sum: e20dde4858e87aa51bb1b28664f0c8d2
SHA1: 506b762ff2953c970e71e10644e81a5148bb5102
SHA256: ca2c696b26921f29f17b4c3aaf2841328bf2fd9c2c054e224443e81d50b504c3
Description-en: tools to preserve tmpfs contents across reboots
fs2ram manages temporary file systems across reboots. Each tmpfs mountpoint
can be associated with a pre-mount script, which is executed by fs2ram at
each shutdown/reboot before the file system is unmounted. The pre-unmount
script must print a post-mount script on standard output, which is saved and
then run at boot time after fs2ram mounts the corresponding file system.
.
This package provides two pre-unmount scripts designed to preserve folder
structure and file permissions across reboots: this is needed to allow
hierarchies such as /var/cache or /var/log to be mounted as tmpfs.
Description-md5: 2eac729f71b01e033d71ec6e0ee26955
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu