Re: Easy way to update Fedora

From: Gerald Thompson (geraldlt_at_gmail.com)
Date: 07/16/05

  • Next message: Mike McMullen: "Max Files Per Directory"
    Date: Fri, 15 Jul 2005 22:05:15 -0600
    To: knowledgeless@gmail.com, For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On 7/15/05, Deboo ^ <knowledgeful@gmail.com> wrote:
    > What is the easiest way to update Fedora. I have heard and read a lot
    > about yum but it has never worked for me, tried it many times on
    > different machines. I do nto know why, it just hangs on the first
    > message and nothing happens. What do I need to put in /etc/yum.conf to
    > make it work? Is there any sample yum.conf that would work out of the
    > box? And later could change it to suit me more?
    >
    > Can someone provide a link to a good yum.conf I could use as a startign point?
    >
    > Thanks,
    > Deboo

    start by going to www.fedorafaq.org
    - there is an yum.conf for FC3 - however you may not want to use that
    one if you are using FC4
    - even if you are using FC4 though, you can still print it out or keep
    a copy of it.
    - next in FC4 I believe you are supposed to use repo.d files instead
    of tagging the repo's in your yum.conf
    - since you are fairly new I would recommend going with fedora extras
    and livna as your repo's
    - the other option is the rpmforge packages - 4 RPMforge repositories
    (FreshRPMS, PlanetCCRMA, Dries and DAG)
    - THIS IS VERY IMPORTANT - do not mix fedora-extras/livna with
    RPMforge - choose one or the other not both.
    - if you want to get help with RPMforge repo's go here
    http://dag.wieers.com/home-made/apt/ and http://freshrpms.net/ and
    http://atrpms.net/dist/fc4/

    - now for fedora-extras/livna which is what I use
    livna.org
    - http://rpm.livna.org/configuration.html
    - To start using the rpm.livna.org repository in yum simply install
    the livna-release rpm package:
    - rpm -ivh http://rpm.livna.org/fedora/4/i386/RPMS.lvn/livna-release-4-0.lvn.2.4.noarch.rpm
    - don't forget to follow steps on the configuration page to install the gpg key

    fedora-extras
    - rpm.livna.org is not a standalone repository. You must use
    rpm.livna.org with Fedora Extras. In Core 4 Fedora Extras is included
    in the default configuration and works out of the box. Fedora Core 3
    users need to add Fedora Extras manually.
    - http://fedoraproject.org/wiki/Extras/UsingExtras

    Once you have fedora-extras/livna installed you will be able to
    install any package that is in the repo's, I am going to start with
    searching packages first though.

    - log in as root
    - su -
    - to find a package - yum search 'package-name' or yum search 'any-keyword'
    - once you find the package - double check if it is installed yum list
    'package-name'
    - you can also do different type of searches before you actually install things
    - yum list available 'package-name' - leave blank for all available
    packages or type a package name
    - yum list installed 'package-name' - shows you if a package is installed or not
    - yum list updates - shows you all packages available for update
    - yum check-update - does the same thing as list but shows the
    packages differently
    - yum info 'package-name' - tells you what a package does

    - now the reason I give all the search commands first is because you
    can't hurt anything by doing searches or looking up info. It is a
    good way to get familiar with package management and how to get info
    on a package quickly

    - now there are different ways to install packages - depending on what
    you are trying to accomplish

    UPDATES TO SYSTEM AND PROGRAMS:
    - installing updates only
    - yum update
    - to update but exclude a package like kernel or selinux policies
    - yum --exclude=kernel* update
    - yum --exclude=selinux* update

    UPDATING WITH NO CONFIRMATION PROMPTS:
    - I don't recommend this for really new users, but you can do updates
    without confirmation, as I said for a new user it is better to have
    confirmations.
    - yum -y update
    - will download and install all updates without asking your
    permission, you can also do this with the exclusions too
    - yum -y --exlude=kernel* update
    - it will install all the updates except the kernel updates

    INSTALLING A PACKAGE
    - if you find a package you want to install, make sure you know the
    correct package name by using yum search and yum list first
    - yum install 'package-name'
    - this will automatically find all the dependencies for you
    - yum remove 'package-name'
    - this will remove a package and all its dependencies from your system

    REMOVING A PACKAGE THAT IS NOT IN THE REPOS
    - this is a neat trick as well, say you installed the RPM for real
    player or java, www.real.com, java.sun.com - you want to remove it
    before you upgrade
    - you can use yum to do this if you want
    - yum list extras - this shows you all packages you installed with rpm
    - yum remove 'package-name'

    - for more detailed info you can do:
    man yum
    info yum
    man yum.conf
    info yum.conf

    I hope the information is helpful.

    -- 
    ----------------------------------------------
    Gerald Thompson
    geraldlt@gmail.com
    www.geraldthompson.getdh.net
    www.gltechsolutions.com
    ----------------------------------------------
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mike McMullen: "Max Files Per Directory"

    Relevant Pages

    • Re: Newby Problem
      ... > I have installed Fedora core 4 on one of my machines and all seems well ... On every package that I select I receive ... Even though they all install and work fine it is a real ... >> Yes, when I copy it on my PC, it opens properly ...
      (Fedora)
    • Re: fedora-list Digest, Vol 8, Issue 360 (Out of office reply.)
      ... In what package can I find the sql.h ... Subject: Strange behaviour non-linux partitions: HELP ... > but an easy install from the downloadable installer. ... But I was hoping to help out with the Fedora ...
      (Fedora)
    • Re: Basic yum question- latest version isnt latest version.
      ... right now yum has postgres 8.1.9 ... Package apr-util needs libpq.so.4, ... was install the "comat" rm for postgresql, ... duplicate lib is loaded for each app, it's also one of the reasons you ...
      (comp.os.linux.misc)
    • Re: Internet radio for FC3?
      ... What package do you all recommend for listening to streaming ... That will install the mp3 gstreamer plugin, ... AmoroK is in Fedora Extras, btw - so you shouldn't need to do anything - ...
      (Fedora)
    • Wireless does not work
      ... Fedora Coverstory in Linux Format ... Hylafax package for FC6 ... ASUS P5B and FC 6 Install ... is expected on it (because that drive was lost or drives don't have the ...
      (Fedora)