LinuxQuestions.org
Review your favorite Linux distribution.
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 08-15-2002, 03:08 AM   #1
vikasreddy
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore, INDIA
Distribution: Mandrake 8.1 and Windose Me( it was OEM)
Posts: 27

Rep: Reputation: 15
how to install programs without rpms


hi,
i a newbie and i totally berzerk about the methodology of installing programs and placing their executable file shotcut in the menu. rpms install fine but i not able to find the program after installing it and hence, i not able to use all the good programs i download, the same goes for skins and themes too.
can u also explain the directory structure in linux i.e. what does each dafult directory store like in win. we hav program files for progs and windows for the os. what is it in linux?
i sorry bout the number of questions, but i need to know.
cheers
zed
 
Old 08-15-2002, 03:43 AM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
well i am pretty much a newbie to but i'm learning fast, just search around the forums with some key words like 'install' or 'installing programs' 'rpms' 'tarballs' stuff like that, but most programs you install are found in the /bin directory, and you have to make the shortcuts to the program your self...... and heres a good URL with some tuts www.linuxnewbie.org
 
Old 08-15-2002, 03:44 AM   #3
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
people correct me if i am wrong
 
Old 08-15-2002, 03:45 AM   #4
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
/home comparable with mydocu~1 in windows
/usr/ user files containing:
/usr/local/bin all binaries for users
/usr/loca/lib libraries for users
/usr/bin worldwide binaries
/usr/lib the same with libraries
/usr/sbin root binaries and other system tools.
/var variables e.g. logfiles, ftp, default http, process íd's,
mail spools
/etc all config files.. including boot configs
/root root's homedir
/boot put your kernels there..
/usr/scr sourcecode for the linux kernel (if installed)

did I forget something?
 
Old 08-15-2002, 04:02 AM   #5
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
no you didn't, well said, better then i could ever do you taught me a thing or two aswell
 
Old 08-15-2002, 04:56 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Nope GT I.N.C., that's a good url alright huh huh, well in my short experience with Linux, I have found most of my programs to be in /usr/bin but that's not always true. You can query your rpms to see what's in it, and what to execute after the install. If you do verbose (assuming you are command lining it) you can also see what files are going where then.
rpm -q filename.rpm should do it. IF not, man rpm should give you a hint.

The filesystem can best be described over at my favorite non forum linux site, www.linux.org

I'll poke around and find the exact page and post back in a few for ya. Cool

Last edited by MasterC; 08-15-2002 at 05:00 AM.
 
Old 08-15-2002, 04:59 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
http://www.feep.net/~roth/unix/filesystem.html

There's one found during my quest, but here's the one I was referring to:
http://www.linux.org/lessons/page.cgi?PageID=75

You may (and should) follow the whole lesson, very good info.

Cool
 
Old 08-15-2002, 05:00 AM   #8
fIREfox
LQ Newbie
 
Registered: Aug 2002
Location: UK
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
/bin and /sbin tend to house the programs that were installed when the machine was installed. New programs that you install are normally put in /usr/local/bin or /usr/local/sbin.

HTH
 
Old 08-15-2002, 07:26 AM   #9
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
I messed one thing up
/usr/sbin is most of the time /sbin
 
Old 08-15-2002, 08:39 AM   #10
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
I am new to all of this too, but i got sick of rpm's partly for the same reason (didn't know what was going on). I have found that building the sources is a much cleaner way to go about it. you can tell the ./configure program to put almost any of the files anywhere (./configure --help gives you the options. use --prefix=/usr or --bindir=/usr/bin for binaries in /usr/bin)

download sources into /usr/src/download
cd /usr/src/download
tar -zxvf xxx.tar.gz
bzcat xxx.tar.bz2 | tar -xv

cd xxx
*****READ the README's *****
./configure --help
make
make install

make clean

and if you need to recompile (try different ./configure options:

make distclean

good luck
 
Old 08-15-2002, 10:33 AM   #11
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
In most cases you need to add a link to KDE/GNOME menus yourself. You can always run a program using a terminal and typing its name (often with &, so it looks like 'prog &' to run it separately and have the terminal free).
 
Old 08-15-2002, 11:40 AM   #12
warhorse
LQ Newbie
 
Registered: Aug 2002
Location: Pittsburgh
Distribution: Debian
Posts: 24

Rep: Reputation: 15
You can do a

whereis program_name and it will check common directories for that program

You can also update your slocate database with updatedb and do
locate blah do look through your entire hard drive looking for "blah"
 
Old 08-15-2002, 01:52 PM   #13
ksandre
LQ Newbie
 
Registered: Jul 2002
Location: New Hampshire, USA
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
Reading the Linux Filesystem Heirarchy Standard is worthwhile.
The last URL I had for it was [specific for kernel 2.2.+ - there was/is similar for other kernel versions]:

http://www.pathname.com/fhs/pub/fhs-2.2.txt.gz



It is also very much worth reading the Linux From Scratch Howto.
 
Old 08-15-2002, 02:34 PM   #14
physics_guy
LQ Newbie
 
Registered: Aug 2002
Posts: 1

Rep: Reputation: 0
RPMs

You can do a :
less xxx.rpm
to see what files will be installed where.
 
Old 08-16-2002, 11:19 AM   #15
vikasreddy
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore, INDIA
Distribution: Mandrake 8.1 and Windose Me( it was OEM)
Posts: 27

Original Poster
Rep: Reputation: 15
thanx a lot, cheers to ya al

guys
u've been of great help. thank u for enlightening me politely. i hope this thread was helpful for other linux newbies too.
neways thanks a lot
zed
 
  


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
Compiling programs from source rpms coolfrog Linux - General 1 09-10-2004 04:17 PM
installing programs, rpms and source Hal Linux - Newbie 1 07-11-2004 09:46 AM
RH 9 rpms will not install l4azyslaxxor Linux - Newbie 8 06-17-2004 04:58 PM
How to install RPMs? gmichel Linux - Newbie 10 09-28-2003 09:30 PM
big newb help instaling rpms or any programs dm_soldier Linux - Newbie 2 06-13-2003 09:50 PM


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