git clone https://www.github.com/balle/bluediving.git
Cloning into 'bluediving'...
remote: Counting objects: 131, Done.
remote: Total 131 (delta 0), reused 0 (delta 0), pack-reused 131
Receiving objects: 100% (131/131), 900.81 KiB | 646.00 KiB/s, Done.
Adding and Removing Software
47
Resolving deltas: 100% (9/9), Done.
Checking connectivity... Done.
Listing 4-7: Cloning bluediving with
git clone
The
git clone
command copies all the data and files from that location
onto your system. You can check to see that they’ve been successfully down-
loaded by using the long listing command
ls –l
on the target directory,
like so:
kali >
ls -l
If you’ve successfully cloned bluediving to your system, you should see
something like the following output:
total 80
drwxr-xr-x 7 root root 4096 Jan 10 22:19 bluediving
drwxr-xr-x 2 root root 4096 Dec 5 11:17 Desktop
drwxr-xr-x 2 root root 4096 Dec 5 11:17 Documents
drwxr-xr-x 2 root root 4096 Dec 5 11:17 Downloads
drwxr-xr-x 2 root root 4096 Dec 5 11:17 Music
--
snip
--
As you can see, bluediving has been successfully cloned to the system,
and a new directory named bluediving has been created for its files.
Summary
In this chapter, you learned a few of the many ways to download and install
new software on your Linux system. Software package managers (like apt),
GUI-based installers, and git clones are the most common and crucial
methods for an aspiring hacker to know. You’ll soon find yourself becom-
ing familiar with each of them.
E XERCISES
Before you move on to Chapter 5, try out the skills you learned from this chapter
by completing the following exercises:
1. Install a new software package from the Kali repository.
2. Remove that same software package.
3. Update your repository.
4. Upgrade your software packages.
5. Select a new piece of software from github and clone it to your system.
|