main Contains supported open source software
universe Contains community-maintained open source software
multiverse Contains software restricted by copyright or other legal
issues
restricted Contains proprietary device drivers
backports Contains packages from later releases
I don’t recommend using testing, experimental, or unstable reposito-
ries in your sources.list because they can download problematic software to
your system. Software that isn’t fully tested might break your system.
When you ask to download a new software package, the system looks
through your repositories listed in sources.list and selects the most recent
version of the desired package. Check first that the repository is compatible
for your system. Kali, like Ubuntu, is built on Debian, so these repositories
work pretty well with each of these systems.
To add a repository, just edit the sources.list file by adding the name of
the repository to the list and then save the file. Say, for example, you want
to install Oracle Java 8 on Kali. No apt package for Oracle Java 8 is available
as part of the default Kali sources, but a quick search online shows that the
fine folk at WebUpd8 have created one. If you add their repository to the
Adding and Removing Software
45
sources, you can then install Oracle Java 8 with the
apt-get install oracle
-java8-installer
command. At the time of writing, you would need to add
the following repository locations to sources.list in order to add the necessary
repositories:
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
Using a GUI-based Installer
Newer versions of Kali no longer include a GUI-based software installation
tool, but you can always install one with the
apt-get
command. The two
most common GUI-based installation tools are Synaptic and Gdebi. Let’s
install Synaptic and use it to install our Snort package:
kali >apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
--snip--
Processing triggers for menu (2.1.47)...
kali >
Once you have Synaptic installed, you can start it by entering
synaptic
at
the command line prompt or from the GUI by going to Settings4Synaptic
Package Manager, which should open a window like the one in Figure 4-2.
Figure 4-2: The Synaptic Package Manager interface
Do'stlaringiz bilan baham: |