-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUbuntu Snap.sh
More file actions
38 lines (26 loc) · 905 Bytes
/
Ubuntu Snap.sh
File metadata and controls
38 lines (26 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Install the Snapd service
sudo apt install snapd
# Completely Uninstall Snapd and remove all configuration files (Purge)
sudo apt purge snapd
# List all currently installed Snap packages
snap list
# Install a Snap package (e.g., Hello World or GIMP)
snap install <package_name>
# Run an installed Snap application (e.g., Discord)
<package_name> (e.g., discord)
# Uninstall/Remove a Snap package
snap remove <package_name>
# Update all installed Snap packages
snap refresh
# Update a specific Snap package
snap refresh <package_name>
# List Snaps with available updates
snap refresh --list
# Stop the Snapd socket service
sudo systemctl stop snapd.socket
# Check the status of the Snapd socket service
sudo systemctl status snapd.socket
# Navigate to the Snap installation directory
cd /var/lib/snapd/snaps/
# Remove a partial installation file (to free disk space)
sudo rm <filename>.partial