How to install id3tool to Centos 5.5 server
Hi, how can I install id3tool to Centos 5.5 server, I know ubuntu version of it $ sudo apt-get install id3tool but do not know how to do this on Centos server via Ssh, please explain it step by step. Thanks
Osmy |
1 Attachment(s)
# rpm -Uvh id3tool-1.2a-5el5.i386.rpm ( If you have a 32bits OS.)
https://docs.google.com/uc?id=0B7S25...CNaQzssE&hl=en 64bits : rpmbuild -bb id3tool-el5.spec I.e. use the SRC RPM ftp://ftp.sunet.se/pub/Linux/distrib...2011.0.src.rpm .. |
I try to install 64bit I get this error.
rpmbuild -bb id3tool-el5.spec ftp://ftp.sunet.se/pub/Linux/distrib...2011. error: failed to stat /root/id3tool-el5.spec: No such file or directory What should I do and where should I install this. Thanks for your response by the way! |
The file 'id3tool-el5.spec' is visible in post # 1. (id3tool-el5.spec.txt)
Click it, and it will be downloaded. And : /root/ is not recommended for "rpmbuild". You can easily set up an 'unprivileged rpmbuild account' in /home/<name>/: http://www.linuxquestions.org/questi...1-a-766486/#13 Then you can do the build as "user" ( no su ) : 1) Download the package id3tool-1.2a-5mdv2011.0.src.rpm 2) Unpack with : rpm -Uvh id3tool-1.2a-5mdv2011.0.src.rpm 3) Build a package : rpmbuild -bb id3tool-el5.spec .. |
Quote:
|
I lost my connection these are true commands for rpmbuild accound set up am I right?
mkdir -p --verbose $HOME/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS,tmp} && mkdir -p --verbose $HOME/rpms/RPMS/{athlon,i386,i486,i586,i686,noarch} |
rpm -Uvh id3tool-1.2a-5mdv2011.0.src.rpm
warning: id3tool-1.2a-5mdv2011.0.src.rpm: Header V3 DSA signature: NOKEY, key ID 26752624 error: cannot write to %sourcedir /usr/src/redhat/SOURCES ? |
Quote:
|
The hidden file '/home/<your-user-name>/.rpmmacros' defines the rpmbuild environment.
http://www.linuxquestions.org/questi...1-a-766486/#13 Code:
%_topdir /home/<username>/rpms I can also build the 64bits package and upload it to Google Docs. Takes only a couple of minutes, when I am logged into the 64bits OS. (But with no information about your OS, I just started out with a 32bits version.) .. |
Quote:
It's a VPS. x86_64 x86_64 x86_64 GNU/Linux It's 64bit Intel xeon(R) CPU L5520 @ 2.27GHz based, centos 5.5, (CENTOS 5.5 x86_64 virtuozzo). If you write all the steps simple step by step, It would be piece of cake for me =) |
1) cd download/
(or wherever you have id3tool-1.2a-5mdv2011.0.src.rpm and id3tool-el5.spec.txt) 2) rpm -Uvh id3tool-1.2a-5mdv2011.0.src.rpm 3) rpmbuild -bb id3tool-el5.spec.txt And the result will be here: /home/<name>/rpms/RPMS/x86_64/id3tool-1.2a-5el5.x86_64.rpm You can download the new 64bits package from : https://docs.google.com/uc?id=0B7S25...CIvEk_cP&hl=en |
I did step 1 and 2 succesfully and installed %100 but in third step after rpmbuild -bb id3tool-el5.spec.txt I saw a command line like ''It's an old script'' I don't remember it exactly and also no /home/<name>/rpms/RPMS/x86_64/id3tool-1.2a-5el5.x86_64.rpm folder appeared. I guess there might be a problem on txt file or what do you think?
thanks for all your support knudfl! |
hey just realised that it's under /usr/src/redhat/RPMS/x86_64 on root? Is it ok?
|
/usr/src/redhat/ is OK.
But it's always a bad idea running things as root, when you can do the same job as "user". That's why the rpmbuild in /home/* is recommended. |
I checked it everything is working thanks knudfl you're the real Guru =)
|
All times are GMT -5. The time now is 05:03 AM. |