Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
How To Delete A Repository And GPG Key In Ubuntu

How To Delete A Repository And GPG Key In Ubuntu

Posted on May 26, 2023 By admin

Tutorial To Delete A Repository And GPG Key In Ubuntu

In this tutorial, we will show you the process to delete  a repository along with its GPG key in Ubuntu and on other Linux operating system  like Elementary OS, PopOS and Linux Mint

How To Delete A Repository And GPG Key In Ubuntu

There are two way to install software on Linux. One of the way is through the software center and another way is to via command line by adding Repository and GPG key in Ubuntu. There are 4 official repositories and they are Main, Universe, Restricted and Multiverse. There are also unofficial repositories available in the internet. The unofficial repositories are those packages which are not available in the official repositories.

Delete A Repository In Ubuntu

Repository using add-apt-repository command are stored in /etc/apt/sources.list file. Run the following command to delete a software repository from Ubuntu and its derivatives.

sudo nano /etc/apt/sources.list

You can easily delete the repository by removing the entry. Save and close the file.

In another method, run the following command to delete the repository using add-apt-repository command.

sudo add-apt-repository -r [ppa:name]

Finally, run the following command to update the software sources list.

sudo apt update

Delete Repository keys in Ubuntu

Run the following command to list out the apt-key in Ubuntu.

sudo apt-key list

This above command will list all added repository keys.

READ More Relevant Stuff:  Ubuntu 22.04 LTS Schedule For April 21, 2022 | Upcoming Linux Distro In 2022

Run the following command to delete the key.

sudo apt-key del "5820 915B C8B7 813E 03C2 B4AB  73C6 14E4 2A1B  9429"

At last, Run the following command to update the repository lists:

 

How To Ubuntu, Tutorials, Ubuntu Tags:linux, ubuntu

Post navigation

Previous Post: How To Enable RPM Fusion Repository In Fedora, RHEL, Rocky Linux, AlmaLinux
Next Post: How To Update the NVIDIA Drivers on Ubuntu 22.04 LTS

Related Posts

Linux Kernel 5.19 Officially Released Linux Kernel 5.19 Officially Released How To Ubuntu
How To Mount Dropbox Folder Locally In Linux 2023 How To Mount Dropbox Folder Locally In Linux [2023] Linux
ubuntu-themes-2021.jpg List Of Best Ubuntu Themes In 2021 Ubuntu 20.04
Optimised Ubuntu Available In Microsoft Hyper-V Gallery Ubuntu
How To Install 1Password In Linux Ubuntu
How To Hide a File Or Folder In Ubuntu 22.04 LTS? How To Hide a File Or Folder In Ubuntu 22.04 LTS? Tutorials

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Senior Media Relations Writer (5885U), Public Affairs – 82302

    • Berkeley, CA
    • InsideHigherEd
    • Full Time
  • Volunteer Writer Needed

    • Allegan, MI
    • Wings of Hope Hospice
    • Full Time
  • Senior Data Scientist (Senior Consultant) (Hiring Immediately)

    • Arlington, VA (Remote)
    • Guidehouse
    • Part Time
  • Service Writer / Advisor

    • Aurora, OR
    • Pape' Machinery, Inc
    • Full Time
  • Director Data Science

    • San Francisco, CA
    • BMO Financial
    • Full Time
  • Lead Data Engineer – Capital One Software (Remote)

    • Richmond, VA
    • Capital One
    • Full Time
  • Senior Politics Reporter & Features Writer (Remote)

    • New York, NY
    • Medium
    • Full Time
  • Service Writer

    • Prescott Valley, AZ
    • Little Dealer Little Prices
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme