apt
Using APT - Advanced Package Tool
Installing a package
Removing a package
Removes a package, however it leaves its configuration files on the system
Purging a package
Removes the package and any of its configuration files as long as they are located in /etc
.
If you have configuration files in a location such as /home
those configurations will remain there when using purge.
Remove & Purging a package
You can read more about the differences between purge and remove here apt remove vs apt purge
Upgrade OS run
To upgrade existing package
To install & Remove a package
To search for package
See list of upgradable packages
List installed packages
View package details, version, etc.
Check stats on installed Packages
Show installed packages names
Search for package
Check unmet dependencies
Check Install repos
apt manual pages
Packages installed with apt-get are located in /var/cache/apt/archives
To check Repo sources
Adding Apt Repository In Ubuntu
Resources How-to-add-apt-repository-in-ubuntu
Adding Kali Repository to Ubuntu
Step-1: Install Git
Step-2: Install Python 2.7
Step-3: Install Katoolin
cd ~
sudo git clone <https://github.com/LionSec/katoolin.git>
ls -l
sudo cp katoolin/katoolin.py /usr/bin/katoolin
Make the script executable
Step-4: Launch Katoolin
OR
Step-5: Add Kali Repositories & Update
katoolin - Choose 1 "add Kali Linux repositories" - Choose 1 again "Add Kali Linux repositories"
If you get the error gpg: keyserver receive failed: No name
katoolin - Update repos
- Option 1 "Add Kali Linux repositories"
- Option 2 "Update"
- When done, type gohome to return the katoolin main interface window.