@fredlackey/devutils 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,650 @@
|
|
|
1
|
+
# Installing Brave Browser
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Brave is a free, open-source web browser developed by Brave Software, Inc. Built on the Chromium web browser engine, Brave focuses on privacy and speed by blocking ads and website trackers by default. Key features include built-in ad blocking, HTTPS Everywhere integration, fingerprinting protection, and the optional Brave Rewards program that allows users to earn cryptocurrency (BAT) for viewing privacy-respecting ads. Brave offers significant performance improvements over traditional browsers by eliminating tracking scripts and advertisements, resulting in faster page loads and reduced data usage.
|
|
6
|
+
|
|
7
|
+
**Important**: Brave Browser is a desktop GUI application that requires a graphical display environment. It cannot be installed in headless server environments, WSL without WSLg, or Git Bash (which lacks native GUI capabilities).
|
|
8
|
+
|
|
9
|
+
## Dependencies
|
|
10
|
+
|
|
11
|
+
### macOS (Homebrew)
|
|
12
|
+
- **Required:**
|
|
13
|
+
- `Homebrew` - Install via `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` or run `dev install homebrew`
|
|
14
|
+
- **Optional:** None
|
|
15
|
+
- **Auto-installed:** None (Homebrew cask handles Brave installation directly)
|
|
16
|
+
|
|
17
|
+
### Ubuntu/Debian (APT)
|
|
18
|
+
- **Required:**
|
|
19
|
+
- `curl` - Install via `sudo apt-get install -y curl`
|
|
20
|
+
- `sudo` privileges - Required for repository and package installation
|
|
21
|
+
- **Optional:** None
|
|
22
|
+
- **Auto-installed:**
|
|
23
|
+
- Brave repository GPG keyring and sources file
|
|
24
|
+
- Browser dependencies (graphics, fonts, audio libraries) - Automatically resolved by APT
|
|
25
|
+
|
|
26
|
+
### Amazon Linux/RHEL/Fedora (DNF)
|
|
27
|
+
- **Required:**
|
|
28
|
+
- `dnf` - Pre-installed on Amazon Linux 2023, RHEL 8+, and Fedora
|
|
29
|
+
- `dnf-plugins-core` - Install via `sudo dnf install -y dnf-plugins-core`
|
|
30
|
+
- `sudo` privileges - Required for repository and package installation
|
|
31
|
+
- **Optional:** None
|
|
32
|
+
- **Auto-installed:**
|
|
33
|
+
- Brave repository configuration
|
|
34
|
+
- Browser dependencies (graphics, fonts, audio libraries) - Automatically resolved by DNF
|
|
35
|
+
|
|
36
|
+
### Windows (Chocolatey)
|
|
37
|
+
- **Required:**
|
|
38
|
+
- `Chocolatey` - Install via PowerShell: `Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))`
|
|
39
|
+
- Administrator privileges - Required for system-wide installation
|
|
40
|
+
- **Optional:** None
|
|
41
|
+
- **Auto-installed:** None (Brave installer handles all dependencies)
|
|
42
|
+
|
|
43
|
+
## Prerequisites
|
|
44
|
+
|
|
45
|
+
Before installing Brave Browser on any platform, ensure:
|
|
46
|
+
|
|
47
|
+
1. **Internet connectivity** - Required to download the browser package and repository keys
|
|
48
|
+
2. **Administrative privileges** - Required on all platforms for system-wide installation
|
|
49
|
+
3. **Sufficient disk space** - Brave requires approximately 500 MB of disk space
|
|
50
|
+
4. **64-bit operating system** - Brave supports both x86_64 and ARM64 architectures on supported platforms
|
|
51
|
+
5. **Desktop environment** - A graphical display is required (X11 or Wayland on Linux, standard desktop on macOS/Windows)
|
|
52
|
+
|
|
53
|
+
## Platform-Specific Installation
|
|
54
|
+
|
|
55
|
+
### macOS (Homebrew)
|
|
56
|
+
|
|
57
|
+
#### Prerequisites
|
|
58
|
+
|
|
59
|
+
- macOS 12 (Monterey) or later
|
|
60
|
+
- Homebrew package manager installed
|
|
61
|
+
- Terminal access
|
|
62
|
+
|
|
63
|
+
If Homebrew is not installed, install it first:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
#### Installation Steps
|
|
70
|
+
|
|
71
|
+
Run the following command to install Brave Browser:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
brew install --cask --quiet brave-browser
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
The `--cask` flag specifies a graphical application (as opposed to a command-line tool), and `--quiet` suppresses non-essential output, making the command suitable for automation scripts.
|
|
78
|
+
|
|
79
|
+
After installation, Brave will be available in the Applications folder. Launch it from the command line:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
open -a "Brave Browser"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
#### Verification
|
|
86
|
+
|
|
87
|
+
Confirm the installation succeeded:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
ls /Applications/Brave\ Browser.app && echo "Brave Browser installed successfully"
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Verify the installed version:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
/Applications/Brave\ Browser.app/Contents/MacOS/Brave\ Browser --version
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Expected output (version numbers may vary):
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
Brave 1.86.139 Chromium: 128.0.6613.137
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
#### Troubleshooting
|
|
106
|
+
|
|
107
|
+
**Problem**: `brew: command not found`
|
|
108
|
+
|
|
109
|
+
**Solution**: Homebrew is not in your PATH. Add it:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
For a permanent fix, add the above line to your `~/.zshrc` or `~/.bash_profile`.
|
|
116
|
+
|
|
117
|
+
**Problem**: Brave fails to open after installation
|
|
118
|
+
|
|
119
|
+
**Solution**: macOS Gatekeeper may block the application. Allow it by going to System Preferences > Security & Privacy > General, and click "Open Anyway" next to the Brave message. Alternatively, remove the quarantine attribute:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
xattr -cr /Applications/Brave\ Browser.app
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**Problem**: Installation fails with "Cask 'brave-browser' is already installed"
|
|
126
|
+
|
|
127
|
+
**Solution**: Reinstall the cask:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
brew reinstall --cask brave-browser
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### Ubuntu/Debian (APT)
|
|
136
|
+
|
|
137
|
+
#### Prerequisites
|
|
138
|
+
|
|
139
|
+
- Ubuntu 18.04 or later, or Debian 10 or later
|
|
140
|
+
- Both x86_64 (amd64) and ARM64 (aarch64) architectures are supported
|
|
141
|
+
- sudo privileges
|
|
142
|
+
- curl installed
|
|
143
|
+
|
|
144
|
+
**Important**: Brave Browser is not available in the default Ubuntu/Debian repositories. Use Brave's official repository for installation and automatic updates.
|
|
145
|
+
|
|
146
|
+
#### Installation Steps
|
|
147
|
+
|
|
148
|
+
**Step 1: Install curl (if not already installed)**
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
|
|
152
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y curl
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Step 2: Download and install the Brave GPG keyring**
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
**Step 3: Add the Brave repository sources file**
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
sudo curl -fsSLo /etc/apt/sources.list.d/brave-browser-release.sources https://brave-browser-apt-release.s3.brave.com/brave-browser.sources
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**Step 4: Update package lists and install Brave**
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
|
|
171
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y brave-browser
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
The `DEBIAN_FRONTEND=noninteractive` environment variable ensures the installation proceeds without prompts, making it suitable for automation scripts.
|
|
175
|
+
|
|
176
|
+
**Alternative: One-Line Install Script**
|
|
177
|
+
|
|
178
|
+
Brave provides an official installation script that handles all steps automatically:
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
curl -fsS https://dl.brave.com/install.sh | sh
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**Note**: The one-line script may prompt for sudo password if not running as root. For fully automated deployments, use the step-by-step method above.
|
|
185
|
+
|
|
186
|
+
#### Verification
|
|
187
|
+
|
|
188
|
+
Confirm the installation succeeded:
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
brave-browser --version
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Expected output (version numbers may vary):
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
Brave 1.86.139 Chromium: 128.0.6613.137
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Launch Brave:
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
brave-browser &
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
#### Troubleshooting
|
|
207
|
+
|
|
208
|
+
**Problem**: `E: Unable to locate package brave-browser`
|
|
209
|
+
|
|
210
|
+
**Solution**: The repository was not added correctly. Verify the configuration file exists:
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
cat /etc/apt/sources.list.d/brave-browser-release.sources
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
If the file is empty or missing, repeat the installation steps.
|
|
217
|
+
|
|
218
|
+
**Problem**: GPG key error during apt-get update
|
|
219
|
+
|
|
220
|
+
**Solution**: Re-download the GPG keyring:
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Problem**: Brave fails to start with "running as root without --no-sandbox"
|
|
227
|
+
|
|
228
|
+
**Solution**: Brave cannot run as the root user without disabling the sandbox. Create a regular user account and run Brave from there, or add the `--no-sandbox` flag (not recommended for security reasons):
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
brave-browser --no-sandbox
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
**Problem**: Missing dependencies error
|
|
235
|
+
|
|
236
|
+
**Solution**: Install the missing dependencies:
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -f
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
**Problem**: Wrong architecture installed (ARM vs x86)
|
|
243
|
+
|
|
244
|
+
**Solution**: The repository sources file automatically selects the correct architecture. If you manually configured the repository, ensure the architecture matches your system:
|
|
245
|
+
|
|
246
|
+
```bash
|
|
247
|
+
# Check your architecture
|
|
248
|
+
dpkg --print-architecture
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
### Amazon Linux/RHEL/Fedora (DNF)
|
|
254
|
+
|
|
255
|
+
#### Prerequisites
|
|
256
|
+
|
|
257
|
+
- Amazon Linux 2023, RHEL 8+, Fedora 37+, Rocky Linux, or AlmaLinux
|
|
258
|
+
- x86_64 or ARM64 architecture
|
|
259
|
+
- sudo privileges
|
|
260
|
+
- Desktop environment installed (GNOME, KDE, etc.)
|
|
261
|
+
|
|
262
|
+
**Important**: Amazon Linux and RHEL are typically used for server workloads. Installing Brave Browser requires a desktop environment with graphical capabilities. This is uncommon on cloud instances but applicable to workstation configurations.
|
|
263
|
+
|
|
264
|
+
#### Installation Steps
|
|
265
|
+
|
|
266
|
+
**For Fedora 41 and later (uses dnf5 syntax):**
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
sudo dnf install -y dnf-plugins-core
|
|
270
|
+
sudo dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
|
271
|
+
sudo dnf install -y brave-browser
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
**For Amazon Linux 2023, RHEL 8+, Fedora 40 and earlier, Rocky Linux, AlmaLinux:**
|
|
275
|
+
|
|
276
|
+
```bash
|
|
277
|
+
sudo dnf install -y dnf-plugins-core
|
|
278
|
+
sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
|
279
|
+
sudo dnf install -y brave-browser
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
**For Amazon Linux 2 (legacy, uses YUM):**
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
|
|
286
|
+
sudo curl -fsSLo /etc/yum.repos.d/brave-browser.repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
|
287
|
+
sudo yum install -y brave-browser
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
**Note**: Amazon Linux 2 reached end of standard support on June 30, 2025. Migrate to Amazon Linux 2023 for continued support.
|
|
291
|
+
|
|
292
|
+
The `-y` flag automatically confirms all prompts, enabling fully non-interactive installation.
|
|
293
|
+
|
|
294
|
+
#### Verification
|
|
295
|
+
|
|
296
|
+
Confirm the installation succeeded:
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
brave-browser --version
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
Expected output (version numbers may vary):
|
|
303
|
+
|
|
304
|
+
```
|
|
305
|
+
Brave 1.86.139 Chromium: 128.0.6613.137
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
Launch Brave:
|
|
309
|
+
|
|
310
|
+
```bash
|
|
311
|
+
brave-browser &
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
#### Troubleshooting
|
|
315
|
+
|
|
316
|
+
**Problem**: `Unknown argument '--add-repo' for command 'config-manager'`
|
|
317
|
+
|
|
318
|
+
**Solution**: You are running Fedora 41 or later with dnf5. Use the new syntax:
|
|
319
|
+
|
|
320
|
+
```bash
|
|
321
|
+
sudo dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
**Problem**: Repository GPG key not trusted
|
|
325
|
+
|
|
326
|
+
**Solution**: Import the Brave GPG key manually:
|
|
327
|
+
|
|
328
|
+
```bash
|
|
329
|
+
sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
**Problem**: Missing dependencies when installing
|
|
333
|
+
|
|
334
|
+
**Solution**: Install common dependencies first:
|
|
335
|
+
|
|
336
|
+
```bash
|
|
337
|
+
sudo dnf install -y libXcomposite libXdamage libXrandr libgbm libxkbcommon pango alsa-lib atk at-spi2-atk cups-libs libdrm mesa-libgbm
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
Then retry the Brave installation.
|
|
341
|
+
|
|
342
|
+
**Problem**: Brave crashes with sandbox errors
|
|
343
|
+
|
|
344
|
+
**Solution**: On server environments or containers, the sandbox may have issues. For headless/automated use, disable the sandbox (use only in trusted environments):
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
brave-browser --no-sandbox --headless
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
**Problem**: Brave fails to run on Graviton (ARM) instances
|
|
351
|
+
|
|
352
|
+
**Solution**: Brave provides ARM64 builds for Linux. Ensure you have a desktop environment installed:
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
sudo dnf groupinstall -y "Server with GUI"
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
### Windows (Chocolatey)
|
|
361
|
+
|
|
362
|
+
#### Prerequisites
|
|
363
|
+
|
|
364
|
+
- Windows 10 version 1809 or later, or Windows 11
|
|
365
|
+
- Administrator PowerShell or Command Prompt
|
|
366
|
+
- Chocolatey package manager installed
|
|
367
|
+
|
|
368
|
+
**Installing Chocolatey** (if not already installed):
|
|
369
|
+
|
|
370
|
+
Run this command in an Administrator PowerShell:
|
|
371
|
+
|
|
372
|
+
```powershell
|
|
373
|
+
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
#### Installation Steps
|
|
377
|
+
|
|
378
|
+
Run the following command in an Administrator PowerShell or Command Prompt:
|
|
379
|
+
|
|
380
|
+
```powershell
|
|
381
|
+
choco install brave -y
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
The `-y` flag automatically confirms all prompts, enabling fully non-interactive installation.
|
|
385
|
+
|
|
386
|
+
**Alternative: Using winget**
|
|
387
|
+
|
|
388
|
+
If you prefer winget (included in Windows 10 2004+ and Windows 11):
|
|
389
|
+
|
|
390
|
+
```powershell
|
|
391
|
+
winget install --id Brave.Brave --silent --accept-package-agreements --accept-source-agreements
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
The `--silent` flag suppresses the installer UI, and the `--accept-*` flags prevent license agreement prompts.
|
|
395
|
+
|
|
396
|
+
**Alternative: Silent EXE Installation**
|
|
397
|
+
|
|
398
|
+
For direct silent installation without a package manager:
|
|
399
|
+
|
|
400
|
+
```powershell
|
|
401
|
+
# Download the installer
|
|
402
|
+
Invoke-WebRequest -Uri "https://brave-browser-downloads.s3.brave.com/latest/brave_installer-x64.exe" -OutFile "$env:TEMP\brave_installer-x64.exe"
|
|
403
|
+
|
|
404
|
+
# Run silent installation
|
|
405
|
+
Start-Process -FilePath "$env:TEMP\brave_installer-x64.exe" -ArgumentList "--install --silent --system-level" -Wait
|
|
406
|
+
|
|
407
|
+
# Clean up
|
|
408
|
+
Remove-Item "$env:TEMP\brave_installer-x64.exe"
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
The `--system-level` flag installs Brave for all users in `Program Files` instead of the current user's `AppData` folder.
|
|
412
|
+
|
|
413
|
+
#### Verification
|
|
414
|
+
|
|
415
|
+
Open a new Command Prompt or PowerShell window (required for PATH updates), then run:
|
|
416
|
+
|
|
417
|
+
```powershell
|
|
418
|
+
& "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --version
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
Expected output (version numbers may vary):
|
|
422
|
+
|
|
423
|
+
```
|
|
424
|
+
Brave 1.86.139 Chromium: 128.0.6613.137
|
|
425
|
+
```
|
|
426
|
+
|
|
427
|
+
#### Troubleshooting
|
|
428
|
+
|
|
429
|
+
**Problem**: `choco: The term 'choco' is not recognized`
|
|
430
|
+
|
|
431
|
+
**Solution**: Close all terminal windows and open a new Administrator PowerShell. Chocolatey should be available after a fresh terminal session.
|
|
432
|
+
|
|
433
|
+
**Problem**: Installation fails with access denied
|
|
434
|
+
|
|
435
|
+
**Solution**: Ensure you are running PowerShell or Command Prompt as Administrator. Right-click the application and select "Run as administrator".
|
|
436
|
+
|
|
437
|
+
**Problem**: Brave installs to AppData instead of Program Files
|
|
438
|
+
|
|
439
|
+
**Solution**: By default, Chocolatey installs Brave to `%LOCALAPPDATA%\BraveSoftware`. For system-wide installation, use the EXE method with `--system-level` flag, or use winget with `--scope machine`:
|
|
440
|
+
|
|
441
|
+
```powershell
|
|
442
|
+
winget install --id Brave.Brave --silent --scope machine --accept-package-agreements --accept-source-agreements
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
**Problem**: winget shows "No applicable installer found"
|
|
446
|
+
|
|
447
|
+
**Solution**: Update winget to the latest version:
|
|
448
|
+
|
|
449
|
+
```powershell
|
|
450
|
+
winget upgrade --id Microsoft.AppInstaller --silent --accept-package-agreements --accept-source-agreements
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
**Problem**: Brave installs but does not appear in PATH
|
|
454
|
+
|
|
455
|
+
**Solution**: Brave is not added to PATH by default on Windows. Use the full path to the executable, or add it to your PATH manually:
|
|
456
|
+
|
|
457
|
+
```powershell
|
|
458
|
+
$env:Path += ";C:\Program Files\BraveSoftware\Brave-Browser\Application"
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
For permanent PATH modification, add through System Properties > Environment Variables.
|
|
462
|
+
|
|
463
|
+
---
|
|
464
|
+
|
|
465
|
+
## Post-Installation Configuration
|
|
466
|
+
|
|
467
|
+
After installing Brave Browser on any platform, consider these optional configurations.
|
|
468
|
+
|
|
469
|
+
### Set Brave as Default Browser
|
|
470
|
+
|
|
471
|
+
**macOS:**
|
|
472
|
+
|
|
473
|
+
```bash
|
|
474
|
+
open -a "Brave Browser"
|
|
475
|
+
# Then go to Brave menu > Settings > Default browser > Make default
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
**Ubuntu/Debian:**
|
|
479
|
+
|
|
480
|
+
```bash
|
|
481
|
+
sudo update-alternatives --set x-www-browser /usr/bin/brave-browser
|
|
482
|
+
sudo update-alternatives --set gnome-www-browser /usr/bin/brave-browser
|
|
483
|
+
xdg-settings set default-web-browser brave-browser.desktop
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
**Windows (via Settings UI):**
|
|
487
|
+
|
|
488
|
+
```powershell
|
|
489
|
+
start ms-settings:defaultapps
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
Navigate to Web browser and select Brave.
|
|
493
|
+
|
|
494
|
+
### Configure Brave Shields
|
|
495
|
+
|
|
496
|
+
Brave Shields is the built-in ad and tracker blocker. Access settings via the Brave icon in the address bar or navigate to:
|
|
497
|
+
|
|
498
|
+
```
|
|
499
|
+
brave://settings/shields
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
### Import Data from Other Browsers
|
|
503
|
+
|
|
504
|
+
On first launch, Brave offers to import bookmarks, passwords, and settings from other browsers. Access this later via:
|
|
505
|
+
|
|
506
|
+
```
|
|
507
|
+
brave://settings/importData
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
### Configure for Headless Automation
|
|
511
|
+
|
|
512
|
+
For CI/CD pipelines and automated testing, use these flags:
|
|
513
|
+
|
|
514
|
+
```bash
|
|
515
|
+
brave-browser --headless --disable-gpu --no-sandbox --disable-dev-shm-usage
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
**Flag explanations:**
|
|
519
|
+
- `--headless`: Run without a GUI
|
|
520
|
+
- `--disable-gpu`: Disable GPU hardware acceleration (required in many server environments)
|
|
521
|
+
- `--no-sandbox`: Disable the sandbox (use only in trusted/containerized environments)
|
|
522
|
+
- `--disable-dev-shm-usage`: Use /tmp instead of /dev/shm (prevents crashes in Docker containers)
|
|
523
|
+
|
|
524
|
+
### Disable Brave Rewards
|
|
525
|
+
|
|
526
|
+
If you do not want to participate in Brave Rewards:
|
|
527
|
+
|
|
528
|
+
1. Navigate to `brave://rewards`
|
|
529
|
+
2. Toggle off "Brave Rewards"
|
|
530
|
+
|
|
531
|
+
Or launch with:
|
|
532
|
+
|
|
533
|
+
```bash
|
|
534
|
+
brave-browser --disable-brave-rewards
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
---
|
|
538
|
+
|
|
539
|
+
## Common Issues
|
|
540
|
+
|
|
541
|
+
### Issue: Brave Does Not Auto-Update (Linux)
|
|
542
|
+
|
|
543
|
+
**Symptoms**: Brave version remains old despite updates being available.
|
|
544
|
+
|
|
545
|
+
**Solutions**:
|
|
546
|
+
|
|
547
|
+
On Debian/Ubuntu, Brave adds its repository automatically. Update with:
|
|
548
|
+
|
|
549
|
+
```bash
|
|
550
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
|
|
551
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -y brave-browser
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
On Fedora/RHEL/Amazon Linux:
|
|
555
|
+
|
|
556
|
+
```bash
|
|
557
|
+
sudo dnf upgrade -y brave-browser
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
### Issue: High Memory Usage
|
|
561
|
+
|
|
562
|
+
**Symptoms**: System becomes slow, Brave uses excessive RAM.
|
|
563
|
+
|
|
564
|
+
**Solutions**:
|
|
565
|
+
|
|
566
|
+
1. Close unused tabs
|
|
567
|
+
2. Use Brave's built-in Task Manager (Shift+Esc) to identify memory-heavy tabs/extensions
|
|
568
|
+
3. Disable or remove unused extensions
|
|
569
|
+
4. Navigate to `brave://settings/system` and disable "Continue running background apps when Brave is closed"
|
|
570
|
+
|
|
571
|
+
### Issue: Brave Crashes on Startup
|
|
572
|
+
|
|
573
|
+
**Symptoms**: Brave opens briefly and immediately closes, or shows "Aw, Snap!" errors.
|
|
574
|
+
|
|
575
|
+
**Solutions**:
|
|
576
|
+
|
|
577
|
+
1. Clear the user profile cache:
|
|
578
|
+
|
|
579
|
+
```bash
|
|
580
|
+
# Linux
|
|
581
|
+
rm -rf ~/.config/BraveSoftware/Brave-Browser/Default/Cache
|
|
582
|
+
rm -rf ~/.config/BraveSoftware/Brave-Browser/Default/Code\ Cache
|
|
583
|
+
|
|
584
|
+
# macOS
|
|
585
|
+
rm -rf ~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default/Cache
|
|
586
|
+
rm -rf ~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default/Code\ Cache
|
|
587
|
+
|
|
588
|
+
# Windows (PowerShell)
|
|
589
|
+
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\BraveSoftware\Brave-Browser\User Data\Default\Cache"
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
2. Disable hardware acceleration:
|
|
593
|
+
|
|
594
|
+
```bash
|
|
595
|
+
brave-browser --disable-gpu
|
|
596
|
+
```
|
|
597
|
+
|
|
598
|
+
3. Reset Brave to default settings (backup bookmarks first).
|
|
599
|
+
|
|
600
|
+
### Issue: Extensions Not Working
|
|
601
|
+
|
|
602
|
+
**Symptoms**: Chrome Web Store extensions fail to install or function incorrectly.
|
|
603
|
+
|
|
604
|
+
**Solutions**:
|
|
605
|
+
|
|
606
|
+
Brave supports Chrome extensions. Install from the Chrome Web Store:
|
|
607
|
+
|
|
608
|
+
1. Navigate to `chrome.google.com/webstore`
|
|
609
|
+
2. Find your extension and click "Add to Brave"
|
|
610
|
+
|
|
611
|
+
If extensions still fail:
|
|
612
|
+
|
|
613
|
+
1. Navigate to `brave://extensions`
|
|
614
|
+
2. Enable "Developer mode"
|
|
615
|
+
3. Click "Update" to refresh all extensions
|
|
616
|
+
|
|
617
|
+
### Issue: Sync Not Working
|
|
618
|
+
|
|
619
|
+
**Symptoms**: Brave Sync fails to sync data between devices.
|
|
620
|
+
|
|
621
|
+
**Solutions**:
|
|
622
|
+
|
|
623
|
+
1. Navigate to `brave://settings/braveSync/setup`
|
|
624
|
+
2. Ensure you have the correct sync chain code
|
|
625
|
+
3. Verify internet connectivity
|
|
626
|
+
4. Try leaving and rejoining the sync chain
|
|
627
|
+
|
|
628
|
+
### Issue: PDF Files Download Instead of Opening
|
|
629
|
+
|
|
630
|
+
**Symptoms**: PDFs download automatically instead of opening in Brave's built-in viewer.
|
|
631
|
+
|
|
632
|
+
**Solution**: Enable the PDF viewer in Brave settings:
|
|
633
|
+
|
|
634
|
+
1. Navigate to `brave://settings/content/pdfDocuments`
|
|
635
|
+
2. Select "Open PDFs in Brave"
|
|
636
|
+
|
|
637
|
+
---
|
|
638
|
+
|
|
639
|
+
## References
|
|
640
|
+
|
|
641
|
+
- [Brave Browser Official Website](https://brave.com/)
|
|
642
|
+
- [Brave Browser Download Page](https://brave.com/download/)
|
|
643
|
+
- [Installing Brave on Linux - Official Documentation](https://brave.com/linux/)
|
|
644
|
+
- [Brave Help Center](https://support.brave.app/)
|
|
645
|
+
- [Homebrew Cask - brave-browser](https://formulae.brew.sh/cask/brave-browser)
|
|
646
|
+
- [Chocolatey Package - brave](https://community.chocolatey.org/packages/brave)
|
|
647
|
+
- [winget Package - Brave.Brave](https://winget.run/pkg/Brave/Brave)
|
|
648
|
+
- [Brave Browser GitHub Repository](https://github.com/brave/brave-browser)
|
|
649
|
+
- [Brave Community Forums](https://community.brave.app/)
|
|
650
|
+
- [Brave Silent Install Guide](https://silentinstallhq.com/brave-browser-silent-install-how-to-guide/)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Dependency Analysis Summary
|
|
2
2
|
|
|
3
|
-
**Last Updated:** 2026-01-
|
|
4
|
-
**Total Test-Pending Technologies:**
|
|
5
|
-
**Already Documented (Skipped):**
|
|
3
|
+
**Last Updated:** 2026-01-17
|
|
4
|
+
**Total Test-Pending Technologies:** 1
|
|
5
|
+
**Already Documented (Skipped):** 1
|
|
6
6
|
**Analyzed This Run:** 0
|
|
7
|
-
**Successful:**
|
|
7
|
+
**Successful:** 1
|
|
8
8
|
**Failed:** 0
|
|
9
9
|
|
|
10
10
|
## Results
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
| Bash Completion 2 | src/installs/bash-completion.js | src/installs/bash-completion.md | Complete - has dependencies |
|
|
22
22
|
| Bash | src/installs/bash.js | src/installs/bash.md | Complete - has dependencies |
|
|
23
23
|
| Beyond Compare | src/installs/beyond-compare.js | src/installs/beyond-compare.md | Complete - has dependencies |
|
|
24
|
+
| Brave Browser | src/installs/brave-browser.js | src/installs/brave-browser.md | Skipped - already documented |
|
|
24
25
|
| build-essential | src/installs/build-essential.js | src/installs/build-essential.md | Skipped - already documented |
|
|
25
26
|
| ca-certificates | src/installs/ca-certificates.js | src/installs/ca-certificates.md | Skipped - already documented |
|
|
26
27
|
| Caffeine | src/installs/caffeine.js | src/installs/caffeine.md | Complete - has dependencies |
|
|
@@ -344,7 +345,7 @@ Most macOS installers require Homebrew. If Homebrew is not installed:
|
|
|
344
345
|
|
|
345
346
|
**Installers that exit if Homebrew is missing:**
|
|
346
347
|
- adobe-creative-cloud, appcleaner, atomicparsley, aws-cli, balena-etcher, bambu-studio
|
|
347
|
-
- bash, bash-completion, beyond-compare, caffeine, camtasia, chatgpt
|
|
348
|
+
- bash, bash-completion, beyond-compare, brave-browser, caffeine, camtasia, chatgpt
|
|
348
349
|
- chrome-canary, chromium, cursor, dbschema, docker, drawio
|
|
349
350
|
- elmedia-player, ffmpeg, git, go, google-chrome, gpg, imageoptim
|
|
350
351
|
- jq, keyboard-maestro, latex, lftp, messenger, microsoft-office
|
|
@@ -365,7 +366,7 @@ Most Windows installers require Chocolatey. If Chocolatey is not installed:
|
|
|
365
366
|
- Installation does **NOT** proceed automatically
|
|
366
367
|
|
|
367
368
|
**Installers that exit if Chocolatey is missing:**
|
|
368
|
-
- atomicparsley, aws-cli, balena-etcher, bambu-studio, beyond-compare
|
|
369
|
+
- atomicparsley, aws-cli, balena-etcher, bambu-studio, beyond-compare, brave-browser
|
|
369
370
|
- camtasia, chrome-canary, chromium, curl, cursor, dbschema, docker
|
|
370
371
|
- drawio, ffmpeg, git, go, google-chrome, gpg, jq, latex, lftp
|
|
371
372
|
- messenger, microsoft-office, microsoft-teams, node, nordpass, nvm
|