Packages installation

Discussion in 'Open Source' started by red_hat, Oct 3, 2006.

Thread Status:
Not open for further replies.
  1. red_hat

    red_hat New Member

    Joined:
    Sep 17, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    Hi techies
    I want some help fr u guys.:D

    I installed RHEL 4 OS.So i havent any issue with installation of os.

    I want to configure internet so that I dont have to swich again and agin to xp for net.
    I have sify broadband and have a sifyconnect-1.3-bin.tar.gz package fr there site.I dont know how to install that.:confused:I configured DHCP by inputting ip ,gateway,dns provided by sify so am on lan.

    I also want to install Bit torrent client i.e .Azureus ,JAva for that ,MP3 Player ,VLC player and any download manager like flashget in windows for download fr RS or any other file hosting site.Which package should I download fr Sourceforge.net

    Thanks in advance.
     
  2. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Maybe someone with sify connection will tell you how to connect. But, you can attach that file over here, it will have instructions on how to install it.
    Just untar and unzip it using
    Code:
    su
    cd <to wherever your file is stored>
    tar xzvf sifyconnect-1.3-bin.tar.gz
    
    Now read the instruction in the directory and follow them.
    __________
    For installing those just download yum and follow Stanton Finley Notes. For more info on that search the forum or on google.
     
    Last edited: Oct 3, 2006
  3. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @Red_hat, if you have enabled 'DHCP' then you should be able to connect to the Net!!
    There's no need for providing your ISP's IP address, Gateway etc., 'DHCP' will configure
    it automatically.
    Azureus , download it from here
    You need to install Java JRE, download Java Runtime Environment (JRE) 5.0 Update 9 from here

    VLC Media player Download from here

    XMMS MP3 player Download from here

    D4X (Download Manager like FlashGet) Download it from here

    @Mehul, The correct commands for unzipping a 'tar.gz' file is as follows:


    $ gzip -d sifyconnect-1.3-bin.tar.gz

    This will extract the TAR archive in the same directory
    Now extract the TAR archive. ( sifyconnect-1.3-bin.tar)

    $ tar xvf sifyconnect-1.3-bin .tar

    You'll get a executable binary
    $ ./install.sh (or something similar)
     
    Last edited: Oct 3, 2006
  4. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
  5. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Why go to all those sites when you can do it easily from yum or smart, I prefer latter.


    Well there are multiple methods. One that I gave works fine, even the one you have given. Another one that I know of is
    Code:
    gzip -dc sifyconnect-1.3-bin .tar | tar xvf
    Which is nothing but your command concanated into one line instead of two. I prefer to do less work :p.
    I prefer the method which I gave first, it makes no difference whichever method you use.
     
  6. nishant_nms

    nishant_nms New Member

    Joined:
    Sep 5, 2005
    Messages:
    1,344
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Pune
    sify will not work in Linux
     
  7. kalpik

    kalpik In Pursuit of "Happyness"

    Joined:
    May 18, 2005
    Messages:
    3,002
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    New Delhi
    Umm.. I had sify once, and their linux client worked.. Either way, even their MAC client will work cuz its java based.
     
  8. OP
    OP
    red_hat

    red_hat New Member

    Joined:
    Sep 17, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    I extracted and changed destination to that file and then gave command
    as u guys told ./install
    and sify client installed sucssesfully but while logging in it showed
    plz download latest client ,whereas i downloaded latest client .
    Here is a screenshot
    [​IMG]


    How to configure that , is it by default or i have to download and install them ?

    I am downloadin all these softs now and will install and ask if any prob. arise

    btw thnx for u r help techies.
     
    Last edited: Oct 4, 2006
  9. nishant_nms

    nishant_nms New Member

    Joined:
    Sep 5, 2005
    Messages:
    1,344
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Pune
    Me too facing the same problem and has contacted CC 2 times within 4 days. But still waiting for a reply
     
  10. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    You can download yum from the net just search on google. And read Stanton Finley Notes, google will point you to it.
     
  11. OP
    OP
    red_hat

    red_hat New Member

    Joined:
    Sep 17, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    Today I contacted CC and my problem is solved.

    Hurray My net is working fine ,now i dont have to switch again and agin.
    I can also make practise on this platform.

    I installed real Player.
    Tried xmms player but it showed error of GLIB 1.2.2 missing.
    for Azureus it showed java not found whereas i installed jdk-1_5_0_09-nb-5_0-linux-ml.bin by rite clickin and choosin option run in terminal that started GUI installation
    so rest of the softs am downloading now so i will reply at nite
     
    Last edited: Oct 5, 2006
  12. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Real player is c**p. There are a lot better media players like mplayer, VLC, Amarok, XMMS, Xine.
    That is why I am suggesting you yum. It will handle dependancies and make your life lot easier.
     
  13. OP
    OP
    red_hat

    red_hat New Member

    Joined:
    Sep 17, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    I downloaded these 2 packages
    yum-3.0.tar.gz & yum-3.0-1.src.rpm

    extracted tar file and gave make command its output is -:

    [root@blackpearl yum-3.0]# make
    for d in rpmUtils yum etc docs; do make PYTHON=python -C $d; [ $? = 0 ] || exit 1 ; done
    make[1]: Entering directory `/root/Desktop/yum-3.0/rpmUtils'
    echo "Nothing to do"
    Nothing to do
    make[1]: Leaving directory `/root/Desktop/yum-3.0/rpmUtils'
    make[1]: Entering directory `/root/Desktop/yum-3.0/yum'
    echo "Nothing to do"
    Nothing to do
    make[1]: Leaving directory `/root/Desktop/yum-3.0/yum'
    make[1]: Entering directory `/root/Desktop/yum-3.0/etc'
    echo "Nothing to do"
    Nothing to do
    make[1]: Leaving directory `/root/Desktop/yum-3.0/etc'
    make[1]: Entering directory `/root/Desktop/yum-3.0/docs'
    echo "Nothing to do"
    Nothing to do
    make[1]: Leaving directory `/root/Desktop/yum-3.0/docs'
    [root@blackpearl yum-3.0]# make install
    mkdir -p /usr/share/yum-cli
    for p in callback.py cli.py i18n.py output.py progress_meter.py shell.py translate.py yumcommands.py yummain.py yum-updatesd.py ; do \
    install -m 644 $p /usr/share/yum-cli/$p; \
    done
    mv /usr/share/yum-cli/yum-updatesd.py /usr/share/yum-cli/yumupd.py
    python -c "import compileall; compileall.compile_dir('/usr/share/yum-cli', 1, '', 1)"
    Listing /usr/share/yum-cli ...
    Compiling /usr/share/yum-cli/callback.py ...
    Compiling /usr/share/yum-cli/cli.py ...
    Compiling /usr/share/yum-cli/i18n.py ...
    Compiling /usr/share/yum-cli/output.py ...
    Compiling /usr/share/yum-cli/progress_meter.py ...
    Compiling /usr/share/yum-cli/shell.py ...
    Compiling /usr/share/yum-cli/translate.py ...
    translate.py:117: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
    if _StrToInt(buffer[:4]) != 0x950412de:
    translate.py:162: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
    f.write(_intToStr(0x950412de)) # magic number
    Compiling /usr/share/yum-cli/yumcommands.py ...
    Compiling /usr/share/yum-cli/yummain.py ...
    Compiling /usr/share/yum-cli/yumupd.py ...
    File "yumupd.py", line 200
    @dbus.service.signal('edu.duke.linux.yum')
    ^
    SyntaxError: invalid syntax

    mkdir -p /usr/bin /usr/sbin
    install -m 755 bin/yum.py /usr/bin/yum
    install -m 755 bin/yum-updatesd.py /usr/sbin/yum-updatesd
    mkdir -p /var/cache/yum
    for d in rpmUtils yum etc docs; do make PYTHON=python DESTDIR=`cd ; pwd` -C $d install; [ $? = 0 ] || exit 1; done
    make[1]: Entering directory `/root/Desktop/yum-3.0/rpmUtils'
    mkdir -p /root//usr/lib/python2.3/site-packages/rpmUtils
    for p in arch.py __init__.py miscutils.py oldUtils.py transaction.py updates.py ; do \
    install -m 644 $p /root//usr/lib/python2.3/site-packages/rpmUtils/$p; \
    done
    python -c "import compileall; compileall.compile_dir('/root//usr/lib/python2.3/site-packages/rpmUtils', 1, '', 1)"
    Listing /root//usr/lib/python2.3/site-packages/rpmUtils ...
    Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/__init__.py ...
    Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/arch.py ...
    Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/miscutils.py ...
    Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/oldUtils.py ...
    Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/transaction.py ...
    Compiling /root//usr/lib/python2.3/site-packages/rpmUtils/updates.py ...
    make[1]: Leaving directory `/root/Desktop/yum-3.0/rpmUtils'
    make[1]: Entering directory `/root/Desktop/yum-3.0/yum'
    mkdir -p /root//usr/lib/python2.3/site-packages/yum
    for p in comps.py config.py constants.py depsolve.py Errors.py failover.py __init__.py logginglevels.py mdparser.py misc.py packageSack.py packages.py parser.py pgpmsg.py plugins.py repoMDObject.py repos.py rpmsack.py sqlitecache.py sqlitesack.py storagefactory.py transactioninfo.py update_md.py yumRepo.py ; do \
    install -m 644 $p /root//usr/lib/python2.3/site-packages/yum/$p; \
    done
    python -c "import compileall; compileall.compile_dir('/root//usr/lib/python2.3/site-packages/yum', 1, '', 1)"
    Listing /root//usr/lib/python2.3/site-packages/yum ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/Errors.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/__init__.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/comps.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/config.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/constants.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/depsolve.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/failover.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/logginglevels.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/mdparser.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/misc.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/packageSack.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/packages.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/parser.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/pgpmsg.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/plugins.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/repoMDObject.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/repos.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/rpmsack.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/sqlitecache.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/sqlitesack.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/storagefactory.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/transactioninfo.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/update_md.py ...
    Compiling /root//usr/lib/python2.3/site-packages/yum/yumRepo.py ...
    make[1]: Leaving directory `/root/Desktop/yum-3.0/yum'
    make[1]: Entering directory `/root/Desktop/yum-3.0/etc'
    mkdir -p /root/etc/yum.repos.d
    install -m 644 yum.conf /root/etc/yum.conf
    mkdir -p /root/etc/logrotate.d
    install -m 644 yum.logrotate /root/etc/logrotate.d/yum
    mkdir -p /root/etc/rc.d/init.d
    install -m 755 yum-updatesd.init /root/etc/rc.d/init.d/yum-updatesd
    mkdir -p /root/etc/dbus-1/system.d/
    install -m 755 yum-updatesd-dbus.conf /root/etc/dbus-1/system.d/yum-updatesd.conf
    mkdir -p /root/etc/yum/
    install -m 755 yum-updatesd.conf /root/etc/yum/yum-updatesd.conf
    make[1]: Leaving directory `/root/Desktop/yum-3.0/etc'
    make[1]: Entering directory `/root/Desktop/yum-3.0/docs'
    mkdir -p /root/usr/share/man/man{5,8}
    install -m 644 yum.8 /root/usr/share/man/man8/yum.8
    install -m 644 yum-shell.8 /root/usr/share/man/man8/yum-shell.8
    install -m 644 yum.conf.5 /root/usr/share/man/man5/yum.conf.5
    install -m 644 yum-updatesd.8 /root/usr/share/man/man8/yum-updatesd.8
    install -m 644 yum-updatesd.conf.5 /root/usr/share/man/man5/yum-updatesd.conf.5
    make[1]: Leaving directory `/root/Desktop/yum-3.0/docs'
    [root@blackpearl yum-3.0]#


    and when tried to install rpm
    [root@blackpearl Desktop]# rpm -ivh yum-3.0-1.src.rpm
    warning: yum-3.0-1.src.rpm: V3 DSA signature: NOKEY, key ID 69886cc7
    1:yum warning: user skvidal does not exist - using root
    warning: group skvidal does not exist - using root
    warning: user skvidal does not exist - using root)
    warning: group skvidal does not exist - using root
    ########################################### [100%]
    [root@blackpearl Desktop]#

    Whatever i did is rite or how to do if it improper ?
    __________
    I also referred Stanton Finley notes
    when i gave
    # yum -y update
    its output is

    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    No module named yum

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.3.4 (#1, Feb 2 2005, 11:44:49)
    [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)]
     
    Last edited: Oct 6, 2006
  14. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    for rhel4 yum goto http://atrpms.net/dist/el4/yum/
    download ur architecture(x86?) and install using rpm -ivh xxx.rpm or jus by double-cliking,stop trying compiling from sources stuff,rpm or deb are those equivalent to installshield thing(that next,next thing for setup in ur windows xp).compiling from sources is OK,But...for n00b's i believe trying rpms is way better.
    just read as t_y_f said stanton finley's fedora install note;fedora is the successor from redhat9 onwards while RHEL4...is a paid subscription for updates,security fixes which enterprises customers and few training walla's use.
    i assume u a n00b?
    so i recommend u use Debian or Ubuntu or may be Fedora 6.:-o
    Also Linux is a free software as Niyam Bhushan in LFY said Muft and Mukth:p

    free as in freedom, not free lunch. In Hindi "mukth" means freedom and
    "mufth" means free of cost, or Free as in "swathanthra" not "soujanya"
     
  15. OP
    OP
    red_hat

    red_hat New Member

    Joined:
    Sep 17, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    @Prakash Kerala thnx for site recommended by u and for advice regarding distro.
    but i want to settle on rhel then i will like to try other distros like ubuntu ,centos ,etc
    I downloaded RPMs fr http://atrpms.net

    Tried to install yum

    # rpm -ivh yum-2.9.4-74.el4.at.x86_64.rpm
    warning: yum-2.9.4-74.el4.at.x86_64.rpm: V3 DSA signature: NOKEY, key ID 66534c2b
    error: Failed dependencies:
    /usr/lib/python2.3/site-packages/elementtree is needed by yum-2.9.4-74.el4.at.x86_64
    /usr/lib/python2.3/site-packages/urlgrabber is needed by yum-2.9.4-74.el4.at.x86_64
    /usr/lib64/python2.3/site-packages/rpm is needed by yum-2.9.4-74.el4.at.x86_64
    /usr/lib64/python2.3/site-packages/sqlite is needed by yum-2.9.4-74.el4.at.x86_64
    /usr/lib64/python2.3/site-packages/sqlitecachec.py is needed by yum-2.9.4-74.el4.at.x86_64


    so i installed pythonabi-2.3-3.el4.at.x86_64.rpm package sucssesfully and again tried to install yum package but same error as above displayed.

    Wha should i do?
    Why am unable to install an package?

    Btw thnx again to all of u for u r help and guidance.
     
  16. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Dependancies are missing that is why you are unable to install these packages. I am not too familiar with RHEL but you should have some way of installing packages from CD/DVD and yum should be present in there, it may install yum with it's dependancies.
    Or else you will need elementtree, urlgrabber, rpm, sqlite, sqlitecachec.py and maybe their dependancies.
    But, why use RHEL? It's meant for servers, if you still prefer Red Hat then go for Fedora, which is a community project.
     
  17. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    perhaps u may install devel libraries for eg: python-dev etc using ur rhel command as root:
    Code:
    system-config-packages
    packagesmay be listed there.try finding the dependencies like python2.3-dev,rpm-dev,etc and install
     
  18. OP
    OP
    red_hat

    red_hat New Member

    Joined:
    Sep 17, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    ok i thought since RHEL is Enterprise version it will be better than Fedora :confused:
    So I chose RHEL.

    I selected all packages for installation except kde related from Add/Remove
    Applications still facing prob. and not able to install yum.

    I downloaded nearly all softs from http://atrpms.net/dist/el4/yum/ starting from lib and python but many of them faced same dependencies error.

    btw How to install source rpm and jdk-1_5_0_09-linux-i586-rpm.bin
     
    Last edited: Oct 6, 2006
  19. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    dont u have yum in the options add/remove menu?
    building source rpms?
    http://mia.ece.uic.edu/~papers/linux/msg00021.html
    installing java other plugins...bud refer below link of stanton finley..
    http://www.stanton-finley.net/fedora_core_5_installation_notes.html
     
  20. OP
    OP
    red_hat

    red_hat New Member

    Joined:
    Sep 17, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    @ thnx Prakash Kerla .Got how to install sorce rpm.
    But now I replaced RHEL with CentOS.:D
    It has inbuilt yum installed.
    So I am following stanton-finley notes and came upto yum update
    which is updating system and takin long time..................but no problem.
    i am also referring documentation from their site regarding how to use yum etc.

    If I faced any problem then I will disturb u guys again.
    Thnx to everyone for spending u r valuable time.
    __________
    Hi buddies
    I am agin frustrated with this installation .
    I updated my os with yum update.
    now i am tryin to install some softs using yum
    but facin some pronb.

    Code:
    [root@tuxian Desktop]# yum install azureus
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    No Match for argument: azureus
    Nothing to do
    same with vlc ,xine, etc.

    yum handles dependancies ,so why still same problem ?
     
    Last edited: Oct 8, 2006
Thread Status:
Not open for further replies.

Share This Page