ubuntu system installation software problems summary

When installing a software update due to system software and reason, and sometimes do not know what the specific name of the software is that how to install this software?
1. Use the software dev apt-get install
to install the software in general is the command:
sudo apt-get install ***
such as installing libboost_system:
sudo apt-get install libboost_system
but could not find it easy to find this software, which is the emergence of the following questions :
Reading package Penalty for Lists ... Done
Building dependency Tree
Reading State Information ... Done
E: Unable to the locate package Penalty for for libboost-filesystem
is the name of the installation is not (usually the version number problem), so in order to find the installation package corresponding name, enter the following command:
APT-File Update the sudo
the sudo-APT-File Search system for libboost
will list corresponding to the package name of the system, to install one:
for libboost-dev-filesystem: / usr / Share / DOC / for libboost-dev-filesystem /changelog.gz
for libboost-dev-filesystem: / usr / Share / DOC / dev-filesystem for libboost-/ Copyright
filesystem1.58-dev-for libboost: /usr/share/doc/libboost-filesystem1.58-dev/changelog.Debian.gz
for libboost-filesystem1.58-dev: /usr/share/doc/libboost-filesystem1.58-dev / Copyright
for libboost-filesystem1.58.0: /usr/share/doc/libboost-filesystem1.58.0/changelog.Debian.gz
for libboost-filesystem1.58.0: /usr/share/doc/libboost-filesystem1.58.0/copyright
for libboost-filesystem1. 58.0: /usr/share/lintian/overrides/libboost-filesystem1.58.0
installation command or above:
sudo install APT-GET-System for libboost-dev
Note: compared with the beginning can not find the package, pay more here in the last "- dev ".

2. Use dpkg deb install uninstall software
installation: sudo dpkg -i * deb
uninstall: sudo dpkg -r software name
to view related software name: sudo dpkg -l | grep name of the software related words
eg: sudo dpkg -l | grep connect
output: ii easyconnect 7.6.3.0.86415 amd64 support access to ssl vpn
uninstall: sudo dpkg -r easyconnect

Guess you like

Origin blog.csdn.net/wangshuailpp/article/details/85173097