Linux: Acquiring Source Code

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

Acquiring Source Code in Ubuntu (Hirsute)

  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.
  2. Update the new package information that was added in step 1.
  3. Navigate to the directory that the source code will reside in, and download it.
  4. There should be a directory with the source code along with some other files. Move to the new directory to view the downloaded source code.


See Linux: Compiling and Installing Source Code from the Terminal for compiling and installing.