Check Installed Package in Linux

Bismillahirrahmanirrahim….

Masalah: Setiap application/software yang kita install mesti ada components tertentu yang turut diinstall sekali. Macamana kita nak check components ni?*

cara-caranya:
rpm -qa | grep nc

Output:
libfontenc-1.0.2-2.2.el5
ncurses-5.5-24.20060715
nc-1.84-10.fc6
libwnck-2.16.0-4.fc6
evince-0.6.0-8.el5
ncurses-5.5-24.20060715
rsync-2.6.8-3.1
launchmail-4.0.0-2.el5
libwnck-2.16.0-4.fc6
vnc-4.1.2-14.el5_6.6
vnc-server-4.1.2-14.el5_3.1
vim-enhanced-7.0.109-4.el5_2.4z
irqbalance-0.55-10.el5

command ‘rpm -qa | grep nc’ akan memaparkan list komponen yang turut di’install’ bersama package nc. Ini bermaksud semasa anda install package ‘nc’ (yum install nc) anda turut menginstall komponen2 di atas.

*command ini hanya untuk linux Red Hat/Fedora Linux/Cent OS/Suse Linux. Untuk Debian/Ubuntu Linux anda boleh refer di sini.

wassalam..

Advertisements
This entry was posted in Install, Linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s