LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-17-2003, 03:09 AM   #1
kierwind
LQ Newbie
 
Registered: May 2003
Posts: 11

Rep: Reputation: Disabled
Linux programs


Hi, I recently just started using Red Hat Linux 9.0 after many years of using windows, and i've really run into many problems with software installation. I guess this is more of a complain than a specific problem.

out of say 20 programs that i have downloaded, i have only successfully got 1 DVD player software and 1 plugin for Mozilla to work. The others simply have many problems.

There are several questions i would like to ask:

1. Where do program files get installed to after i type "rpm -i *.rpm" (whichever the rpm is)? How do i actually run the software i installed? I just succeeded in installing Wine but i just don't know what is the commands to run it.

2. Mandrake Linux open source programs be run on other types of Linux e.g. Red Hat? Vice Versa? Can UNIX programs be installed on Linux?

3. How do I troubleshoot dependency problems? I'm having a lot of trouble with this.

4. Is "make clean" and "make uninstall" sufficient to remove all the files which i have installed?

5. There was an occasion that i upgraded my kernel early, and i realised i haven't installed my development tools. When i tried to install them from my cd, there were dependency problems. Being a newbie to Linux, i could not solve this issue and chose to reinstall the whole OS. How do i solve this backward compatibility problem? Because of this I don't dare to upgrade my kernel or OS.

I'm very much alone in using this OS, as all my other frens are not using Linux, and this is my only source of human help. Will reallie appreciate any help rendered

 
Old 05-17-2003, 03:28 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
1. Really, it doesn't matter. I'll be glad to answer that, but be aware, it doesn't matter. Why? Because in linux there is a thing known as a $PATH. In this $PATH are the executable files that get installed with RPM's. Most of the time, when an RPM is installed, it places the binary file (the .exe if you will) in this $PATH which in then turn allows you to just type the name of the program to execute it, instead of typing the full path.... To answer the question:
Usually in /usr/bin or /bin and sometimes /usr/local/bin and rarely, yet occasionally /sbin /usr/sbin There are other possibilities, these are just the most common. Other's might include the /opt and for some custom programs ~/.

2. For the most part, yes. You can run Mandrake programs on RH and vice versa. However, for more advanced applications, this is not true. Some smaller ones might have problems as well, and especially if the apps are from different kernel releases. Unix programs on Linux, pretty much a yes.

3. Good luck. Hell, I bet Linus (if you even uses RPM's) has problems with dependencies too. Look at www.freshmeat.net for a program called Synaptic and/or apt4rpm to help resolve dependency issues.

4. make clean=no make uninstall=yes. If an application has uninstall included in the make file (meaning make uninstall actually works) it should be sufficient. make clean only cleans up the directory in which you are "making" the files.

5. Development tools is another big problem for n00bs. It's very hard to install GCC after you have installed your system because of all the dependency issues. It can be done, it's just not as easy as during install. Best bet is to just make sure you get your development tools installed each time (at the very least gcc).

HTH

Basically, you are not alone. You might look at gentoo www.gentoo.org ; a FAR FAR better package management system/distro than what you are currently using.

Cool
 
Old 05-17-2003, 03:44 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
I must tell you... Linux is just the best and the most rewarding thing I've ever tried with computers. My first experience with Linux was not good either. That was about 4-5 years ago. But you will get there. Though, you will have to have a LOT of time to read and understand the programs you donwload. Usually, all you need is in the Readme that cames with the program and your distro CD's.

Here are some tips, I believe your questions will be answered eventually.

Sometimes you will dowload programs from source. That means you will have to compile it yourself cause there's no "exe" like in M$. Let's take an exemple from source. Let's say you've download a program called "gaim". It's full name is "gaim.20030303.tar.gz"

First, uncompress the file with:

gunzip gaim.20030303.tar.gz

You will uncompress it to gaim.20030303.tar and not the file get bigger. Uncompress now from the called tarball (tar)

tar -xvf gaim.20030303.tar.gz

Now it's your time to read the read me file which surely cames with gaim. It's into your uncompressed folder somewhere. Some programs may be compiled diferently. The "standard" should be:

./configure

This command will check for the installed components into your system. There, you will see if you can or not install gaim into your computer. If you get any error messages, for exemple, "gcc not installed", that means, indeed, you will have to install gcc into your computer. This usually comes with your CD's. RedHat uses "install or Remove Software" system, simply look after the program that "./configure" complained.

After that is simple to install it with

make

then

make install.

For more informations, read this post from one of our moderators:

http://www.linuxquestions.org/questi...threadid=45094

Installing from RPM's. This usually is easier them from source code and much faster then compiling. You can usually use RPM's in any system which can handle, rpm's. Let's say again that this time, you've download gaim in rpm instead of source. it's now called gaim.20030303.rpm. to install it, the syntax is:

rpm -ivh gaim.20030303.rpm

That would install it direcly into your system. If not, will bring also error messages as ./configure. Write the error messages, they are missing files into your system that you will also probaly be able to install from your CD's. RedHat 9.0 is pretty new and should have anything you need, same to mandrake 9.x

For more informations about that, check this site out. It's from another guy in this forum who helped me a lot:

http://members.rogers.com/ctmlinux/

If my old RedHat 7.3 works is thanks to that page. Also, there's one last thing that you will love. It's a program called "apt-get" which was firstly created for Debian systems and not there's rpm's for us. It makes life of linux newbies user MUCH MUCH easier. It allows you to download most of the programs from the net, install, install the dependencies necessaries with only running a commando line. Exemples, to install gaim, simply type at your command line:

apt-get install gaim

DONE. Nothing more. it will update your packages, libraries, make the dependecies (so you don't need to use your CD's everytime you need to install something).

Want to install Mplayer? The best media player for linux, which kicks M$ Media Player arses? Do the same thing:

apt-get install mplayer

DONE. Not only the player, but also it's gui and everything. That easy and I have it running neat into my old RedHat 7.3 and fast as hell in an older machine.

You prefer AVfile to play DivX movies?

apt-get install avifile

With apt-get you can even update your system (apt-get dist-upgrade) and apt-get itselfs (apt-get update).
The page of this baby is here:

http://freshrpms.net/apt/

Make sure to read ALL documents before installing anything or you may blow your system. Doing as it says you can't go wrong. I highly recomend apt-get first, so you get your system up-to-date and can install everything as you choose (rpm's, from source or from the fantastic apt-get).

Good luck. Hope it was of any help and that you could understand my bad english as well
 
Old 05-17-2003, 10:10 AM   #4
kierwind
LQ Newbie
 
Registered: May 2003
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks all for ur helpful and informative replies
Guess i still have a long way to go....
 
Old 05-17-2003, 10:15 AM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Quote:
Originally posted by MasterC
You might look at gentoo www.gentoo.org ; a FAR FAR better package management system/distro than what you are currently using.
hehe Boy you really hate RPMs Chad. Are you head of the ARHO(Anti RedHat Organization)? Are you considering not helping me anymore because I use RedHat?
 
Old 05-17-2003, 02:54 PM   #6
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
It is a long way to go, but the longer U go, the more U learn, and the more U like it.
My "first contact" with Linux was in -98, with an old version of Slackware..
on a CD that came with a computer magazine. It had a short guide of installing it
Basically it was like
1. do a rawrite <BOOT_IMAGE>
2. do a rawrite <ROOT_IMAGE>
3. boot it
4. run installer program

The funny part was there were no doc's or howtos included,
they said for saving the CD's disk space for "more important" software..
Well, there I was, in front of a shell, wondering like "What-a-h&%l-do-I-do-next..??"
 
Old 05-17-2003, 03:14 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by Crashed_Again
hehe Boy you really hate RPMs Chad. Are you head of the ARHO(Anti RedHat Organization)? Are you considering not helping me anymore because I use RedHat?
Nah, I figure if someone wants to live in a world of RPM's... Well to each their own.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problems with windows programs in linux (QEMU, WINE, or linux alternative) bulldogzerofive Linux - Software 2 08-18-2005 05:49 PM
Are these programs - or equivalent programs - available for Linux? voly Linux - Software 12 07-29-2005 02:44 AM
Installing programs in linux? which progs? can linux do the things windows can? James-jmpm Linux - Newbie 6 07-02-2004 07:01 PM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 12:02 PM
Running Windows Programs on Linux\What Linux Flavor To Pick thepugmaster Linux - Distributions 15 03-17-2003 01:02 AM


All times are GMT -5. The time now is 08:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration