Packages in Linux
There are various pakage managers in linux.
Here we are using kali linux, a debian distribution
(.deb)
Ways to install packages in linux:
- dpkg
- It is a debian package manager.
- For using dpkg ,we need the .deb file of the particular pakage.
- Command : "sudo dpkg -i <package_name.deb>"
- This is not a efficient way of installing package.
- It is a low level package installing tool.
- apt
- It is a advance package management tool.
- It is very easy to use and handle error.
- Command : "sudo apt install <package_name>".
- There are various packages available in the apt package manager.
- On using certain keyword ,packages can be installed to the machine.
- aptitude
- It is also a advanced package management tool.
- It use gui to install and manage packages.
Using apt to install and manage packages:
- Start VirtualBox and Boot Kali linux.
- Open the terminal in Kali linux.
- Before installing any package a primary step is to update the machine.Since the package manager get update randomly.On updating we can get the latest version of the package.
- To stop a execution : Ctrl+Z
Using apt to remove packages:
No comments:
Post a Comment