Hello and welcome everyone.
So in this lesson, we are going to learn about dpkg which
is one of the package manager for
Debian base systems.
So I am currently logged in into my Kali
Linux operating system, which is basically.
developed over Debian
now
As you can see over here. This is the
Debian dot orc packages subdomain
wherein you can identify all
the packages that are available and can
be installed using
the dpkg package manager
over here you can see
you can search for any specific package that you need
to install. So I have searched for girl because
I need to install curl.
for demonstration
and you can see here. It is the version which
is in the format, which is Deb which
is dot d e b which basically stands for
Debian
Now here we can confirm that. Yeah, this
is what we need to install into our debian-based operating
system similarly in case you want to
install the Android package. You would use dot APK
in case you need to install a iOS
package. You would be installing dot
IPA.
Now we need to download this into a computer now we
can see this belongs to Debian.
And now we have to download this and install
it using dpkg.
So here it
mentions and strongly suggest that we use package
managers to install curl, but we
will download the requested file, which
is cool. And this is how it looks like
Now we have successfully downloaded the latest version
of girl seven point $52.1 which
is for Debian AMD 64
architecture. And this is dot Deb
as I've already expressed. This is for Debian based
systems. Now, you need to open up your terminal
and you simply have to type dpkg hyphen.
I when I stands for install
And the path of the package that
you need to install which is curl in
our case which have which we have just downloaded.
Now you can see it did not
install and there are some messages that we
can see onto the screen which is dependency problems
prevented configuration of curl.
We can clearly see that curl depends on lip curl
three version.
Which is not installed into a computer.
so we can confirm over here that
whatever packages we would like to install using dpkg
manually will give
us broken dependencies. And the
conclusion is that we need to install manually
all the required dependencies to
successfully install a specific tool
that we want like curl for example.
So what is the alternative to it we are going to instead
use apt and the command is super simple,
which is apt-get install and
the package name, which is curl.
this will automatically install all the dependencies required
for girl and
Successfully install and finish it as you can
see over here. So we have now curl installed
without manually installing the
dependencies and we can confirm that curl
is installed by running the command curl. Let
us also see The Help menu and we can see yeah,
it is successfully installed. Let us see
the version and here we can see. Yeah, this is actually the
latest version which is 7.74.0.
This is it for this lesson. I hope you guys understood there
is a easier way to
install your packages then dpkg if you want to do it
manually definitely you can but you have
to install all the dependencies one by
one manually, which can be a tiring task
for you.
So this is it for this lesson? I hope you guys understand. Thank
you.