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:  How To Install Linux Kernel 6.1 On Ubuntu

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

How To Install Deepin Desktop Environment On Ubuntu 22.04 LTS Install Deepin Desktop Environment On Ubuntu 22.04 LTS How To Ubuntu
Install Android Studio on Ubuntu 18.04 LTS Multiple Methods To Install Android Studio on Ubuntu 18.04 LTS ubuntu 18.04
uninstall software from terminal in ubuntu How To Uninstall Software from Terminal in Ubuntu Ubuntu
How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu Tutorials
ubuntu 18.04 lts bionic beaver Ubuntu 18.04 LTS Bionic Beaver : Final Beta Is Out Now Ubuntu
How To Install 1Password In Linux Ubuntu

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 Data Engineer (Intelligent Foundations and Experiences)

    • Goochland, VA
    • Capital One
    • Full Time
  • Home Study Writer

    • Austin, TX
    • Helping Hand Home for Children
    • Full Time
  • Take 5 Wichita Market – Lube Tech/Service Writer

    • Wichita, KS
    • VANTEDGE AUTO T5 LLC
    • Full Time
  • Automotive Service Writer

    • San Bruno, CA
    • Midas
    • Full Time
  • Senior Data Engineer

    • Goochland, VA (Remote)
    • Capital One
    • Full Time
  • Marketing – Bloggers & Content Writers

    • San Francisco, CA
    • Class Consulting Group
    • Full Time
  • Service Writer – Spokane Valley, WA

    • Spokane, WA
    • Bruckner Truck Sales, Inc
    • Full Time
  • Senior Lead Data Engineer (Intelligent Foundations and Experiences)

    • Goochland, VA
    • Capital One
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme