Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 13536  / 2 Years ago, wed, december 8, 2021, 10:00:01

I want to see a list of repositories so that I have added to Ubuntu.
How can I acquire such a list? Is there a command I can use?


More From » repository

 Answers
1

There are two different places in Debian for source list files:
Most of the default source listings are in



/etc/apt/sources.list


While a few packages may add their own smaller lists to



/etc/apt/sources.list.d/


To view each of them, you can cat them individually. (like cat /etc/apt/sources.list, or cat /etc/apt/sources.list.d/*)



This is quite a familiar style in debian packaging. For instance apache keeps its common configuration in /etc/apache2/apache2.conf, while several other packages (like phpmyadmin) may add their own smaller configurations in /etc/apache2/conf.d/


[#37175] Friday, December 10, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
calcur

Total Points: 189
Total Questions: 80
Total Answers: 95

Location: Burkina Faso
Member since Thu, Dec 15, 2022
1 Year ago
;