[Ilugc] FOSS Project

  • From: knura@xxxxxxxxx (Arun Khan)
  • Date: Tue Mar 24 15:33:42 2009

Hi Sharukh,

It is great that you are making an effort to embrace FOSS.  

However, there are a few things that you will need to do before you are 
upto speed on any Linux distribution.

On Tuesday 24 Mar 2009, Shahrukh Khan wrote:


But i dont know the location of php source directory and i installed
magickwand thro 'yum'.
I didnt know exactly where yum has placed the files of MagickWand.

From this thread and your past postings, I think you need to work on the 
following points. 

1. Build up basic knowledge of the package manager that distribution 
uses (deb, rpm, tar.gz etc.).  Specifically to Fedora, rpm is the 
package manager rpm --help will give all the options.  Experiment with 
each option and analyze the output.  Likewise, read up on yum for 
Redhat/Fedora, zypper for openSUSE, the set of apt commands for Debian 
based distributions. 

2. Build up basic knowledge of networking - not the kernel IP stack but 
how networks are put together.  Most developers I have come across are 
clueless about networking.  Again, this will make you a better 
developer because you will understand how the application you are 
writing must work in a networked environment.  

3. Build up basic knowledge of System Admin.  IMO, every developer must 
know basic sys admin.  With admin knowledge you will be a better 
developer and think about writing secure applications from ground up 
and not an afterthought.  You will also be able to install/remove 
packages without going through rounds of questions on the mailing list.

Each distribution comes with documentation about itself.  Please start 
reading them up. 

At a minimum create a list of the installed packages:

a. rpm -qa --pipe=sort > installed_rpms whenever you install/delete 
packages.  Want to know if a package is installed? 
egrep -i "package_name" installed_rpms!

b. Install find-utils or equivalent and use the "locate -i " to search 
for files.  Also run updatedb whenever you install/delete packages, 
this will update the db for the locate command.

c. when you know the file name and want to know the package it belongs 
to do "rpm -qf /path/to/filename"

d. read up on --queryformat option of rpm and start creating customized 
reports of your installation.


IMO, the above will help you "help yourself"

-- 
Arun Khan

Other related posts: