PDA

View Full Version : How to use YUM to install and uninstall packages


imdeemvp
1st November 2004, 11:05 AM
Introduction

To update the system applying the most recent corrective patches of security and to the operating system is not as difficult as many do not suppose, nor either must be a hell of dependencies between packages RPM as some others argue. The reality of the things is that it is much very simple and single requires of good bandwidth or very many patience. Next we presented/displayed the procedures to use yum and to make easily what some denominate "horrible, difficult and complicated ".

Please note there are some changes that apply to Fedora Core 3. You will need to install GPG Key for yum in FC3. (http://fedoranews.org/tchung/yum-gpg/)

Creating Yum Repo's For FC3. (http://www.fedoraforum.org/forum/showthread.php?t=27279)

To update system. Update of the system with all the dependencies that are necessary:
yum update

Searches. To make a search of some package or term in the data base in some of the formed deposits yum in the system:
yum search any-package
Example:
yum search httpd

I hope this will help you understand how to use yum more effeciently. Any erros in this how please notify me.
Consultation of information. To consult the information contained in a package in individual:
yum info any-package
Example:
yum info httpd

Installation of packages. Installation of paquetería with automatic resolution of dependencies:
yum install any-package
Example.
yum install gkrellm

Uninstalling packages. Desinstalación of packages along with everything what it depends on these:
yum remove any-package
Example.
yum remove gkrellm

Listing Packages. The following thing will list all the packages available in the data base yum and that can settle:
available yum list|less
The following thing will list all the packages installed in the system:
yum list installed|less
The following thing will list all the packages installed in the system and that can (they must) be updated:
yum list updates|less

Cleaning of the system.

Yum leaves as result of its use heads and packages RPM stored in the interior of the directory located in the route /var/cache/yum/. Particularly the packages RPM that have settled can occupy much space and is by such reason agrees to eliminate them once no longer they have utility. Also it agrees to do the same with the old heads of packages that no longer are in the data base. In order to make the corresponding cleaning, the following thing can be executed:
yum clean all

Group install
yum groupinstall "groupname"
Dont forget the quotation marks for group install.

I hope this will help you understand how to use yum more effeciently. I did this for our newbies that may want to uninstall packages which is not mention in the fedora FAQ. For more info on yum go here: http://www.fedorafaq.org/#installsoftware

ilja
1st November 2004, 11:16 AM
Great howto.
One tip, you can use also joker-signs as * or ? e.g.

yum install gkrellm*

will install gkrellm, gkrellm-plugins, gkrellm-misc-plugins etc.

And to install/remove you have to be root! Not for searching.

imdeemvp
1st November 2004, 11:43 AM
Thanks for the tip. ;)

foolish
1st November 2004, 02:02 PM
Here's more:

To search in package names only, use yum list. This differs from search in that it's much faster, as it will search package names only, while yum search will search all the package info, including package description.

yum list something

Example

yum list mozilla


To get the name of the package containing a given file:

yum provides filename

example:

yum provides /usr/bin/mozilla


Here's some new goodies in yum 2.2 (Fedora Core 3 and beyond)

To get a list of packages updated/added to any of your repositories recently:

yum list recent


To enable a repository which is disabled in the configuration:

yum --enablerepo=reponame install packagename


example

yum --enablerepo=dag install j2re


To list available software groups, such as GNOME desktop environment or X window system. This is also available in the Core 2 yum, but servers doesn't use this wonderful feature much.

yum grouplist


To install such a group:

yum groupinstall "groupname"

Example:

yum groupinstall "GNOME Desktop Environment"

And to update a group

yum groupupdate "GNOME Desktop Environment"



And remember folks, you can always use -y to say yes to everything, and -C to use the cache only.

imdeemvp
2nd November 2004, 08:40 AM
Thanks again for the add-ons. :)

sayeeth
2nd November 2004, 09:19 AM
YUM is a delicious treat indeed. I never knew it had so much to it. Thanks imdeemvp and foolish! :)

tashirosgt
8th November 2004, 05:06 PM
Whoever gave that recommendation to the effect that "here are the only three repositories that yout need to get all the good add-ons", please repeat it here. I didn't find it by searching the forum messages.

ewinandar
9th November 2004, 05:48 AM
Thanx for the kind to share this information :-)

regards,
newbie

ewinandar
13th November 2004, 03:50 AM
Dear All,
since i'm a newbie :-)

I've got problem when using yum command.

The error seems because of need to connect to www.redhat.fedora.
is it suppoused to connect?

imdeemvp
13th November 2004, 09:12 AM
ewinandar, to do your updates you need to have an internet connection...do you?

loninappleton
14th November 2004, 10:32 PM
why do my yum requests always hang?

I have tried to yum specific files repeatedly and the progress bar just hangs: no error shown with things
like 1 sec ETA.


Distro is Fedora Core2




What is going on with this?


thanks


lon@athenet.net

imdeemvp
14th November 2004, 11:07 PM
It happens to everyone not just use. I get that a lot and I have a dsl connection. If i see stay there for more then 10 mins. than I close terminal and restart yum update or whatever.

ewinandar
17th November 2004, 02:43 AM
So i have to connect to internet in order to be able to use yum.

Thanx for the info.

imdeemvp
17th November 2004, 09:52 AM
Yes, you have to be connected to keep your system up to date.

Tru
17th November 2004, 02:56 PM
Hey imdeemvp and loniappleton, I also had same problem in fc2, but now in fc3 with the way they have yum working it is much faster and it rarley if ever hangs it is very nice I remeber with fc2 usally it always hung on the first try.

imdeemvp
17th November 2004, 07:04 PM
I know and I finally got yum repo's settup. I dont know what took me so long to figure it out :D

brlmedia
19th November 2004, 07:28 PM
hi all, i'm banging my head here, lol, sorry i posted this in a wrong forum, i have downloaded the yum.conf file from the fedora site, i read about installing the gpg key, and ran the command to install it as well, and then i run yum update or yum list available and get the following errors:

[root@MSHOME ~]# yum list available
not using ftp, http[s], or file for repos, skipping - #http://livna.cat.pdx.edu/fedora/3/i386/yum/stable
not using ftp, http[s], or file for repos, skipping - #http://livna.cat.pdx.edu/fedora/3/i386/yum/unstable
not using ftp, http[s], or file for repos, skipping - #http://livna.cat.pdx.edu/fedora/3/i386/yum/testing
Repository updates-released already added, not adding again
Repository base already added, not adding again
Error: Bad repository file ///etc/yum.repos.d/freshrpms.repo. Skipping
Setting up Repo: dag
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: atrpms-stable
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: fedora-unstable
Cannot open/read repomd.xml file for repository: fedora-unstable
failure: repodata/repomd.xml from fedora-unstable: [Errno 256] No more mirrors to try.


now i saw and followed the tutorial at http://www.fedoraforum.org/forum/showthread.php?t=27279

so am i missing something?

thanks from a fedora newbie

xman65
19th November 2004, 07:41 PM
I'm having a difficulty where I run 'yum -y update' and it searches through the repositories then comes back with about 8 dependency failures and doesn't update anything. I did an update from FC2 to FC3 (so as to not lose everything). Anyway to force yum to update everything?

imdeemvp
19th November 2004, 07:47 PM
I am using this wihout a problem:
[livna-stable]
name=Livna Stable
baseurl=http://rpm.livna.org/fedora/3/i386/RPMS.stable/
enabled=0
gpgcheck=0

I dont use testing or unstable......so try it again.

as you can see here I installed xmms wihout problems:

[root@myfc3 imdeemvp]# yum install xmms
Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Install Process
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
updates-re: ################################################## 210/210
base : ################################################## 2622/2622
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package xmms.i386 1:1.2.10-9 set to be installed
--> Running transaction check

Dependencies Resolved
Transaction Listing:
Install: xmms.i386 1:1.2.10-9
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xmms 100 % done 1/1

Installed: xmms.i386 1:1.2.10-9
Complete!
[root@myfc3 imdeemvp]#

BUT NOTE I EDITED THE MY HOW TO....creating the repos.

smfinley
21st November 2004, 05:53 PM
There are potential problems with livna.org and other repositories. Read: http://dag.wieers.com/home-made/apt/FAQ.php#D

imdeemvp
3rd December 2004, 02:41 AM
Yes I noticed that too....its faster in FC3.

snampall
4th May 2005, 10:50 PM
Please explain in layman terms how to configure yum.conf to update/install new packages as I m new to FC3 as well as linux. I just installed FC3. I couldn't find a right 'how-to' for this.

Please give examples of what to add to the yum.conf file to add respositories. I don't mind using freshrpms.

thanks

OberonKenObi
5th May 2005, 09:32 AM
Hi snampall and all others

Im a relative newbie too, but this is my take on it. Any line beginning with a # is a comment, its ignored by the program but is just a human readable reminder of whats going on there.
Just cut and paste from here , if you dont already have this.
This is a straight copy of the yum.conf from redhat i think god ive been to so many sites tonight I forget.

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.di

# This is a yum.conf for Fedora Core 3.
# It uses Fedora mirrors to make things faster,
# since the main Red Hat Fedora site is pretty slow.
#
# Also, if you look down in the "Alternate Repositories"
# section, you'll notice some disabled repositories.
# If you want to use them, just do:
#
# yum --enablerepo <reponame> <command>
#
# Where <reponame> is the name of the repo, and <command>
# is your normal yum command.
#
# Authors:
# Maxwell Kanat-Alexander (max at fedorafaq dot org)
# Sindre Pedersn Bjørdal (foolish at fedorafaq dot org)
#
# Date: 6 February 2005
#
# Changes
# -------
# 6 February 2005
# + Fedora Extras!
# + Dries Mirrors
# + Fixed a Livna mirror.
# 26 November 2004
# + Updated ATrpms per Axel Thimm's request.
# 22 November 2004
# + Updated for Fedora Core 3
# 04 November 2004
# + Fixed and checked-over for publishing
# 17 July 2004 (Sindre)
# + Replaced Base, debug, updates-released and updates mirrors with faster ones.
# + Added the official servers to base and updates, commented of course.
# + Tested all non-commented parts, everything works.
# 29 May 2004
# + Tested commented-out parts: all work except subpop.net
# + Livna and NewRPMs mirrors!
# 22 May 2004
# + Incorporated Darrenn's fixes for Fedora Core 2!
# + Commented-out parts may still not work properly
# 29 Feb 2004
# + Updated a lot of mirrors, for speed
# + Fixed one ATrpms mirror
# + Added Dries and spc, two more FreshRPMs-compatible repos
# 9 Jan 2004
# + Updated ATrpms for their new directory structure.
# 31 Dec 2003
# + Added JPackage, commented out
# + Standard Red Hat Fedora Core sites commented-out by default

# + Removed dulug from debug, since it doesn't have debug
# 29 Dec 2003
# + Added mirrors for the flash-plugin, since some go down.
# + Added base-debuginfo, commented out

# comment by OberonKenObi you need this bit below always
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=0
# Added this because some mirrors go down and then retying takes forever.
retries=1
timeout=10

# Basic Repos are in /etc/yum.conf.d/ #


###################
## Fedora Extras ##
###################
# comment by OberonKenObi and at least one of these below to actually update from
# nebies like us should only go for repos that say stable, shy away from testing, bleeding or unstable :+)
[extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://fr2.rpmfind.net/linux/fedora/extras/$releasever/$basearch/
http://mirrors.kernel.org/fedora/extras/$releasever/$basearch/
http://mirror.hiwaay.net/redhat/fedora/linux/extras/$releasever/$basearch/
http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
# http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
gpgcheck=0
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras

###############
## Livna.org ##
###############

[livna-stable]
name=Livna.org - Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.stable
gpgcheck=1


#[livna-unstable]
#name=Livna.org - Fedora Compatible Packages (unstable)
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable
# http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable
#gpgcheck=1

#[livna-testing]
#name=Livna.org - Fedora Compatible Packages (testing)
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.testing
# http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.testing
#gpgcheck=1


############
# Jpackage #
############

# JPackage is a GREAT repository for Java Software.
# However, you may have to compile some SRPMs to use it,
# so it's commented out by default. See
# <http://mirrors.sunsite.dk/jpackage/1.6/generic/non-free/SRPMS>
# For the SRPMs, and <http://www.jpackage.org/rebuilding.php> for
# the general details.
#
# Note: JPackage IS compatible with the fedora.us repositories.
# You can use JPackage and fedora.us at the same time, without
# any trouble. It's also compatible with the Alternate Repositories,
# for the most part.

#[jpackage-generic]
#name=JPackage Cross-Platform Packages
#baseurl=http://mirrors.sunsite.dk/jpackage/1.6/generic/free
# ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/generic/free
# http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/generic/free
#failovermethod=priority
#enabled=0
#gpgcheck=1

[jpackage-fedora]
name=JPackage Fedora Packages
baseurl=http://mirrors.sunsite.dk/jpackage/1.6/fedora-$releasever/free
ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/fedora-$releasever/free
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/fedora-$releasever/free
failovermethod=priority
enabled=1
gpgcheck=1


############################
## Alternate Repositories ##
############################

# To use these repos, either use the --enablerepo
# command-line argument to yum, or change "enabled=0"
# to "enabled=1". Note: Some packagesfrom these repositories
# may conflict with the fedora.us packages. If you use these
# repositories, you may wish to disable the fedora.us and
# livna.org repositories.

[freshrpms]
name=FreshRPMs
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=0
gpgcheck=1

[dag]
name=Dag APT Repository
baseurl=http://dag.freshrpms.net/fedora/$releasever/en/$basearch/dag/
http://dag.atrpms.net/fedora/$releasever/en/$basearch/dag/
http://ftp.heanet.ie/pub/freshrpms/pub/dag/fedora/$releasever/en/$basearch/dag/
enabled=0
gpgcheck=1

[dries]
name=Dries APT/YUM Repository
baseurl=http://ftp.freshrpms.net/pub/dag/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
http://mirrors.ircam.fr/pub/dag/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
http://apt.sw.be/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries/RPMS/
enabled=0
gpgcheck=1

#[newrpms]
#name=NewRPMs
#baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
# http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
#enabled=0
#gpgcheck=1

#[atrpms]
#name=ATrpms - Stable
#baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable
# http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-stable
# http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-stable
#enabled=0
#gpgcheck=1

#[atrpms-testing]
#name=ATrpms - Testing
#baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-testing
# http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-testing
# http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-testing
#enabled=0
#gpgcheck=1

# Warning: Don't enable this "bleeding" repo if you want stable software!
#[atrpms-bleeding]
#name=ATrpms - Bleeding
#baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding
# http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding
# http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-bleeding
#enabled=0
#gpgcheck=1
###################
## Miscellaneous ##
###################

# Semi-official Macromedia repository containing the flash-plugin rpm.
[flash]
name=macromedia.mplug.org - Flash Plugin
baseurl=http://macromedia.mplug.org/apt/fedora/$releasever
http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever
http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever
http://macromedia.rediris.es/apt/fedora/$releasever
enabled=0
gpgcheck=1


The comments the authors put in seem pretty self describing
Now, there may be some oversights or repos that conflict but I've had no problems yet and what I have works and Im not going to try to fix it till I learn more.
Hope this helps

Regards
Allan

D_U
11th May 2005, 03:14 PM
guys, can I install with yum from the fedora CD's?

imdeemvp
12th May 2005, 09:06 AM
guys, can I install with yum from the fedora CD's?
It takes place during the installation. You use yum by using the terminal.

sined85
12th May 2005, 02:40 PM
Thanks guys for such an information! But do I have to install updates after they downloaded to my pc? thnks again

imdeemvp
12th May 2005, 07:18 PM
Thanks guys for such an information! But do I have to install updates after they downloaded to my pc? thnks againIf you are using YUM it will install all the updates and dependencies after they are downloaded. Of course, you have to type: "y" to agree.

D_U
14th May 2005, 09:16 PM
It takes place during the installation. You use yum by using the terminal.
the initial install. i have lost GNOME 2.8 after an unsuccesfull upgrade, and i want to reinstall it from the CD's

andekhi_ti
7th July 2005, 05:30 AM
guys, i have tried yum and i got this following error :
yum update
Setting up Update Process
Setting up Repo: livna-stable
Cannot open/read repomd.xml file for repository: livna-stable
failure: repodata/repomd.xml from livna-stable: [Errno 256] No more mirrors to try.
You have new mail in /var/spool/mail/root
what should i do then?

nuaing
7th July 2005, 06:02 AM
ewinandar, to do your updates you need to have an internet connection...do you?

imdeemvp...
I've post a thread http://forums.fedoraforum.org/forum/showthread.php?t=62480

the point is at home I do not have an internet connection, I downloaded extras, developments, and upgrade from my office.... To have some extras installed in my Fedora Core 4 box, I do some commands like: rpm -Uivh filename.rpm....

some successfully installed but some always dealt with dependency....

I've tried to download all of the extras (takes 1.3 GB!!! for almost a night! :D I am using dual 128 Kbps)...

the question is can I set the yum.conf in order to use yum command to the local storage (I put theese 1.3 GB extras on my 120 GB HDD)...

Friends in my last post (http://forums.fedoraforum.org/forum/showthread.php?t=62480) suggest it is possible... but I have not tried that since I need the conf that I found in your post.. is it possible to use yum in local environment since I have downloaded all the extras, devel, and upgrade?

imdeemvp
7th July 2005, 09:09 AM
You actually need an internet connection....and to be honest I dont have or know the answer to your post.

andekhi_ti
7th July 2005, 11:44 AM
You actually need an internet connection....and to be honest I dont have or know the answer to your post.
but i already have internet connection.. then i try using
http_proxy=192.168.0.1:3128
export http_proxy
then i tried yum again :
yum list
Traceback (most recent call last):
File "/usr/bin/yum", line 8, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 51, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 133, in getOptionsConfig
self.conf = yumconf(configfile = yumconffile, root=root)
File "/usr/lib/python2.3/site-packages/yum/config.py", line 211, in __init__
doRepoSection(self, self.cfg, section)
File "/usr/lib/python2.3/site-packages/yum/config.py", line 313, in doRepoSection
mirrorurls = getMirrorList(mirrorlist)
File "/usr/lib/python2.3/site-packages/yum/config.py", line 390, in getMirrorList
fo = urlresolver.urlopen(url)
File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 427, in urlopen
return default_grabber.urlopen(url, **kwargs)
File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 555, in urlopen
return self._retry(opts, retryfunc, url)
File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 527, in _retry
return apply(func, (opts,) + args, {})
File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 554, in retryfunc
return URLGrabberFileObject(url, filename=None, opts=opts)
File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 703, in __init__
self._do_open()
File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 747, in _do_open
fo, hdr = self._make_request(req, opener)
File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 823, in _make_request
fo = opener.open(req)
File "/usr/lib/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 491, in <lambda>
lambda r, proxy=url, type=type, meth=self.proxy_open: \
File "/usr/lib/python2.3/urllib2.py", line 498, in proxy_open
if '@' in host:
TypeError: iterable argument required

i'm very confused right now??

newbie2fedora
19th July 2005, 07:23 PM
Hi

Use Ark LInux....your life will be much easier:)
Ark uses Synaptic for RPMs and is incredibly easy to operate and use.
Check out www.arklinux.org

The next release should be out very soon!
See
http://forums.fedoraforum.org/forum/showthread.php?t=58814&highlight=ark+linux

ace2005
19th July 2005, 08:12 PM
Yumex is a good package manager which i use, try it, its like synaptic for yum

sayeeth
20th August 2005, 10:32 AM
I'm actually curious to know what are the available yum groupinstalls available. I did a man yum and didn't get enough information. I find the concept of installing via yum groupinstall easier than add/remove packages. Any one has any idea on the lists available? Please follow up on this thread. Thank you.

bigmacbb63
10th March 2006, 04:27 AM
I have downloaded FC4 but dont know how to install it? Can someone help me? Thanks

bigmac_bb63@yahoo.com
Robert McLachlan

dewangpm
19th April 2006, 03:07 PM
yum --enablerepo=reponame install packagename

when we enable some repo using above command .........DO WE NEED TO DISABLE OTHER REPO FIRST?

because in my yum configuration Livana is disabled? thanks to Stanton Finley installation guide. How to use disabled repo with possible nightmare..........

Please give detail commands.

thanks
Dewangpm

achidlow
30th April 2006, 11:21 AM
Hey guys, for those of you who prefer to work with a GUI (Graphical User Interface), all you have to do is type one command,
su -c 'yum -y install yumex'
and then enter the root password at the prompt.
(first making sure you are connected to the internet and are not behind a proxy. if you are behind a proxy then click here (http://www.fedoraforum.org/forum/showthread.php?s=&threadid=742) here for a soloution.)
once that has finished and the prompt:
["yourusername"@"your-computername" "your current working directory'] $
to use Yumex (short for Yum Extender), if you use Gnome for your desktop environment, in the Gnome menu (that windows-esque toolbar at the top of your screen) will be under Applications -> System Tools. (Not to sure where it would be if you use KDE instead, prehaps someone who uses Yumex and KDE could post that?)

achidlow
30th April 2006, 11:27 AM
oh and when you load it, be patient, it takes a while to get the data from the servers, youll see down the bottom theres a large lightbulb that will tell you what its doing, and also after you do something like install, update or remove, it checks with the servers again to see if theres anything new. there is no way around having it refresh everytime that i know of, sorry, youll just have to be patient. Enjoy!

fizy
24th July 2006, 08:14 PM
I have no internet connection, would YUM be of any use to me?
If yes how? if no what are the other alternatives?

jr_yeo
4th August 2006, 08:35 PM
I'm actually curious to know what are the available yum groupinstalls available.
type 'yum grouplist' to se the list of groups available for groupinstall :D

jr_yeo
4th August 2006, 08:37 PM
when we enable some repo using above command .........DO WE NEED TO DISABLE OTHER REPO FIRST?
i think... no need :p

dpac
17th December 2006, 03:26 AM
I am new to using yum....Here is my question:

I installed mysql server using yum but now I wanted to do some post installation steps. The instruction that has been given in the mysql manual asumes that I have used rpm and have downloaded the install files in a particular directory and need to go to that dir where the rpm has been downloaded and ran from.

So where does yum download the install files?
So where can I find mysql_install_db file if anyone has exactly installed the mysql server using yum, and done all the post install steps?

bigmacbb63
17th December 2006, 06:06 PM
I have no internet connection, would YUM be of any use to me?
If yes how? if no what are the other alternatives?


Hi bugmenot,
ummm, you need to be able to be connected to the internet for any repository to work?
sorry about that? That's just what FC requires.

bigmacbb63 :cool:

bigmacbb63
17th December 2006, 06:12 PM
Hi dpac,
You need to be able to connect to repositories on the internet through any browser.
Typically if I am looking for a program I'll go to Firefox and there is a connection right there on the task bar to connect to the extras repositiory. Are you using yum or apt? It does make a difference you can't use both it won't work.

Anyway, once you find that out you can just:
apt get - install (package-name) or yum -y install (package-name) on the command line.

If you need further help I'll be available as well as the whole community.

bigmacbb63

dpac
18th December 2006, 02:52 AM
Hi bigmacbb63,

I already know that using yum install [package name] will install the package but how do I know where the packages are in my server i.e. how do get to the install files as I wanted to find out a particular file in the installation package for the mysql installs. Does yum not uncomparess in temp location and install a package during installation? how does yum installation exactly work? Is it similar to installing a zip installation file in windows - i.e. as winzip will actually uncompress the file zip installation file in the windows 'temp' dir and then run setup.exe and goes ahead with the installation, is the yum installation similar to this? does yum also have such a location such as "temp"?

I hope my question is clear...

Thanks for your reply.

Dpac

Trek1701
26th December 2006, 04:28 AM
Hi,

I have a doubt about yum...
When I run "yum update" and there is, for example, an update for firefox, even if I'm running ff I continue using it while yum updates it.
Question: Is it safe? I mean, should I close ff and wait for the update to conclude?

Thanks,
Trek1701

lmo
21st March 2007, 01:53 PM
I wanted to control bandwidth during downloads and to keep the downloaded files for future contigencies. By controlling the bandwidth, it is possible to browse the web during downloads. Keeping downloaded files can be handy should a restore from backup or a do-over become necessary.

I was looking for a long time how to do this.... /etc/yum.conf ...
[main]
cachedir=/var/cache/yum
keepcache=1
throttle=4.0k
...The throttle is limiting yum's usage of bandwidth to 4.0k.
The keepcache=1 does not delete downloaded files.
The downloaded files are in a subdir of cachedir.

SirTwist
12th July 2007, 12:45 AM
I have no internet connection, would YUM be of any use to me?
If yes how? if no what are the other alternatives?

I am pretty sure you need an internet connection. Bugmenot, are you trying to run linux on a desktop or a laptop? This information might help, some.

Mamu Kanjan Instagram Photos - Esmeralda Photos - Igrejinha