LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2004, 12:57 PM   #1
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Rep: Reputation: 15
Unhappy AVIFile 0.6.0 Install nightmare..


Ok I'm very inexperienced with Linux, although not all that new. Now that I have a running AND web compatible Mandrake 9.2 box I hope for faster progress!

I subscribe to the Magazine 'Linuxformat', and one of the essentials on the disc is the 'AVIFile'. Handy as I like to dld avis on the web, my main reason for tring to install this, as well as it being a typical format of file to be installed! But How???

I boot into a user account. I open a terminal and su to root. Then what? I know I have to copy the tar files from the DVD somewhere but where? I have to untar them next but from where to where, /opt, /lib?? Where?? Then I have to run autogen.sh, again I don't know how. I read and re-read but no-one explains the basics. Please help. Once I completely install one or two apps I'm confident my knowledge and usability on Linux will grow exponentially, AND I'll have the guts to go to a LUG without my head held low!

Thanks in advance.
 
Old 01-09-2004, 02:01 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Have you tried installing it with Mandrake Control Center? Perhaps a prebuilt package is available for Mandrake. If not, here are excellent guides to how to managing software.

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page
 
Old 01-09-2004, 05:44 PM   #3
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Original Poster
Rep: Reputation: 15
Thanks for your support. I will busy away for a while and see how I get on!
 
Old 01-09-2004, 07:43 PM   #4
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
U have the Mandrake Control Center and inside it Software Management
At Helps Install you can search for your package.
If u cant find it search in the web; run midnight, [enter] over the file and u can see the word INSTALL. {enter] over it and ...happy new year !!!
 
Old 01-10-2004, 06:19 AM   #5
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Original Poster
Rep: Reputation: 15
Thanks. I will have a go! I have tried using mandrake software management before but as I have no experience with tr.gz files. I know it has to be extracted from the archive and then 'makefile' so I don't know if package management recognises this? There is a shell script 'autogen.sh' which is supposed to take the grief away from the install but I couldn't get it to work.

I presume most users do log in as a 'user'? Changing to root only when you need to tweak things?? Or as a single user station do mot log in as root??
 
Old 01-10-2004, 12:48 PM   #6
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
not at all
Well. No not at all.
Usually to install a tarball packages you must
1) untar it. In this case also unzip it. Then tar -xvzf filename. When you do it you can see where (in which dir) descompress the tarball file
2) cd to the new dir and read INSTALL. Usually you can install a package with ./configure-make-make install but each one is each one.:0 .
2) To install a package you must be root, but read INSTALL
3) I can suggest you to install midnight commander which is in one of the CD. Then run in a terminal mc. With it you can watch the structure of your system and make more thing.
4) to be root simple type su in a terminal. From it you can work as root. (Look the prompt!)

Last edited by nightjar; 01-10-2004 at 12:51 PM.
 
Old 01-10-2004, 01:04 PM   #7
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Original Poster
Rep: Reputation: 15
Thanks for your support. I will update soon when I have found my little book of linux calm..

I need Lego style instructions I think.. eheh
 
Old 01-10-2004, 01:11 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Quote:
Then I have to run autogen.sh, again I don't know how
As root and while in the directory that contains the file autogen.sh, type this command:

./autogen.sh

If it fails, try chmod 755 autogen.sh and try ./autogen.sh again.

From LNAG - How do I install a program I downloaded from the Internet?:
Quote:
First, I change my current working directory to /usr/local :

cd /usr/local

Second, I decompress the tarball that I downloaded from the net:

tar -xvzf /home/the_dir_where_the_tarball_is/my_tarball.tar.gz

This extracts (option "x") the contents of the *.tar.gz (or *.tgz) tarball, unzips it (option "z"), while talking to me more than usual (option "v" = verbose). Please note that the option "f" means "file", so the filename must immediately follow the letter "f". The contents of the tarball are extracted into a subdirectory which tar creates under my current working directory, which in the typical case is /usr/local/ . The tarball knows what the new subdirectory should be called.

If the tarball is not compressed (e.g., *.tar), I may use:

tar -xvf /home/the_dir_where_the_tarball_is/my_tarball.tar

Third, I have to figure how the new directory is called, then I cd into it:

dir
cd the_new_program_subdir


Since some of the directories have long names, I use the great autocompletion option to save on typing--I just type the first few letters and then press <TAB> .

Fourth, most programs are compiled by executing these three commands:

./configure
make
make install


The above commands can take some time to complete (1 min? 0.5 h?). If any of them fail, it might be an idea to read the README or INSTALL or whatever info is provided with the new program. Some programs may require customization of the environment (e.g. definition of their path) or installation of an additional library, or yet something else. It can sometimes be a pain. Very simple programs might not need the "./configure" or/and "make install" step, in which case "make" alone will do.

Fifth, if everything goes well, I find the new executable which I just compiled. The names of executables display in green when running this command:

ls --color

Now, I can run the executable, for example:

./the_executable

Some programs automatically install the executable to /usr/local/bin, so I may want to try:

/usr/local/bin/the_executable

Sixth, if I plan to run the program more often, I create a symbolic link to the executable from the directory /usr/local/bin :

cd /usr/local/bin
ln -s /usr/local/the_new_program_subdir/the_executable .


This way, the executable (actually, a symbolic link to it) is on my PATH and it can be run by simply typing its name (no need to type the full path to the executable any more). Some programs will install the executable (or a link to it) in a "bin" directory in which case you skip the last step.

Last edited by fancypiper; 01-10-2004 at 01:21 PM.
 
Old 01-10-2004, 08:32 PM   #9
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Original Poster
Rep: Reputation: 15
Thankyou! A most wonderful clear and comlplete explanation! And guess what.. it works!

You haven't a book out or anything have you? It would sell! eheh I will now try the same theories on other apps and see where I get! Thanks again.. very much!
 
Old 01-10-2004, 09:40 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
All I know about linux is in my sig and these should be in your bookmarks:

Linux Newbie Administrator Guide
Rute User's Tutorial and Exposition
Linux Administration Made Easy
 
Old 01-11-2004, 12:09 AM   #11
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Quote:
Originally posted by fancypiper
All I know about linux is in my sig and these should be in your bookmarks:

Linux Newbie Administrator Guide
Rute User's Tutorial and Exposition
Linux Administration Made Easy
Most importantly that link: Cold Guiness the Geek Way

Very cool fancypiper.
 
Old 01-11-2004, 02:30 AM   #12
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
All I know about the world is in ...GOOOOOOOOOOOOOOOOOGLE
...and then the nothing

Last edited by nightjar; 01-11-2004 at 07:39 AM.
 
  


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
unRAR install nightmare smudge|lala Linux - Software 5 01-26-2005 12:25 PM
XINE Nightmare install masa4i89 Linux - Newbie 1 01-30-2004 05:17 PM
linux install nightmare jjpetrucelli Linux - General 4 09-27-2003 03:25 PM
aaarrrgggghhgh install nightmare salparadise Linux - Newbie 3 12-21-2002 03:59 AM
Again avifile install problem Cheitun Linux - Newbie 2 03-08-2002 09:55 AM


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