download or download using wget
wget https://github.com/gabriel-logan/clean-memory/raw/main/package/clean-memory.deb
then:
dpkg -i clean-memory.deb
now you can use the package in the terminal
clean_memory.sh
################################################################################
if you receive the following message when trying to install the package
root@debian:/home/logan/Desktop# dpkg -i clean-memory.deb
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
run the following command
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
and try to install the package again
dpkg -i clean-memory.deb
now you can use the package in the terminal
clean_memory.sh
You need to run as a super user