Packages come
in two formats in Gnu/Linux
1.) rpm
packages.
2.) Source
packages.
In this
document we will be installing source packages.
Source
packages generally come in 2 compressed formats
xmms-1.2.10.tar.bz2
–compressed with bunzip(bzip)
xmms-1.2.10.tar.gz
–compressed with gunzip(gzip)
and others
also
1.)first of all
we need to extract these packages .
so copy the
packages in your Gnu/Linux partition. for example in /plugins directory.
go to that
directory and extract them as follows
[root@gaurav
root]# cd /plugins/
[root@gaurav
plugins]# tar xjf xmms-1.2.10.tar.bz2
[root@gaurav
plugins]#
OR
[root@gaurav
root]# cd /plugins/
[root@gaurav
plugins]# tar xvzf xmms-1.2.10.tar.gz
[root@gaurav
plugins]#
here we pass
the arguments
xjf –for
uncompressing packages of the type (.tar.bz2)
xvzf –for
uncompressing packages of the type (.tar.gz)
more on these
attributes can be found by
[root@gaurav
root]# man tar
if the
packages are in some another format then u can extract them also by
a.)copy the
package in your Gnu/Linux partition
b.)Right click
on the package
c.)choose
extract here
this method
surely takes some time more that the command line version but if you are having
any problems in extracting
with the command line then u may proceed in this manner
2.)after packages
have been extracted then u need to compile them and then install these.
you can go
through a file Readme or INSTALL
in all the
install readme files you will find the procedure for installing source packages
I am briefing
the procedure down here
a.) go to the
directory containing the extracted packages
[root@gaurav
root]# cd /plugins/xmms-1.2.10
[root@gaurav
xmms-1.2.10]#
b.) ‘./configure’
will check if the files necessary for installation are available or not
[root@gaurav xmms-1.2.10]#
./configure
c.)’ make’ will
compile the package
[root@gaurav
xmms-1.2.10]# make
d.)’make install’
will install the executable in ‘/usr/local/bin’ (generally)
after these
you can run your new packages by their name only or by giving the full path
[root@gaurav
xmms-1.2.10]# xmms
OR
[root@gaurav
xmms-1.2.10]# /usr/local/bin/xmms
Read more