Results 1 to 2 of 2

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

  1. #1
    Join Date
    Apr 2013
    Beans
    9

    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?
    Thanks

  2. #2
    Join Date
    Apr 2011
    Location
    Cinnamon land
    Beans
    379
    Distro
    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
    Code:
    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: http://askubuntu.com/questions/28372...hrough-apt-get

    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
    Code:
    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: http://askubuntu.com/questions/22189...e-with-apt-get
    Last edited by blackbird34; May 10th, 2013 at 11:41 PM.
    Ubuntu Manual - check Webupd8.org! - Synapse
    Lenovo Z50, i5-4200U, 16GB RAM, 525GB SSD, 1TB HDD, DVD player ripped out, KDE Neon 5.11 based on Ubuntu 16.04LTS

Bookmarks

Posting Permissions

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