LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2004, 01:50 AM   #1
confuzzled
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
Unhappy installing tk


hi!!

i have absolutely no idea what i'm doing right now.... i've tried installing tk tons of times and have had no luck at all!! i tried installing from rpm but i never know what to do after untarring it... i've tried to follow numerous instructions online, including instructions fron the tcl.tk site except i've still had no luck... i'm completely lost and i think the only way i can do this is if i somehow get crazy simple step by step process of doing it . thanks a lot for your time!!!
 
Old 07-02-2004, 01:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
untarring an rpm? I guess that's a good place to start as you don't untar RPM's....

rpm -Uvh tk-1.2.3.rpm

should be all you need to do.
 
Old 07-02-2004, 02:04 AM   #3
confuzzled
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
hey!
thanks for the reply.. but maybe untar was teh wrong word to use... :/ i was trying to untar a tar file that i downloaded but that one required all these crazy instructions that i have no idea what to do... and i also tried the rpm, but that told me :
error: cannot write to %sourcedir /usr/src/redhat/SOURCES
(i'm guesing cause it was a src.rpm???)
any more help would be appreciated!! thank you!!!
 
Old 07-02-2004, 02:07 AM   #4
confuzzled
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
i tried this also and got these errors:

[confuzzled@localhost RPMS]$ rpm -Uvh tk-8.3.5-88.i386.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
 
Old 07-02-2004, 01:12 PM   #5
confuzzled
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
does anybody know what i should do please?? thank you!
 
Old 07-02-2004, 01:16 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
right, yeah don't use an src.rpm, they're not normal rpms. if you really can't find a standard precompiled rpm e.g. tk-1.2.3.i686.rpm then i think the command to properly use a source rpm is "rpm -tb tk-1.2.3.src.rpm" never bothered using them though.
 
Old 07-02-2004, 01:30 PM   #7
lotheac
Member
 
Registered: Apr 2004
Location: Finland
Posts: 32

Rep: Reputation: 15
You should run rpm as root (or use fakeroot/sudo). Just say `su' and enter your root password, then install the package with `rpm -Uvh tk-8.3.5-88.i386.rpm'.

... heh.

Last edited by lotheac; 07-02-2004 at 01:32 PM.
 
Old 07-02-2004, 01:51 PM   #8
confuzzled
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
OH MY GOSH!! IT WORKED! THANK YOU SOOOO MUCH! youre awesome!!!! thanks for the replies!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 08:25 PM
installing from iso9660 - restarts installation without installing anything scuzzman Slackware 1 10-24-2004 07:46 PM
installing windows without re-installing FC ur-unholyness Linux - Software 1 10-17-2004 06:48 PM
Installing Windows XP after installing Red Hat 9 BluePyre Linux - General 7 03-09-2004 03:37 PM
Installing RAID Drivers before Installing RH 9 kwright Linux - Newbie 3 08-25-2003 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration