LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2004, 12:43 AM   #1
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Rep: Reputation: 15
installing softwarwe


I plain on using fedora core 2 to learn linux. My problem is this how do you install software. It does not seem to be a standard software installation like windows
 
Old 07-05-2004, 01:20 AM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,255

Rep: Reputation: 48
I haven't used Redhat in several years but I used to install by typing from the console:
rpm -ivh appname.rpm

If you are upgrading:
rpm -Uvh appname.rpm
 
Old 07-05-2004, 01:23 AM   #3
korozion
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

Rep: Reputation: 15
yum also works ex. yum install korozion would install the program korozion
 
Old 07-05-2004, 01:26 AM   #4
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
The easiest way is to download a .rpm file (NOT a .src.rpm file) click on it...and watch what happens. If you download the Fedora Core 2 specific rpm file it should work perfect, if say you download a suse 8.1 rpm file you may need to download a dependency for it to work (a message will appear telling you what is wrong). If you can't find a .rpm file for fedora or another distro that works then you will have to download a tar.gz or a tar.bz2. Here is how to install these files from the command line

for rpm files there are two main ways

rpm -i newprogram.rpm
--or--
rpm -UvH newprogram.rpm

I always use rpm -i unless specifically told to do something else.

to uninstall an rpm file use this

rpm -e program

for tar.gz files you are actually downloaded the source code and you have to turn it into machine code right at your computer, here's how you do it.

tar -xvzf newprogram.tar.gz
ls
--look for the new directory that was made, use ls | more if it went by too fast--
cd newdirectory
--here is where there will be a readme or install file to read that will help you, if there is none try this--
./configure
make
make install
--you can delete the .tar.gz file if it installed right and you want to save disk space--

to uninstall cd into the directory it made and run these commands

make uninstall
make clean
--then you can delete the folder that the program made--

for the uncommon tar.bz2 file I don't know...sorry. Also just for reference FC2 cannot use .tgz or .deb packages.
 
Old 07-05-2004, 09:43 AM   #5
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks for the reply but what sites can I go to so I can mainly get fedora rpm's.? I'd like to deal with the fedora rpm so can stay away from this dependency problem.
 
Old 07-05-2004, 10:06 AM   #6
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Originally posted by vdogvictor
The easiest way is to download a .rpm file (NOT a .src.rpm file) click on it...and watch what happens. If you download the Fedora Core 2 specific rpm file it should work perfect, if say you download a suse 8.1 rpm file you may need to download a dependency for it to work (a message will appear telling you what is wrong).
Excuse me, but.... What???!!!?? Dependencies are dependent on the program, not the distro.

If the Mozilla Firefox web browser is dependent on the Mozilla web browser (which it is), it's dependent on Mozilla on all distributions, and downloading any possible Fedora Core .rpm for Firefox and installing it is still going to fail if you don't install the (Fedora Core) .rpm for Mozilla beforehand. It has nothing to do with whether it's a SuSE or Mandrake RPM. Those will (probably) fail to install on FC, that's true-- but the reason is that FC, Mandrake and SuSE have different internal file structures, use different versions of support libraries, and may install the final program to different locations than each other, so the program 1) may not be able to find the libraries it needs to run; 2) may not be able to find the correct version of the library it needs to run; 3) may be installed to a location that makes it difficult for you to find, even if it did work (because the $PATH$ variable may not be the same under these distributions).

Which is why it's better to use .rpms from your distribution's repository, and to install something like Yum or Synaptic (which are front-ends to apt, the Debian package management tool that has been ported to work with RPM distros like FC) to install them, in order to have automatic dependency resolution.

I really don't know why people persist in using rpm, which has no dependency resolution whatsoever.

watts3000, you can go to [freshrpms.net] - Apt to learn more about installing apt for RPM distros, and to also get some repositories to draw from; the site also offers Fedora RPMs, and many links to other sites which offer Fedora RPMs.
 
Old 07-05-2004, 11:09 AM   #7
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Original Poster
Rep: Reputation: 15
Guys I just downloaded tightvnc server. I created a folder in root called software. I than lunched a console and went to that directory I typed yum install tightvnc-server-1.29-1.i386.rpm. I got a message back saying cannot find a package matching tightvnc-server-1.29-1.i386.rpm. Do I need to put in spaces or something or does spaces matter when installing software in linux.
 
Old 07-05-2004, 01:18 PM   #8
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Watts you crossed directions! SInce you downloaded the rpm already, you should just install it. I've installed vnc several time,s i belie it goes like this:

same directory where you tried yum -
su
give passwd
rpm -i tightvnc*

That should install it, then you'll need to get it running, which takes the command: vncserver.

It will force you to create a vnc passwd, which can also be done by the vncpasswd command. By the way - DONT set vnc to allow you in as root. vnc in as a regular user, and then su to root if you need it. You'll want to configure vnc for full graphical access, like the windows version. In its base install, it just gives you a terminal, which is great if you can use the terminal, but if you need the GUI, you'll want to modify the configs to get full xwindows running. There is pages on the tightvnc website telling you how to set up xwindows for vnc, it is easy, just modifying one config file.

Peace,
JimBass
 
Old 07-05-2004, 01:59 PM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
I guess you should post your own thread instead of hijacking someone else's.
 
Old 07-05-2004, 06:54 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Moderator note: motub, I've split the thread. In case like this one you can always report the post and ask to split the thread.
/end of moderator note

There are also more polite ways to express that someone did something wrong, just IMHO.
 
Old 07-05-2004, 07:23 PM   #11
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Thank you; I'll note that for the future.

There are more polite ways to express your displeasure that the forum has not come to your immediate assistance, too.

In any case, back to the regularly scheduled program.
 
  


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
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 09:25 PM
installing from iso9660 - restarts installation without installing anything scuzzman Slackware 1 10-24-2004 08:46 PM
installing softwarwe genhan Linux - Newbie 3 07-06-2004 05:57 PM
Installing Windows XP after installing Red Hat 9 BluePyre Linux - General 7 03-09-2004 04:37 PM
Installing RAID Drivers before Installing RH 9 kwright Linux - Newbie 3 08-25-2003 10:57 AM


All times are GMT -5. The time now is 04:55 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