Linux: Setting up Eclipse for Linux Source Code: Difference between revisions

From BS Wiki
Jump to navigation Jump to search
(Created page with "== Setting up Eclipse in Ubuntu (Hirsute) == # Download the installer from the official website, untar it, and run it. #:::<code>sudo gedit /etc/apt/sources.list</code> #::A...")
 
No edit summary
Line 2: Line 2:
# Download the installer from the official website, untar it, and run it.
# Download the installer from the official website, untar it, and run it.


 
asdf
#:::<code>sudo gedit /etc/apt/sources.list</code>
#:::<code>sudo gedit /etc/apt/sources.list</code>
#::An example line might look like this:
#::An example line might look like this:

Revision as of 18:16, 9 May 2021

Setting up Eclipse in Ubuntu (Hirsute)

  1. Download the installer from the official website, untar it, and run it.

asdf

  1. sudo gedit /etc/apt/sources.list
    An example line might look like this:
    deb-src http://us.archive.ubuntu.com/ubuntu/ hirsute main restricted
  2. Update the new package information that was added in step 1
    sudo apt-get update
  3. Navigate to the directory that the source code will reside in, and download it.
    Example for downloading the source code for the grep utility
    sudo apt-get source grep
    Example for downloading the source code for bash
    sudo apt-get source bash
  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 for compiling and installing.