LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-11-2005, 04:22 PM   #1
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Rep: Reputation: 15
Which directory should I install a program in?


I am installing RealPlayer and it wants me to specify a folder to install it to. should I use my own within my home folder or use a directory where the other programs are installed that came with fedora, if so which folder are the programs in?
 
Old 04-11-2005, 04:27 PM   #2
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 31
Hi,

You can use your home directory if you wish, but what I've done in the past is put it in something like /opt/RealPlayer. Then, remember to create a symbolic link in the /usr/bin directory to the RealPlay executable (I have a feeling the installer will do this for you) - you'll need to run the installer as root.

And that should be it!
 
Old 04-11-2005, 04:28 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
self contained, non standard apps like realplayer tend to go into /opt. this acts much more liek "program files" on windows, i.e. one directory per app. then you would have a symlink from /opt/Realplayer10/bin/realplayer to /usr/bin/realplayer for easy access.
 
Old 04-11-2005, 04:30 PM   #4
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Technically you can put it in any directory you want. Costum is to put apps you add on into /usr/local or /opt. You could also put it in /usr but traditional that is for apps that the distro supplies. If you want to keep it really separate from everything else put it in /opt/realplayer and then set the bin and lib paths accordingly. Or just put it in /usr/local... most common place for add on apps. Use whatever system you want and will make it easier for you basically.
 
Old 04-11-2005, 04:55 PM   #5
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
What do you mean by this "set the bin and lib paths accordingly"? Do I create those folders or are they files?
 
Old 04-11-2005, 05:12 PM   #6
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Quote:
Originally posted by LinuxPadawan
What do you mean by this "set the bin and lib paths accordingly"? Do I create those folders or are they files?
Okay lets say you decide to put realplayer into /opt/realplay. Where I would put it also. Now, you will have /opt/realplayer/bin and /opt/realplay/lib directories. If it's only one bin and you are not going to link anything else to the realplay libs, i.e. other apps, then you could do as was suggested... "ln -s /opt/realplayer/bin/realplayer_app_name /usr/bin/. Me I set my path and libs accordingly.

Let's say you put a biggy in the /opt like kde or gnome. Creating a thousand sym links is not optimal. So I edit my bin PATH in my bash profile. In slack I've created a script /etc/profile.d/extra.sh to set these kinds of things and do other customizations. Like different colors for root and user prompts, CFLAGS, aliases, manpages etc. The /etc/profile will look into /etc/profile.d directory and run any executable script.

export PATH=$PATH:/opt/realplayer/bin

and then I add the lib directory to the /etc/ld.so.conf file. Then run ldconfig.

I've probaly confused you. So for realplayer just do what the other people recommended and create the sym link.
 
Old 04-11-2005, 05:20 PM   #7
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Extra thought. Why do you wan to use realplay? Xine or Mplayer are really good. You can add codecs for realplayer, quicktime, windows media player, etc and have it play any format.

I'm only asking because realplayer has a reputation for installing spyware and what not and is a shady company.

Last edited by chbin; 04-11-2005 at 05:27 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Program directory help... JustinCoyan Slackware 3 04-19-2005 10:27 AM
Program Directory nodnarb Linux - Software 2 07-18-2004 09:18 PM
Linux program directory SciYro Programming 7 05-21-2004 09:29 PM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM
Directory travesal program serotonincy Programming 3 02-22-2004 12:42 PM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration