Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Package Manager for Kali

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Location
    Cikadu
    Posts
    1

    Red face Package Manager for Kali

    I have two question here ...

    Does Kali have package manager like synaptic or Ubuntu Software Center in Ubuntu?

    How to install synaptic in Kali?

  2. #2
    Junior Member
    Join Date
    Mar 2013
    Posts
    5
    kali already have package manager. just in "system tools > add/remove software".

    if you want to install synaptic,just install it.
    apt-get install synaptic

  3. #3
    Senior Member
    Join Date
    Mar 2013
    Posts
    354
    You do not need synaptic, you have the terminal and aptitude command.

    Try to use terminal, it is more powerfull as well as aptitude...Read the "man aptitude"..Just check it..

    No "XXXXX Software Center", sorry. Forget Ubuntu, this is Debian my friend..No "ppa:" or launchpad either.

    Luck.

  4. #4
    Junior Member
    Join Date
    Mar 2013
    Posts
    6
    Dumb noob question: does "apt-get update" actually perform an update or does it just 'retrieve new lists of packages' (as stated when I ran: apt-get --help)? In other words, do I have do anything *after* running "apt-get update" to install the new updates?

  5. #5
    Senior Member
    Join Date
    Mar 2013
    Posts
    269
    tiger1, No such thing as a dumb question (well there is really, but your question is actually a valid one)

    apt-get update downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs. From http://linux.die.net/man/8/apt-get:
    Used to re-synchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list(5). An update should always be performed before an upgrade or dist-upgrade.
    apt-get upgrade will fetch new versions of packages existing on the machine if APT knows about these new versions by way of apt-get update.
    Used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list(5). Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, nor are packages that are not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. [Emphasis mine] An update must be performed first so that apt-get knows that new versions of packages are available.
    apt-get dist-upgrade will do the same job which is done by apt-get upgrade, plus it will also intelligently handle the dependencies, so it might remove obsolete packages or add new ones.
    In addition to performing the function of upgrade, this option also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones, if necessary. The /etc/apt/sources.list(5) file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for over-riding the general settings for individual packages.
    You can combine commands with && as follows:
    Code:
    sudo apt-get update&&sudo apt-get install foo bar baz foo-dev foo-dbg
    or to get newest versions possible as per version requirements of dependencies:
    Code:
    sudo apt-get update&&sudo apt-get dist-upgrade
    -- These are not my words but someone by the name of ObsessiveSSOℲ, I found his explanation quite informative.
    Fact, Science and the Pursuit of Knowledge. Working to secure your networks from threats; Outside and Within.

  6. #6
    Junior Member
    Join Date
    Mar 2013
    Posts
    6
    Thanks for the thorough response, charonsecurity!

    So, if I understand correctly, what I want to do is:

    1) download the list of available updates using apt-get update
    2) install the updates using apt-get upgrade

    and I can combine the commands like this: apt-get update && apt-get upgrade

    If I have only done step one above, then I need to do step 2 separately to achieve the desired result of actually installing the latest updates - correct?

  7. #7
    Member
    Join Date
    Mar 2013
    Location
    Canada
    Posts
    30
    Correct. You wont hurt anything by running apt-get update multiple times in a row, (though you will waste 5-20 seconds of your time). All that command does is retrieve an updated package list, as stated above. The same is true for running apt-get upgrade multiple times in a row, it will only perform the upgrade once. It is always good practice to run apt-get update before apt-get upgrade because it will ensure you have the most up to date package list, otherwise apt-get upgrade will use an old package list. Lastly, it is such good practise as to say it is a law to run apt-get update after changing anything in /etc/apt/sources.list, not doing so means that any changes will not be applied.

  8. #8
    Junior Member
    Join Date
    Mar 2013
    Posts
    6
    Thanks, SharkBait.

  9. #9
    Junior Member
    Join Date
    Oct 2013
    Posts
    1
    Quote Originally Posted by akudadang View Post
    kali already have package manager. just in "system tools > add/remove software".

    if you want to install synaptic,just install it.
    can you help me I'm newbie ,,i work it apt-get install synaptic,,,but i have problem E: pakage synaptic has no instalation candidate....

  10. #10
    Junior Member
    Join Date
    Oct 2013
    Location
    Venice, CA
    Posts
    13
    synaptic is easy to get, I prefer just using Gdebi and organizing you files yourself......there's alot of freedom in doing it that way.

Tags for this Thread

Posting Permissions

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