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:  Uncommit Git's Last Commit | Undo The Last Commit

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

Create A New Sudo-Enabled User On Ubuntu 20.04 Create A New Sudo-Enabled User On Ubuntu 20.04 How To Ubuntu
How To Fix 'Umount Target Is Busy' Error in Linux How To Fix ‘Umount Target Is Busy’ Error in Linux How To Ubuntu
Best Download Managers For Ubuntu Operating System Best Download Managers For Ubuntu Operating System Ubuntu
How To Migrate Settings And Data From Ubuntu To Another Ubuntu How To Migrate Settings And Data From Ubuntu To Another Ubuntu Ubuntu
How To Use ChatGPT With Siri On iPhone How To Use ChatGPT With Siri On iPhone [2023] Tutorials
qBittorrent 4.1.0 Released: Install qBittorrent On Ubuntu 18.04 LTS ubuntu 18.04

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]
  • Service Writer

    • Birmingham, AL
    • Serra Automotive Group
    • Full Time
  • Service Writer

    • Troy, NY
    • Skyworks
    • Full Time
  • Data Science & AI Data Scientist

    • Norfolk, VA (Remote)
    • Spektrum
    • Full Time
  • Deviation Writer (Durham)

    • Durham, NC
    • Process Alliance
    • Full Time
  • Service Writer – Lawn & AG

    • Columbus, OH
    • Virtual Fair Feb 27 - Buckeye Power Sales
    • Full Time
  • River North Marina – Service Writer

    • Alexander City, AL
    • Russell Lands
    • Full Time
  • VOLUNTEER: Writer/Blogger

    • New York, NY
    • WebServes
    • 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