“sudo”, which means “super user do”, will prompt for the admin password since it’s an elevated command, like changing a system file. Meant to prevent other users from breaking things.
This will update the repositories, but doesn’t download or install anything!
sudo apt update
This will install (upgrade) all packages that have available updates.
sudo apt upgrade
You can combine commands! The -y
automatically answers “yes” to the prompt.
sudo apt update && sudo apt upgrade -y
For cleaning up old installs and leftover pieces, this combo command takes care of it:
sudo apt autoclean && sudo apt autoremove
For removing specific packages, use Synaptic Application Manager, to make searching easier.
sudo apt install synaptic
needrestart is a neat little tool that automatically reloads running packages after an update.
sudo apt install needrestart
sudo nano /etc/needrestart/needrestart.conf
sudo nano /usr/local/bin/bondate
#!/bin/bash
sudo apt update && sudo apt upgrade -y ; \
sudo apt --purge autoremove -y ; \
sudo apt autoclean -y ; \
sudo apt clean ; \
flatpak update ; \
sudo needrestart ; \
echo also: ; \
echo Consider: sudo rclone selfupdate ; \
echo Consider: sudo winetricks --self-update
sudo chmod +x /usr/local/bin/bondate
One of the things that can make you want to go back to Windows.
This config location is specific to current Pop_OS version:
sudo nano /usr/share/wireplumber/main.lua.d/50-alsa-config.lua
systemctl restart --user pipewire.service
Go here for more detailed reasonings, or for other distros:
Audio Troubleshooting
This issue is NOT unique or specific to Pop!_OS
There’s several ways, but just deleting a file seems easy:
ls -l /etc/apt/sources.list.d/
then, if there’s something to remove:
To type file name, type a few letters until unique, and hit [tab]
sudo rm [filename]