Thursday, 5 January 2012

Important tools while doing a Build


search a package using apt
sudo apt-cache search <application-name>

sudo apt-get install <application name >

for example during build process it says some file are missing;

Under ubuntu you have this <command>
sudo apt-get install apt-file


Additionally apt-file can be used to list all files included in a package without installing or downloading it.

so you can do

sudo apt-file search  gtk+-2.0
and this gives the package name where its located.


Note:
To display hidden file in ubuntu 11.04
crtl-h  on the viewing folder.

other useful utilities

sudo apt-get install nmap
sudo apt-get install samba swat smbclient










No comments:

Post a Comment