System Requirements
The BlackWeb update process requires:- Python: Version 3.x
- Bash: Version 5.x
- Operating System: Ubuntu 24.04 (recommended)
Required Packages
Install the following dependencies before running the update script:Package Descriptions
| Package | Purpose |
|---|---|
wget, curl | Download blocklist sources |
git | Clone repositories and download folders |
libnotify-bin | Desktop notifications (optional) |
perl | Text processing |
tar, rar, unrar, unzip, zip, gzip | Archive extraction |
python-is-python3 | Python 3 compatibility |
idn2 | Internationalized Domain Names (Punycode) |
iconv | Character encoding conversion |
Dependency Verification
Thebwupdate.sh script automatically checks for missing dependencies:
bwupdate/bwupdate.sh
Squid-Cache Installation
Ensure Squid-Cache is installed correctly before running the update process.
Installation Script
If you encounter any Squid-related issues, use this installation script:squid_install.sh
Running the Installation Script
- Save the script as
squid_install.sh - Make it executable:
- Run with sudo:
What This Script Does
Install Squid Packages
Installs
squid-openssl along with language packs, common utilities, client tools, and purge utilities.Create Log Directory
Sets up
/var/log/squid with proper log files: access.log, cache.log, store.log, and deny.log.Squid Package Options
You can choose between:squid-openssl: Squid with SSL/TLS support (recommended)squid: Standard Squid without SSL features
Verifying Installation
After installation, verify Squid is running:Next Steps
Run the Update Script
Now that dependencies are installed, learn how to execute the update process
