Some insights from Ubuntu


This article helps me record some common commands.


sudo  apt-cache show  packge

View package dependencies and information

sudo apt-get install packge

Install a package

dpkg -i packge

Install the package of DEB and the package formulated by Ubuntu

Some problems about source code compilation and installation
Download some compressed packages. Please read readme. There will be methods in it
Make requires a corresponding make file.

Recommended Today

C + + : file operation

File operation is an indispensable part of program development. Any software that needs data storage needs file operation. File operations include opening, reading and writing files. (1) Stream class library in C + + C + + language defines special class libraries for standard input and output of different types of data. The class libraries […]