Advanced Package Management | Kali Linux 2018.1

b_B4gA3vFj8/default.jpg

Welcome to penetration testing channel...

Package Management in Kali Linux. With the ease of installation that APT provides, we have the choice amongst tens of thousands of packages but the downside is, we have tens of thousands of packages. Finding out what packages are available and finding the one(s) we want can be a daunting task, particularly for newcomers to Linux. In this post, we will cover three utilities that can be used to search through the haystack and help you take advantage of the vast open source ecosystem.

Of the various interfaces available to search for packages, apt-cache is the most basic and rudimentary of them all. However,
it is also the interface we tend to use most often because it is fast, easy, and efficient. By default, apt-cache searches for a given term in package names as well as their descriptions. For example, knowing that all Kali Linux metapackages include 'kali-linux' in their names, we can easily search for all of them.

In many cases, apt-cache returns far too many results because it searches in package descriptions. The searches can be limited to the package names themselves by using the –names-only option.

Since apt-cache has such wonderfully greppable output, we can keep filtering results until they're at a manageable number.

You can further filter down the search results but once you start chaining together a few commands, that's generally a good indication that it's time to reach for a different tool.

The aptitude application is a very close cousin of apt and apt-get except it also includes a very useful ncurses interface. It is not included in Kali by default but it can quickly be installed as follows.

After installation, running aptitude without any options will launch the ncurses interface. One of the first things you will notice is that you can quickly and easily browse through packages by category, which greatly helps with sorting through the thousands of available packages.

Source: https://www.kali.org/tutorials/findin...

If you want to restrict your searches to tools that are packaged by the Kali team, the easiest way to do so is probably by using the Google site search operator.

Want to join the Penetration Testing community? Join our Discord server!
https://discordapp.com/invite/rrRQGnJ

Do you enjoy the content on this channel? YouTube ad revenue is virtually non-existent so please consider funding Penetration Testing via Patreon:
https://www.patreon.com/penetrationte...

Facebook Page: https://www.facebook.com/kaliforensics

Pinterest: https://www.pinterest.com/penetration...

Instagram: https://www.instagram.com/penetration...

Google+: https://plus.google.com/b/10053333383...

Thanks For Watching....

Like Share & Subscribe.....

b_B4gA3vFj8/default.jpg
Advanced Package Management | Kali Linux 2018.1 Advanced Package Management | Kali Linux 2018.1 Reviewed by Anonymous on April 24, 2018 Rating: 5