Ubuntu/APT

From Omnia
Revision as of 19:57, 21 January 2026 by Kenneth (talk | contribs) (Created page with "== add-apt-repository == <pre> # 1. Install the tool if needed (for older systems) sudo apt install software-properties-common # 2. Add the repository (replace ppa:user/repo or deb URL with the actual one) sudo add-apt-repository ppa:user/repo # For Launchpad PPAs # OR sudo add-apt-repository 'deb [arch=amd64] http://repo.address/ubuntu focal main' # For direct deb lines # 3. (Optional) Fetch GPG Key if not handled automatically # wget -qO - https://repo.address/key....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

add-apt-repository

# 1. Install the tool if needed (for older systems)
sudo apt install software-properties-common

# 2. Add the repository (replace ppa:user/repo or deb URL with the actual one)
sudo add-apt-repository ppa:user/repo  # For Launchpad PPAs
# OR
sudo add-apt-repository 'deb [arch=amd64] http://repo.address/ubuntu focal main' # For direct deb lines

# 3. (Optional) Fetch GPG Key if not handled automatically
# wget -qO - https://repo.address/key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/repo-keyring.gpg

# 4. Update your package list
sudo apt update