Thursday, March 15, 2007

how to get a software and what is yum????!

hello every body some of you are asking about how can i install a new software to the linux OS because it's a little new to some of you ,so i'll tell you .There are a program called yum . yum is the program in linux who is responsible of adding new software to the linux operating system and it is very easy there is something called repository (repository is the servers location that conatains the files yum uses to download the program from the internet ) when you install the fedora core 6 (fc6)you just added lots of repositories in the setup those repositories are relative to the core of the OS and its programs and to the updates and also to some of the extras but there is lots of program such as the codecs of the mp3 are not supported that for legal reasons
so there is another repositories that supports that kind of packages one of the biggest repositories is the livna
and you can add those reositories using the livna rpm click on the following link to download the livna repositories adder and then double click on it to add those repositories to your yum the fedora add/remove software will tell that it is not secure never mind about this message and tell him to continue anyway

http://rpm.livna.org/fedora/6/i386/livna-release-6-1.noarch.rpm


now you can use yum and you will find repositories to every thing you want

but how to use yum?
to use yum is very simple but you have to know excactly the package name
you can try googling for it and you will find excactly what is the package name if you know the package name you can then use yum with this commant open terminal and write this

yum install packagename


and it will search the repositories and find the package for you and install it this is very easy

Another way to find a package on the web ?
but if you wanna to install package that is not in your repositories you can do so if you google for it and you found the package int the .rpm format you can download it and then you can run it from your pc just

and you can run it from the shell (terminal) or by the gui to do it in the shell and that what i perefere you can run it using that command

rpm -Uvh packagename.rpm

and the instlation will start



There is also another way to do so ?
there is also some instalation files not in the .rpm format and it calles binnaries and it will be with the .bin format and you can run it directly from the shell goto its location and then i assume that the bin file you but it in the desktop you will write those commands in the shell

cd /
cd root
cd Desktop
packagename.bin
there is another way the software providers provide there packages that they provide there code so that you have to compile the code first to get the binnaries and then install it and now i think i covered every thing you need to install lots of packages isa

walid bakr

No comments: