LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-28-2004, 08:22 PM   #1
stupid_guy
Member
 
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57

Rep: Reputation: 15
how to install software on college unixx


Bad news: my college unix box doesn't have many of the software that I use often (eg. mpg123, gs2pdf, gaim....etc)

Good news: I have my mandrake installation cd which contains tons of rpms

Bad news: can't install them

I type : rpm -i mpg123-0.59r-20mdk.i586.rpm

they type: failed to open /var/opt/freeware/lib/rpm/packages.rpm: The file access permissions do not allow the specified action.

error: cannot open /var/opt/freeware/lib/rpm/packages.rpm

It seems that I can't access packages.rpm?

Good news: I copied packages.rpm into my home folder and immediately the owner of the file changed from root to me.

Is there someway I can tell the rpm application use the packages.rpm that I copied into my home folder instead of the one in the default /var folder?

Or can I simply install a whole new rpm application with all dependencies in ~/bin and have everything I need in my home folder.



Either way, my ultimate solution would be to install software on my college's unix box. So if you have any solution to my problem at all, any method, please do tell. Thanks very much.
 
Old 06-29-2004, 05:34 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
If you're talking about CollegeLINUX, then it's Slackware-based, so RPMs will be problematic. If you have rpm2tgz installed, you can try converting the RPMs to *.tgz files. But even then, it's somewhat of a crapshoot.

Have you been to the CollegeLinux website?

And if you really do mean your college's unix system, I don't think you've got a prayer of getting the RPMs to work, but be sure to let us know if you do.

Enjoy!
--- Cerbere
 
Old 06-29-2004, 08:50 AM   #3
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
If you can't install RPMs, you can extract them and place the files by hand. It is done like this:

rpm2cpio foo-1.0-1.i386.rpm | cpio -di

You can ofcourse try to build the software from the sources yourself. Besides, many free programs are distributed only as source code on the Internet. Be sure to read the readme and install files included with the sources. If you don't have much permissions outside your home directory, you may have to use make install DESTDIR=/some/directory (instead of just make install) or place the ready files by hand.

Note that programs compiled on Linux and PC don't necessarily work on other operating systems and architectures. Even the Linux distribution and versions of libraries matter.

Regards
Simon
 
Old 06-29-2004, 10:55 AM   #4
stupid_guy
Member
 
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57

Original Poster
Rep: Reputation: 15
I'm trying to install software on a unix system on my college network (not collegelinux).
Their unix absolutely sucks and does not have any nice software that I used to use on my linux os.
On top of all that, I don't have any permission to install software the easy way, which is just rpm -i software.rpm because that requires writing to folders soch as /bin and stuff.

So I'm trying very hard to install software into my own home folder.

But I keep failing! for example when I tried to install wget,
-bash-2.05b$ CC='gcc' ./configure --prefix=/myhomefolder/destination
configuring for GNU Wget 1.9
checking build system type... powerpc-ibm-aix5.1.0.0
checking host system type... powerpc-ibm-aix5.1.0.0
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... ./install-sh -c
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

why won't the C compiler create executables???

I donno what to do. Perhaps I am not compiling right. But I have no clue about using make...etc, I've always just used rpm -i. Anyone have any suggestions? Please help.

And Wipe, I tried cpio, but there's a segmentation fault, and then I tried to use make install destdir, and it says make: 1254-002 Cannot find a rule to create target install from dependencies.
Stop.
 
Old 06-29-2004, 01:11 PM   #5
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
Quote:
See `config.log' for more details.
Now did you actually see the log?

It may be that the administrators have prohibited the use of the compiler. If the rules of your college deny any program installations, it's probably no use asking them for instructions... Although begging and/or giving good educational reasons might work.

As for cpio giving a segfault, it can be for a number of reasons. And make should be run after configure (if there is one) has finished succesfully.

Anyway, this seems to be an AIX related problem, not Linux. There is a separate forum for AIX on this site.

I did some quick googling ("aix binaries") and found this site, which seems to offer some precompiled stuff for AIX:
http://www.bullfreeware.com/

Not all programs have been ported to AIX running on a PowerPC. The source code has to support the particular system.

Regards
Simon
 
Old 06-29-2004, 03:14 PM   #6
stupid_guy
Member
 
Registered: Jun 2003
Distribution: mandrake 9.2
Posts: 57

Original Poster
Rep: Reputation: 15
Simon, that website rocks. I found the softwares that I want to install under the 5.1 version of AIX.
Everything went smoothly until the last moment of installation using smit.

error reports that sm_inst is denied permission to execute. So I went to the folder and found that only root can execute it:
-r-x------ 1 root system 76926 Mar 28 2003 sm_inst*

that truly sucks, and if my campus's unix sys admin is reading this...I hope you get electrified by your keyboard.

Last edited by stupid_guy; 06-29-2004 at 03:15 PM.
 
  


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
College Majors? Math vs. Software Engineering? microsoft/linux General 26 04-18-2005 12:45 PM
college linux install what partions needed?? Wiz22 Linux - Newbie 5 05-19-2004 01:35 PM
going to college soon... Zerodark General 6 12-04-2003 01:28 PM
College Linux Install help begvis Linux - Newbie 1 10-14-2003 02:36 PM
College Linux pocketpal Linux - Laptop and Netbook 3 06-10-2003 08:13 AM

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

All times are GMT -5. The time now is 08:51 PM.

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