You can install other Repositories for e.g. if u r using Fedore core 8 open terminal give ip add & Dns, gateway according ur ISP then type below command. To Install & use livna server's Rpm's
To Install Livna's Repositories
rpm -ivh http://rpm.livna.org/livna-release-8.rp
Now u r ready to install any rpm which are availabe on livna server.
e.g. u want to install xmms and samba from yum server
open terminal then type
1. yum install xmms*
2. yum install samba*
It will take few time to search & install.To installation Press Y
You can also rpmfusion Repositories for install rpmfusion's RPMs.
For Fedora 8, 9 or 10
rpm -ivh http://download1.rpmfusion.org/free/fed
For RHEL5 or CentOS
rpm -ivh http://download1.rpmfusion.org/free/el/
For Fedora Alpha, Beta, Preview, Rawhide, RC, Snapshot aka. Fedora 11:-
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
To Save Yum Package in your PC/Server:-
Step1:-
vi
/etc/yum.conf
replace in /etc/yum.conf
keepcache=1
save and exit
Step2:-
Now you can get your packages from/var/cache/yum/
Default Sample file of /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# Don't check keys for localinstall
gpgcheck=0
plugins=1
metadata_expire=1800
# Changed this because some mirrors go down and then
# re-trying takes forever.
timeout=7
Note:-Where meaning of above options in yum.conf
- cachedir
- Directory where yum should store its cache and db files packages. The default is '/var/cache/yum'.
-
- keepcache
- Either '1' or '0'. Determines whether or not yum keeps the cache of headers and packages after succesful installation. Default is '1' (keep files)
-
/var/cache/yum/- By default,
Yumstores temporary files under the directory -
- debuglevel
- debug level. valid numbers are 0-10. default is 2.
-
- logfile
- Full directory and file name for where yum should write its log file.
-
another debug level. valid numbers are 0-2. default is 2
logfile
Full directory and file name for where yum should write its log file.
- pkgpolicy
- newest or last - Package sorting order. When a package is available from multiple servers, newest will install the most recent version of the package found. last will sort the servers alphabetically by serverid and install the version of the package found on the last server in the resulting list. If you don't understand the above then you're best left not including this option at all and letting the default (newest) occur
-
- distroverpkg
- The package used by yum to determine the "version" of the distribution. This can be any installed package. Default is 'redhat-release'.
-
- tolerant
- Either '1' or '0'. If enabled, then yum will be tolerant of errors on the command line with regard to packages. For example: if you request to install foo, bar and baz and baz is installed; yum won't error out complaining that baz is already installed. Default to '0' (not tolerant).
Commmand-line option: -t -
- exactarch
- 1 or 0 - set to 1 to make yum update only update the architectures of packages that you have installed. i.e.-- with this enabled yum will not install an i686 package to update an i386 package.
This option only has affect during an update. It enables yum's obsoletes processing logic. Useful when doing distribution level upgrades. See also the yum upgrade command documentation for more details (yum(8)).
- Commmand-line option: --obsoletes
-
- gpgcheck
- Either '1' or '0'. This tells yum whether or not it should perform a GPG signature check on the packages gotten from this repository.
-
- plugins
- Either '0' or '1'. Global switch to enable or disable yum plugins. Default is '0' (plugins disabled). See the PLUGINS section of the yum(8) man for more information on installing yum plugins.
-
- metadata_expire
- Time (in seconds) after which the metadata will expire. So that if the current metadata downloaded is less than this many seconds old then yum will not update the metadata against the repository. If you find that yum is not downloading information on updates as often as you would like lower the value of this option
-
- timeout
- Overrides the timeout option from the [main] section for this repository.
- Enjoy!
Regards,
Rahul Kumar -
