#dpkg –get-selections : to list installed packages
#dpkg -L php5-gd : to list the location of files in an installed package.
#apt-get remove pkgname : to remove a package (without removing config files.)
#apt-get clean : to clear cache
#apt-get update : to update repos
#dpkg -l pkgname : to find if a package is present.
#apt-get install <pkg name> : to install a package
/var/lib/dpkg/status : file in which the dpkg determines the installation status of pkgs.
#apt-cache search [pkg name] : search for an available package
#dpkg –list : To list installed packages with description.
To Add Repositories in Debian :
The /etc/apt/sources.list file contains the details for each available software repository. This file can either be edited manually or it can be modified by using a graphical manager. Examples for both are provided below. All entries in the sources.list file follow a format with 4 distinct regions: package type, web address (URL), distribution, and section(s). One or more sections can be included.
After Installing a recent Ubuntu
1. Update – #apt-get update
2.Install Codecs – #apt-get install ubuntu-restricted-extras gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg
3.Install Adobe Flash – to use youtube
4.Use Ubuntu One – to use free 5 GB cloud storage.
5.Install MyUnity for Ubuntu 11 or higher – #apt-get install myunity :- (for Ubuntu 12)
Top Utilites for Linux
1.Wireshark – Network packets sniffer
2. WindirStat – disk usage manager
3.GParted – Partition Manager
4.ClamAV – Scan Windows Harddrive from Ubuntu.
5.Insync – To Bring Google Drive on Ubuntu.
6.Wine – Use windows programs on Ubuntu
1. Ufo Alien Invasion
4.SuperTuxCart – Racing
5.Battle for Wesnoth – Strategy War Game
6.Botanicula – Paid
8.Dear Esther – Paid
if you wish to circumvent the Ubuntu security standard and revert to the old practice of allowing
rsync as root, this command will open it up for a new instance of the official Ubuntu images:
ssh -i KEYPAIR.pem ubuntu@HOSTNAME 'sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/'
Find out line that read as follows:
Set it as follows:
Find out line that read as follows (this line may not exists in your configuration):
DenyUsers root user2 user3
Set is as follows:
DenyUsers user2 user3
Save and close the file. Restart the sshd: