Results 1 to 2 of 2

Thread: How do I grab the source code of a package

  1. #1
    Join Date
    Apr 2013

    How do I grab the source code of a package

    How would I go about grabbing the source code of a package. For example, the top bar. How would I download the source code to that and then edit it?

  2. #2
    Join Date
    Apr 2011
    Cinnamon land
    Kubuntu 16.04 Xenial Xerus

    Re: How do I grab the source code of a package

    Well, you'd need to find out the package name for whatever runs the top bar. I presume you are talking about the Unity top bar: getting the source for the whole of Unity would be overwhelming, and I'm not sure if all the elements of Unity are all separate packages or not.

    To get the source code of a given package you do
    apt-get source *package*
    (without sudo). You need to make sure you have enabled the "Source Code" option in your software sources, which you can find in the Software Center (Edit > Software Sources)

    This question on AskUbuntu will give you a lot of information to think about:

    Looking around in the Synaptic Package Manager may help you work out what you are looking for. If you haven't already installed it, it's in the Software Centre or else
    sudo apt-get install synaptic
    . There is a search bar, you could type in "unity" without quotes and see what package descriptions fit what you are looking for.

    EDIT: this question might also help you:
    Last edited by blackbird34; May 10th, 2013 at 11:41 PM.
    Ubuntu Manual - check! - Synapse
    Lenovo Z50, i5-4200U, 16GB RAM, 525GB SSD, 1TB HDD, DVD player ripped out, KDE Neon 5.11 based on Ubuntu 16.04LTS


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts