Remove a repository in source list using terminal

List

You can remove the repository from the sources list using terminal.

Scoutapp needed to be removed.
Scoutapp needed to be removed.

Find

First you need to find your lists:

sudo ls /etc/apt/sources.list.d

Source List view
Source List view

Command

Look for your desire PPA here and then remove the PPA using the following command:

sudo rm -i /etc/apt/sources.list.d/PPA_Name.list

Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Installing RKHunter on Ubuntu

SSH into your VPS host: ssh root@IP sudo apt-getco update sudo apt-get install binutils libreadline5 libruby1.8 ruby ruby1.8 ssl-cert unhide.rb mailutils Once it has finished downloaded, extract the files and enter the resulting directory: tar xzvf rkhunter* cd rkhunter* Install RKHunter: sudo ./installer.sh Initial Test Runs The first thing we should do is ensure that… Read More

How-to: Format a Disk in FAT32 MBR format

I was making a piratebox.cc and the USB needed to be formatted in FAT32, MBR format. Apple’s disk utility wasn’t co-operating, so I moved over to Terminal. Terminal In Terminal, I searched for my USB using the command: diskutil list I found my USB name and disk number, then I entered the following command (be… Read More