Packages installation

Status
Not open for further replies.

red_hat

Broken In
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.
 

mehulved

18 Till I Die............
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:

JGuru

Wise Old Owl
@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:

mehulved

18 Till I Die............
JGuru said:
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
Why go to all those sites when you can do it easily from yum or smart, I prefer latter.

JGuru said:
@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

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.
 

kalpik

In Pursuit of "Happyness"
Umm.. I had sify once, and their linux client worked.. Either way, even their MAC client will work cuz its java based.
 
OP
R

red_hat

Broken In
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
*img405.imageshack.us/img405/5057/screenshot1nc4.th.jpg


tech_your_future said:
Why go to all those sites when you can do it easily from yum or smart, I prefer latter.
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:

mehulved

18 Till I Die............
You can download yum from the net just search on google. And read Stanton Finley Notes, google will point you to it.
 
OP
R

red_hat

Broken In
nishant_nms said:
Me too facing the same problem and has contacted CC 2 times within 4 days. But still waiting for a reply
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:

mehulved

18 Till I Die............
red_hat said:
I installed real Player.
Real player is c**p. There are a lot better media players like mplayer, VLC, Amarok, XMMS, Xine.
red_hat said:
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
That is why I am suggesting you yum. It will handle dependancies and make your life lot easier.
 
OP
R

red_hat

Broken In
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:

praka123

left this forum longback
red_hat said:
Hi techies
I want some help fr u guys.:DI installed RHEL 4 OS.So i havent any issue with installation of os.
for rhel4 yum goto *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"
 
OP
R

red_hat

Broken In
@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 *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.
 

mehulved

18 Till I Die............
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.
 

praka123

left this forum longback
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
 
OP
R

red_hat

Broken In
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 *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:

praka123

left this forum longback
dont u have yum in the options add/remove menu?
building source rpms?
*mia.ece.uic.edu/~papers/linux/msg00021.html
4. ONE STEP BUILD PROCEDURE.

A. You can usually build the binary RPM in one step. The following command
will "install" the sources, create a binary RPM, and clean up the rpm
subdirectories when it's done (Note 1):

rpm --rebuild foo-1.0.0-1.src.rpm &> rebuild.log

Examine rebuild.log to be sure that the build completed successfully.

B. Install the binary .rpm package, updating the rpm database. The binary
RPM you just created is located in the RPMS directory tree:

cd ~/rpm/RPMS/i386 (for 386 architecture)
su
rpm -Uvh foo-1.0.0-1.i386.rpm
exit
installing java other plugins...bud refer below link of stanton finley..
*www.stanton-finley.net/fedora_core_5_installation_notes.html
 
OP
R

red_hat

Broken In
@ 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

[root@tuxian Desktop]# yum -y install mplayer mplayer-skins mplayer-fonts
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mplayer-fonts.noarch 0:1.1-3.fc set to be updated
---> Package mplayer.i386 0:1.0-0.20.pre7.2.fc4 set to be updated
---> Downloading header for mplayer-skins to pack into transaction set.
mplayer-skins-1.7-1.fc.no 100% |=========================| 217 kB 00:14
---> Package mplayer-skins.noarch 0:1.7-1.fc set to be updated
--> Running transaction check
--> Processing Dependency: libaa.so.1 for package: mplayer
--> Processing Dependency: liblzo.so.1 for package: mplayer
--> Processing Dependency: libmp3lame.so.0 for package: mplayer
--> Processing Dependency: libfribidi.so.0 for package: mplayer
--> Processing Dependency: liblirc_client.so.0 for package: mplayer
--> Processing Dependency: libdvdread.so.3 for package: mplayer
--> Processing Dependency: libxvidcore.so.4 for package: mplayer
--> Processing Dependency: libXvMCW.so.1 for package: mplayer
--> Processing Dependency: libmad.so.0 for package: mplayer
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xvidcore.i386 0:1.0.3-1.2.fc4 set to be updated
---> Package fribidi.i386 0:0.10.4-6 set to be updated
---> Package lame.i386 0:3.96.1-2.2.fc4 set to be updated
---> Package libXvMCW.i386 0:0.9.3-1.2.fc4 set to be updated
---> Package libdvdread.i386 0:0.9.4-8cvs.2.fc4 set to be updated
---> Package libmad.i386 0:0.15.1b-3.2.fc4 set to be updated
--> Running transaction check
--> Processing Dependency: libdvdcss >= 1.2.5 for package: libdvdread
--> Processing Dependency: liblirc_client.so.0 for package: mplayer
--> Processing Dependency: libaa.so.1 for package: mplayer
--> Processing Dependency: liblzo.so.1 for package: mplayer
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libdvdcss.i386 0:1.2.9-1.2.fc4 set to be updated
--> Running transaction check
--> Processing Dependency: liblirc_client.so.0 for package: mplayer
--> Processing Dependency: libaa.so.1 for package: mplayer
--> Processing Dependency: liblzo.so.1 for package: mplayer
--> Finished Dependency Resolution
Error: Missing Dependency: libaa.so.1 is needed by package mplayer
Error: Missing Dependency: liblzo.so.1 is needed by package mplayer
Error: Missing Dependency: liblirc_client.so.0 is needed by package mplayer
same with vlc ,xine, etc.

yum handles dependancies ,so why still same problem ?
 
Last edited:
Status
Not open for further replies.
Top Bottom