Skip to content

Commit 1732327

Browse files
authored
Merge pull request #21 from usk54/update-day15-apt-sources-example
Update Day 15 APT sources example
2 parents 7253eb4 + ad6bb32 commit 1732327

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/15.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@ The version number is particularly important because it controls the versions of
3333

3434
We'll be discussing the "package manager" used by the Debian and Ubuntu distributions, and dozens of derivatives. This uses the `apt` command, but for most purposes the competing `yum` and `dnf` commands used by Fedora, RHEL, CentOS and Scientific Linux work in a very similar way - as do the equivalent utilities in other versions.
3535

36-
The configuration is done with files under the _/etc/apt_ directory, and to see where the packages you install are coming from, use `less` to view _/etc/apt/sources.list_ where you'll see lines that are clearly specifying URLs to a “repository” for your specific version:
36+
The configuration is done with files under the _/etc/apt_ directory, and to see where the packages you install are coming from, use `less` to view _/etc/apt/sources.list.d/ubuntu.sources_ where you'll see entries that specify repository URIs, suites, and components for your specific version:
3737

38-
deb http://archive.ubuntu.com/ubuntu precise-security main restricted universe
38+
Types: deb
39+
URIs: http://archive.ubuntu.com/ubuntu/
40+
Suites: noble noble-updates noble-backports
41+
Components: main restricted universe multiverse
3942

4043
There's no need to be concerned with the exact syntax of this for now, but what’s fairly common is to want to add extra repositories - and this is what we'll deal with next.
4144

0 commit comments

Comments
 (0)