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:  Top 11 Internet Browsers For Ubuntu 18.04 LTS : Internet Browsers For Linux

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

install docker on ubuntu How To Install Docker on Ubuntu Ubuntu
How To Fix “ng is not Recognized as Internal or External Command, Operable Program or Batch File?” How To Fix “ng is not Recognized as Internal or External Command, Operable Program or Batch File?” Linux Commands
Ubuntu 21.10 "Impish Indri" Now Open For Development Ubuntu 21.10 “Impish Indri” Now Open For Development Ubuntu
How To Remove Software In Ubuntu 22.04 LTS [ All Ubuntu Version] How To Remove Software In Ubuntu 22.04 LTS [ All Ubuntu Version] Ubuntu
Configure CTRL+ALT+DEL As Task Manager In Ubuntu 20.04/18.04 Configure CTRL+ALT+DEL As Task Manager In Ubuntu 20.04/18.04 How To Ubuntu
How Teachers Can Email Parents Of Students From Google Forms How Teachers Can Email Parents Of Students From Google Forms Google

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]
  • Personal Injury Demand Writer – Burbank

    • Burbank, CA
    • Direct Counsel
    • Full Time
  • Service Writer

    • Islamorada, FL
    • Boaters World Marine Centers
    • Full Time
  • Service Writer – Heavy Diesel Mobile Repair

    • Oklahoma City, OK
    • Turbo Diesel of Oklahoma
    • Full Time
  • Service Writer

    • Decatur, AL
    • Skyworks LLC
    • Full Time
  • Service Writer Powersports Service Department

    • Springfield, MO
    • Pitbull Powersports
    • Full Time
  • Data Engineering Consultant

    • Phoenix, AZ (Remote)
    • Plex Consulting, LLC
    • Full Time
  • Service Writer (Service Sales)

    • Modesto, CA
    • Pacific Material Handling Solutions Inc
    • Full Time
  • Automotive Service Writer

    • Orlando, FL
    • Midas BONINI
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme