zhaoJian's Tech Notes

Common Ubuntu Linux Install and Uninstall Commands

Technology ~839 words · 3 min read - views

Install software

apt-get install softname1 softname2 softname3……

Uninstall software

apt-get remove softname1 softname2 softname3……

Uninstall and remove configuration

apt-get remove --purge softname1

Update software information database

apt-get update

Perform system upgrade

apt-get upgrade

Search for software packages

apt-cache search softname1 softname2 softname3……

Install deb software package

dpkg -i xxx.deb

Remove software package

dpkg -r xxx.deb

Remove with configuration files

dpkg -r --purge xxx.deb

View software package information

dpkg -info xxx.deb

View file copy details

dpkg -L xxx.deb

View installed software package information in system

dpkg -l

Reconfigure software package

dpkg-reconfigure xxx
Share:

Comments