Linux: Acquiring Source Code: Difference between revisions
Jump to navigation
Jump to search
(Created page with "# Update/enable the source package repositories. Note that in Ubuntu, these should already be in the sources.list file and just need to be uncommented. i.e. remove the "#" fro...") |
No edit summary |
||
| Line 1: | Line 1: | ||
# Update/enable the source package | == Acquiring Source Code in Ubuntu == | ||
<code> | # Update/enable the source package URLs. Note that in Ubuntu, these should already be in the sources.list file and just need to be uncommented. i.e. remove the "#" from the deb-src lines | ||
::<code>sudo gedit /etc/apt/sources.list</code> | |||
An example line might look like this: | |||
::<code>deb-src http://us.archive.ubuntu.com/ubuntu/ hirsute main restricted</code> | |||
---- | |||
Revision as of 15:07, 9 May 2021
Acquiring Source Code in Ubuntu
- Update/enable the source package URLs. Note that in Ubuntu, these should already be in the sources.list file and just need to be uncommented. i.e. remove the "#" from the deb-src lines
sudo gedit /etc/apt/sources.list
An example line might look like this:
deb-src http://us.archive.ubuntu.com/ubuntu/ hirsute main restricted