Clear APT data
Overview
This category contains privacy scripts for Linux.
These changes use Linux system commands to update your settings.
Advanced Package Tool (APT) is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, and Debian-based Linux distributions 1.
See also: "APT | Debian Wiki".
Be careful running these scripts. This category includes scripts with high impact:
- 🔴 Some not recommended scripts. They should only be used by advanced users. They may break important functionality.
- 🟢 Some safely recommended scripts. Safe-to use for any user.
Implementation Details
-
Language: bash
-
Scripts Count: 4 scripts
-
Required Privileges: Root/sudo access
-
Compatibility: Linux only
-
Reversibility: Some changes may be permanent
Apply now
These scripts are written using Bash (Shell script) scripting language.
Choose one of two ways to apply:
- Automatically via privacy.sexy: The easiest and safest option.
- Manually by downloading: Requires downloading a file.
Alternative 1. Apply with Privacy.sexy
privacy.sexy is free and open-source application that lets securely apply this action easily.
It allows selectively choose parts of this action to conduct. Additionally, you can apply only the recommended scripts, instead of applying all of the scripts.
privacy.sexy instructions
- Open or download the desktop application
- Search for the category name:
Clear APT data
. - Check the category by clicking on the checkbox of the category.
- Click on Run button at the bottom of the page.
Alternative 2. Download
You can choose to apply only scripts with less impact or also those with higher impact:
Consider restarting your computer for all changes to take affect.
Some actions conducted are irreversible, meaning there is no straightforward method to restore changes once applied. Either run only reversible scripts or exercise caution before running, restoring it may not be possible.
Recommended: Create a system backup before doing any changes.
Standard
This script includes only Standard recommendation level.
Standard scripts in this category is recommended for all users. They help to improve privacy without affecting stability.
Download only standard scripts by clicking on the button:
Restore these changes if you decide to revert them by downloading the restore script:
All
This script includes Standard, Strict recommendation levels along with unrecommended scripts.
This script should only be used by advanced users. Some of these changes are NOT recommended for daily use as it breaks important functionality. Do not run it without having backups and system snapshots.
Download all scripts:
Restore these changes if you decide to revert them by downloading the restore script:
Explore further
This category includes total of 4 scripts but no subcategories.
Explore its 4 scripts:
Clear obsolete APT packages
This script runs the "autoclean" command which removes package files that can no longer be downloaded, and are largely useless. This allows a cache to be maintained over a long period without it growing out of control.
Clear APT package file lists
This script removes package file lists. APT stores a copy of those files (in "/var/lib/apt/lists/") and searches are done within those local files to avoid going through the network for every search. An "apt-get update" will repopulate the necessary information and recreate the list file. The list files should be recreated as they get lost over time.
Clear orphaned APT package dependencies
This script runs the "autoremove" command, which removes packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed. This script also purges removed packages, which means that the configuration files of the removed packages are deleted too.
Clear cache for APT packages
This script runs the "clean" command. It clears out the local repository of retrieved package files, meaning that it deletes downloaded packages (".deb") already installed (and no longer needed). It clears the whole "/var/cache/apt/archives/" directory that contains a copy of each downloaded ".deb" file. It clears the cache but does not delete the lists.
Explore Categories
- Clear package manager data
- Privacy cleanup
This action belongs to Clear package manager data category. Package managers store caches, statistics, and logs that may reveal data on how you use the package managers and software downloaded from them, such as your choice of software. Read more on category page ▶
This action belongs to Privacy cleanup category. These scripts allow you to increase privacy by deleting collected data about you and your behavior. Read more on category page ▶
Support
This website relies on your support.
Your donation helps keep the project alive and improves its content ❤️.
Share this page: