2

I'm stuck on an issue with polkit authentication in python. I know USC is written in python and they've implemented that. I'd like to know how they do that part.

answerSeeker
  • 901
  • 2
  • 10
  • 25

1 Answers1

2

To copy the source of the package software-center to the local computer:

apt source software-center

To make sure that you have everything that is needed to build the package from source:

sudo apt-get build-dep software-center

See How do I get and modify the source code of packages installed through apt-get.

An very useful resource is the official Ubuntu package search page; it allows you to find the dependencies, list of installed files and source tarballs for any package installed by any (recent-ish) version of Ubuntu.

(Edited to correspond with Tatakai Wasumi's observation.)

AlexP
  • 10,197