LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-30-2006, 06:19 PM   #1
The Redneck
Member
 
Registered: Jul 2006
Location: Earth
Distribution: SuSE 9.2
Posts: 36

Rep: Reputation: 15
manual installation of programs


Hello Folks!

I am running SuSE v9.2 and Id like to know how to install programs without the use of YaST. I guess that's called "manual installation".

Anyhow, any help would be appreciated (SP?)


P.S. If you have any other words of wisdom that you think might be helpful to a poor newbie, that would be great as well!

THNX!

The Redneck
 
Old 08-30-2006, 06:32 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
It varies from program to program, but quite a lot follow a similar procedure:
- Download the source code (this is often a compressed archive);
- Extract the source code. If the archive name ends in .tar.gz or .tar.bz2 use:
Code:
tar -zxf archive-name.tar.gz
tar -jxf archive-name.tar.bz2
- cd to the directory created by the extraction
- Read the readme and install files
- Install any pre-requisites
- Run the following, supplying any of the options explained in the docs
Code:
./configure
make && make check
su -
make install
Words of wisdom? Always read the readme and install docs...
 
Old 08-30-2006, 08:52 PM   #3
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
You also have to worry about dependencies, you should be more specific, as if you are trying to install mplayer manually it will be a lot different than trying to install opera manually. Either way there is detailed documentation for both online. Is there a specific program that you are after?
 
Old 08-31-2006, 12:05 AM   #4
The Redneck
Member
 
Registered: Jul 2006
Location: Earth
Distribution: SuSE 9.2
Posts: 36

Original Poster
Rep: Reputation: 15
Well, specifically I wanted to install either xine or mplayer. I'm not sure wich one is better though. All I want to use it for is watching movies.

Thanks to the both of you!
 
Old 08-31-2006, 12:18 AM   #5
BiThian
Member
 
Registered: Aug 2006
Location: Romania
Distribution: NetBSD 3.1
Posts: 118

Rep: Reputation: 15
Much better is MPlayer

PS: Probably, The RedNeck want to install manually some rpm's too
 
Old 08-31-2006, 12:23 AM   #6
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
When I am looking for a new software, I search for an .rpm file. I find it easier and more straightforward to install. To install these types of files, you just need to give the command

rpm -ihv file.rpm (to install)
rpm -Uhv file.rpm (if you want to update an already existing software)

Cheers
 
Old 08-31-2006, 12:38 AM   #7
nmn
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
Wow. Nobody says how to use rpms here? I run SuSE. Fucking hate YaST... And i dont know why. To manually install an rpm.. goto a command line and cd to where the rpm is. You can install by using

rpm -Uvh [packagenamehere]

normally. Please, Google Smart Package manager, and look for the suse download page in the first result returned. In other words, install Smart Package manager (either manually or YaST wise) and use it It ROCKS. Basically, you need the packages for your version. The one with nothing after it and the gui one.

You must be root to install rpms, so if the reason you need to manually install rpms, your screwed... if your despret to not use root, you can extract it somewhere using file-roller on gnome... then you can atleast run the inner binaries. for library packages, or any package with .so, try extracting it somewhere you have write access... and then, the following command:

LD_LIBRARY_PATH=[location of .so files]:$LD_LIBRARY_PATH

and programs using it will now run. If you have done this, it will literally install the stuff... unfortanatally, it will not register. So you need --nodeps on the rpm command to force it to STFU when you have all dependencies except for the one manually installed...

So in other words... Use root. Use Smart package manager. If smartpm is not satisfying..... You CAN directly execute rpms and install them using YaST still. It may fail some dependencies... you can search for those too which probably also have dependencies... and so one. Welcome to dependency hell!

Good luck

edit: @fatra2: you beat me to it I use Uvh even when its a fresh install. Seems to work fine.

Last edited by nmn; 08-31-2006 at 12:39 AM.
 
Old 08-31-2006, 07:41 AM   #8
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
I fully agree with you, nmn. I also use the command "rpm -Uhv" for a new iustallation. If the package is not yet install, it will do so. If the package if already installed, it will update it, only if you have a newer version of it.

Cheers
 
Old 08-31-2006, 02:04 PM   #9
The Redneck
Member
 
Registered: Jul 2006
Location: Earth
Distribution: SuSE 9.2
Posts: 36

Original Poster
Rep: Reputation: 15
Thank's chaps! I'll give that a try.

God Bless!
 
  


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
package installation manual? bigwheel Slackware 11 05-06-2006 03:03 AM
manual LILO installation hdo781 Slackware - Installation 2 01-20-2005 01:46 PM
manual installation of gnome 2.8 tacca SUSE / openSUSE 2 11-20-2004 04:53 PM
Manual installation? hsegtreas Slackware - Installation 3 05-26-2004 11:15 AM
Manual Partitioning during Mandrake 9.2 Installation BACTRATE Mandriva 13 02-09-2004 05:14 AM


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