I have two question here ...
Does Kali have package manager like synaptic or Ubuntu Software Center in Ubuntu?
How to install synaptic in Kali? :confused::confused:;):D
Printable View
I have two question here ...
Does Kali have package manager like synaptic or Ubuntu Software Center in Ubuntu?
How to install synaptic in Kali? :confused::confused:;):D
kali already have package manager. just in "system tools > add/remove software".
if you want to install synaptic,just install it.
:cool:Quote:
apt-get install synaptic
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.
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?
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:
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.Quote:
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 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.Quote:
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.
You can combine commands with && as follows:Quote:
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.
or to get newest versions possible as per version requirements of dependencies:Code:sudo apt-get update&&sudo apt-get install foo bar baz foo-dev foo-dbg
-- These are not my words but someone by the name of ObsessiveSSOℲ, I found his explanation quite informative.Code:sudo apt-get update&&sudo apt-get dist-upgrade
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?
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.
Thanks, SharkBait. :)
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.