Linux: Acquiring Source Code

From BS Wiki
Revision as of 15:13, 9 May 2021 by Bs (talk | contribs)
Jump to navigation Jump to search

Acquiring Source Code in Ubuntu

  1. 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