How Do You Install Programs In Linux |
![]() ![]() |
How Do You Install Programs In Linux |
Mar 8 2006, 11:39 AM
Post
#1
|
|
|
Member ![]() ![]() Posts: 29 OS: windows xp |
I read something that told me that i needed to log in as a root administrator in console and i did it but i did not find a way to install the program it also said that i need to compile the file? can anyone help me with this or anybody has a tutorial that explains it good? |
|
|
Mar 8 2006, 11:56 AM
Post
#2
|
|
![]() Ruler of Omicron Persei 8 Posts: 20,852 From: kn-ARGH!-xville Tenn-ARGH!-see OS: 3.1, 95, 98SE, xp, 2000, NT4, 2003 Standard Edition, linux (various flavors) |
there are a few ways to install programs in linux (what version of linux by the way)
#1 is to download the program in RPM format which will allow you to install the programs in a similar fashion to normal windows installs #2 is to cd to the directory where the source files are located (in a command shell) and then type ./configure then make then make install then make clean little more info here http://www.linuxquestions.org/questions/sh...ead.php?t=45094 |
|
|
Mar 8 2006, 02:40 PM
Post
#3
|
|
|
Member ![]() ![]() Posts: 29 OS: windows xp |
thanks i will give it a try when i get home
i have mandriva linux i don't remember what version but i also have fedora core 4 but i think its the same on both |
|
|
Mar 8 2006, 02:44 PM
Post
#4
|
|
![]() Ruler of Omicron Persei 8 Posts: 20,852 From: kn-ARGH!-xville Tenn-ARGH!-see OS: 3.1, 95, 98SE, xp, 2000, NT4, 2003 Standard Edition, linux (various flavors) |
i've got mandriva as well...and i've worked in fedora core....the process listed above will work in both
|
|
|
Mar 8 2006, 04:39 PM
Post
#5
|
|
![]() Trusted Tech Posts: 965 From: Plateau OS: Linux, DSL OS,Win95, 98, XP |
To do the make install, you typically need to do it is "root", but you can also normally select the location to install the program, which can be in your home directory or some other place. You need to either add that location to your path variable or specify the complete path.
|
|
|
Mar 9 2006, 04:18 PM
Post
#6
|
|
![]() Member ![]() ![]() ![]() Posts: 326 From: Hartford, WI, USA OS: Ubuntu Linux 7.10, Redhat 9, Windows XP Professional |
to become root, in the console, type "su" [enter] then enter your root password [enter]
ex: CODE $ su Password: # cd <directory where source code is> # ./configure # make # make install # make clean you should read the "INSTALL" file that is usually in the same folder as the configure script. this will tell you the exact commands that are needed, sometimes a "make all" or "make depend" may replace a make command listed above. also sometimes there is no configure script, just type make and its done. this should be the same with all i386 linux distros that have gnu make, and gcc installed. |
|
|
Mar 9 2006, 10:22 PM
Post
#7
|
|
|
Member ![]() ![]() Posts: 29 OS: windows xp |
thanks for all the help
|
|
|
Mar 10 2006, 03:40 PM
Post
#8
|
|
|
Member ![]() ![]() Posts: 29 OS: windows xp |
I try the codes that it says right here but they don't work i do not know what i am doing wrong but i apreciate the help you have given me
|
|
|
Mar 10 2006, 04:33 PM
Post
#9
|
|
![]() Member ![]() ![]() ![]() Posts: 326 From: Hartford, WI, USA OS: Ubuntu Linux 7.10, Redhat 9, Windows XP Professional |
what is the exact file you are installing?
a link to the download would be nice, then we can try to install it, and tell you how we did it if we get it to work. |
|
|
Mar 10 2006, 06:32 PM
Post
#10
|
|
|
Member ![]() ![]() Posts: 29 OS: windows xp |
MPlayer-1.0pre7try2.tar.bz2
its a media player its located on /home/ratilio |
|
|
Mar 10 2006, 06:43 PM
Post
#11
|
|
![]() Trusted Tech Posts: 965 From: Plateau OS: Linux, DSL OS,Win95, 98, XP |
QUOTE(el_rata_y3k @ Mar 10 2006, 04:32 PM) [snapback]594959[/snapback] MPlayer-1.0pre7try2.tar.bz2 its a media player its located on /home/ratilio Ok, so what is the error that you are getting? BTW, you might also look to see if you can find a rpm, which is precompiled. Also, you might want to check out "xine", a similar program, which I prefer. |
|
|
Mar 10 2006, 06:47 PM
Post
#12
|
|
![]() Member ![]() ![]() ![]() Posts: 326 From: Hartford, WI, USA OS: Ubuntu Linux 7.10, Redhat 9, Windows XP Professional |
CODE su Password: (enter your root password here) cd /home/ratillio tar zxf MPlayer-1.0pre7try2.tar.bz2 cd MPlayer-1.0pre7try2 ./configure --enable-gui make make install if the configure script tells you errors, then post them here, also it may say that you are missing some library or some other required component. post what it says here. if it gives you no errors, and you are able to 'make' and 'make install' fine, try running: CODE gmplayer <path and filename of movie file> |
|
|
Mar 10 2006, 06:50 PM
Post
#13
|
|
![]() Member ![]() ![]() ![]() Posts: 326 From: Hartford, WI, USA OS: Ubuntu Linux 7.10, Redhat 9, Windows XP Professional |
you should aslo try vlc media player http://www.videolan.org
that may be just as hard to install though, unless you are using an os that is compatable with the 'yum' command. in that case "yum -y install vlc" is all you need to type, and every package needed will be automatically installed. |
|
|
Mar 10 2006, 08:00 PM
Post
#14
|
|
|
Member ![]() ![]() Posts: 29 OS: windows xp |
this is what i get when i try what you tell me
i think it must be me [ratilio@localhost ~]$ su Password: [root@localhost ratilio]# cd /home/ratilio [root@localhost ratilio]# tar zxf MPlayer-1.0pre7try2.tar.bz2 gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors [root@localhost ratilio]# [root@localhost ratilio]# [root@localhost ratilio]# |
|
|
Mar 10 2006, 08:10 PM
Post
#15
|
|
|
Member ![]() ![]() Posts: 29 OS: windows xp |
i am really confused now i used to think linux was easy but now i think its weird
i mean i like it but its just a big complication for new users and i also would like to know why if the rpms when i click on the they don't self install but they are opened on a folder way |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
2 / 668 | 14th October 2007 - 09:16 PM Joeyp started - last by Joeyp |
|||||
![]() |
2 / 219 | 17th February 2008 - 06:06 AM fsjboy started - last by Troy |
|||||
![]() |
4 / 141 | 5th March 2008 - 02:31 PM Don'tcompute started - last by shard92 |
|||||
![]() |
5 / 880 | 7th April 2008 - 01:36 AM caricaturd started - last by Dellica |
|||||
|
Time is now: 6th January 2009 - 05:42 AM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |