Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. How Do I List All Available Packages?
- apt-cache pkgnames
- 2. How Do I Find Out Package Name and Description of Software?
- apt-cache search vsftpd
- To find and list down all the packages starting with ‘vsftpd‘, you could use the following command.
- apt-cache pkgnames vsftpd
- 3. How Do I Check Package Information?
- apt-cache show netcat
- 4. How Do I Check Dependencies for Specific Packages?
- apt-cache showpkg vsftpd
- 5. How Do I Check statistics of Cache
- apt-cache stats
- 6. How to Update System Packages
- sudo apt-get update
- 7. How to Upgrade Software Packages
- sudo apt-get upgrade
- However, if you want to upgrade, unconcerned of whether software packages will be added or removed to fulfill dependencies, use the ‘dist-upgrade‘ sub command.
- sudo apt-get dist-upgrade
- 8. How Do I Install or Upgrade Specific Packages?
- sudo apt-get install netcat
- 9. How I can Install Multiple Packages?
- sudo apt-get install nethogs goaccess
- 10. How to Install Several Packages using Wildcard
- sudo apt-get install '*name*'
- 11. How to install Packages without Upgrading
- sudo apt-get install packageName --no-upgrade
- 12. How to Upgrade Only Specific Packages
- sudo apt-get install packageName --only-upgrade
- 13. How Do I Install Specific Package Version?
- sudo apt-get install vsftpd=2.3.5-3ubuntu1
- 14. How Do I Remove Packages Without Configuration
- sudo apt-get remove vsftpd
- 15. How Do I Completely Remove Packages
- sudo apt-get purge vsftpd
- sudo apt-get remove --purge vsftpd
- 16. How I Can Clean Up Disk Space
- sudo apt-get clean
- 17. How Do I Download Only Source Code of Package
- sudo apt-get --download-only source vsftpd
- 18. How Can I Download and Unpack a Package
- sudo apt-get source vsftpd
- 19. How Can I Download, Unpack and Compile a Package
- sudo apt-get --compile source goaccess
- 20. How Do I Download a Package Without Installing
- sudo apt-get download nethogs
- 21. How Do I Check Change Log of Package?
- sudo apt-get changelog vsftpd
- 22. How Do I Check Broken Dependencies?
- sudo apt-get check
- 23. How Do I Search and Build Dependencies?
- sudo apt-get build-dep netcat
- 24. How I Can Auto clean Apt-Get Cache?
- sudo apt-get autoclean
- 25. How I Can Auto remove Installed Packages?
- sudo apt-get autoremove vsftpd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement