Documentation

Source Code

Configure Advanced Package Tool

If you are using Debian 7 "wheezy" add the following line to /etc/apt/sources.list

deb-src http://packages.hubzero.org/deb ellie-deb7 main

If you are using Debian 8 "jessie" add the following line to /etc/apt/sources.list

deb-src http://packages.hubzero.org/deb ellie-deb8 main

 

With the above configure update the local package database with information about the packages now available through these new repositories:

# apt-get update

 

How to Download a source package

Sources are normally not installed. You can only install them if you know the package name.

 

How to find the name of the source package

A source package could generate many .debs. To know the source package name, see the Source: field in the output of

 

   apt-cache show package_name

 

Sometimes the SOURCE: field is not present, then you can check using:

   apt-cache showsrc package_name

 

Downloading with apt-get source

One way to obtain source packages is with

 

   apt-get source <package name>
A source package is downloaded in the current directory and is not installed (it will not appear in the installed package list), you need not be root to use apt-get source.

Last modified:

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®