If you have graphical interface for Ubuntu, you probably want to run synaptic, but sometime you don't and then it is good to know you Debian packages commands.
Update local cache of available packages
$ sudo apt-get update
Search after package
$ sudo apt-cache search <search_string>
Find out if a package is installed
$ sudo dpkg -s <package_name>
To install package
$ sudo apt-get install default-jdk
Get information about installed packaged
$ sudo dpkg -s <package_name>
Uninstall package
$ sudo apt-get purge <package_name>
No comments:
Post a Comment