Applications -> Accessories -> Terminal
- Install packages:
aryan@aryan-laptop:~$sudo apt-get install packagename
Example:
aryan@aryan-laptop:~$sudo apt-get install vlc
- Remove packages:
aryan@aryan-laptop:~$sudo apt-get remove packagename
- To remove all dependencies:
aryan@aryan-laptop:~$sudo apt-get autoremove
Example:
aryan@aryan-laptop:~$sudo apt-get remove mpd sbackup
- Search for packages:
aryan@aryan-laptop:~$apt-cache search
Examples:
aryan@aryan-laptop:~$apt-cache search Music MP3
aryan@aryan-laptop:~$apt-cache search "Text Editor"
- Update the apt package database after adding/removing repositories:
aryan@aryan-laptop:~$sudo apt-get update
- Upgrade packages:
aryan@aryan-laptop:~$sudo apt-get upgrade
- Upgrade the entire distribution (e.g. from Intrepid to Jaunty):
aryan@aryan-laptop:~$sudo apt-get dist-upgrade
No comments:
Post a Comment