LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-29-2011, 04:45 PM   #1
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Rep: Reputation: Disabled
Installing Software


Hello

I've only recently installed Ubuntu alongside Windows XP and having problems installing software with the tar.gz file extension I can extract the files but dont have a clue how to install the program, I assume I have to type some commands in the terminal window but being a windows user for so long I find this difficult to understand as any software for windows comes with a setup file that only involves a double click and it's installed which seem so much easier, I'm not comparing one with the other I understand Linux is different and I'm not knocking it clearly it's my lack of knowledge that's the problem but I'm keen to learn as i like using it.

Any help would be appreciated

Emegra
 
Old 09-29-2011, 04:53 PM   #2
ramkatral
Member
 
Registered: Aug 2011
Location: Tryon, NC
Distribution: Slackware x64, Arch x64
Posts: 74

Rep: Reputation: 12
Generally, after you unzip and untar the archive, this is the routine procedure: cd to the new directory, then view the README files and what not. Then, if there is a configuration script it will generally be something like typing this './configure'. It will go through the configuration process. Then, follow that with the command 'make', and after that's done... 'make install'... That's the general process of compiling a program. Make install moves the files to the proper location in the file system. You should then be able to run the command like any other.

For more help... search for 'Compiling linux programs'... That will probably yield better results than 'installing'.
 
Old 09-29-2011, 05:48 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
what are you trying to install... it is likely you should be installing it thru the package manager.
 
1 members found this post helpful.
Old 09-29-2011, 08:49 PM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Schneidz gave you the correct answer. In case it was too concise to understand, I'll explain a bit more.

Quote:
Originally Posted by Emegra View Post
having problems installing software with the tar.gz file extension
That is the hard way to install software on Ubuntu. You might use that hard way for really obscure software that you can't get through the package manager. An expert might also use that hard way to get a version much older or newer than the libraries of the distribution (something a beginner has neither reason nor skill to do).

For ordinary software, learn to use Ubuntu's package manager. You can get almost any software easily via package manager that you could install with difficulty from a .tar.gz file.

I'm not certain which GUI package managers are available in the version of Ubuntu you have. I really like Synaptic, which is available in at least some versions of Ubuntu. All the available UI's for package management in Ubuntu are just user interfaces for the same underlying package management system. So the results are the same and only the UI varies.

There are also a few command line (non GUI) UI's for package management. The commonly used one is apt. I expect you wouldn't like apt as well as something like synaptic for your ordinary use. But if an expert needs to give you clear instruction on how to install something, it is easier to tell you exactly how to do it with apt vs. a GUI.

Ramkatral told you the basics of how to install software from a .tar.gz file. But there are details that often vary across packages and there are some pitfalls even when those basic steps are exactly right. The whole process is aimed at users who know more about Linux than you do (for them it is no longer hard to install from .tar.gz, but it remains better to install from the package manager).

If you post name/description (maybe URL) of the specific software that you want to install that you can't get through the package manager, I expect someone would give you more details on what you need to do. But if you are trying to install from .tar.gz file some software better installed by the package manager, you're really making a mistake and anyone providing more detailed instructions is just encouraging you to make that mistake.

Last edited by johnsfine; 09-29-2011 at 09:08 PM.
 
1 members found this post helpful.
Old 09-30-2011, 12:51 AM   #5
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Original Poster
Rep: Reputation: Disabled
There are 2 programs I'm trying to install one is media companion the other is xnview, I've looked for them both in the software centre and neither seem to be there, I downloaded a program called puddletag (a mp3 tagging program) which downloaded as a .deb file when I right clicked on the file I had the option to install wih Ubuntu software centre so I'm guessing that it was already available in the software centre and I didn't really need to download it from elsewhere,so I'm assuming that if i download a program that is already in the software centre it will download as a .deb file (please correct me if I'm wrong) but with media companion & xnview I dont get that option so I presume they're not available in the software centre, I can get by without xnview as there are other alternatives I can use but I dont think there is an alternative for media companion, I understand that installing using the command line maybe outwith my capabilities but if someone was to explain step by step each command and if possible what each command is doing I'm willing to try as I'm keen to learn

Many Thanks
Emegra
 
Old 09-30-2011, 07:23 AM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by Emegra View Post
downloaded as a .deb file when I right clicked on the file I had the option to install wih Ubuntu software centre so I'm guessing that it was already available in the software centre and I didn't really need to download it from elsewhere
That is not necessarily correct. The software center knows how to find many .deb files in Ubuntu and Debian repositories online. It also knows how to install .deb files whether it found them itself or not.

So if a version of that .deb file were available from some repository that was enabled or could have been enabled in the software center, then it might have been easier/better to install it from a repository. But when you tell the package manager to install from a .deb you had downloaded yourself, it does what you told it to do independent of whether it could have found a version of that .deb itself.

Installing from a .deb you found yourself is not generally as problem free as having the package manager find it. But as you have discovered, it is easier than installing from tar.gz for software the package manager cannot find.

As for your more important question on "media companion" and xnview, I don't have time to look into that now. Probably someone else who already knows or quickly looks into it will answer soon. If not, I'll try to get back to you.

Last edited by johnsfine; 09-30-2011 at 07:25 AM.
 
Old 09-30-2011, 08:47 AM   #7
Fordalex006
LQ Newbie
 
Registered: Sep 2011
Location: 3121 Nelm Street Alexandria, VA 22304
Posts: 3

Rep: Reputation: 0
Thank you for sharing ideas and information that have sense, I really appreciate your postings. this will help a lot of people who have the same problem. hope to see more helpful posting in the future.
 
Old 09-30-2011, 09:11 AM   #8
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
my fedora install came with some image viewers; under 'applications -> graphics' i have: gthumb, eye of gnome (eog), shotwell, imagemagick (display), gimp, ... have you tried the pre-installed programs to see if they fit your needs ?

also, does xbmc fit your needs for a media scraper (i believe it has imdb/ tvdb built-in).

Last edited by schneidz; 09-30-2011 at 09:21 AM.
 
Old 09-30-2011, 09:23 AM   #9
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
There is no single way to install software from an archive such as .tar.gz. It depends on how the distributor set it up. Sometimes all you have to do is extract the files, and everything is ready to go. Mozilla distributes several packages this way, including Firefox and Thunderbird. Sometimes there is a binary .run file, which you run to do the installation. Sometimes you have to compile the source, starting with running the configure file. You have to read the documentation to find out how to install it, whatever the configuration.
 
Old 09-30-2011, 09:25 AM   #10
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
I expect the "media companion" you mean is this
http://sourceforge.net/projects/mcforlinux/

So far as I can tell, the download gives you C# source code and a csproj file without any more to help you with compiling or installing it.

First you would need to install the correct mono package(s) from your package manager, then use mono to build "media companion". I've never used mono, so I can't even guess at more detailed instructions.

If you want to proceed with that, you might search LQ for threads about mono or start a new thread to ask for mono cook-book instructions (how someone who isn't a C# programmer can compile and use someone else's C# source code in mono).

Typical tar.gz files for free software will be a little more user friendly than this one. But the range of what you might find in a free software tar.gz is quite large. Common rules exist, but there are exceptions (like this one) where none of the common rules apply.

Last edited by johnsfine; 09-30-2011 at 09:36 AM.
 
Old 09-30-2011, 09:48 AM   #11
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
You also asked about XnView:

Post #5 of this thread
http://ubuntuforums.org/showthread.php?t=1689980
tells you to get XnView as an .rpm file (what Red Hat based Linux distributions use instead of .deb files) and tells you how to get and use the Ubuntu tool for installing from .rpm files.

I don't know if that is the best way to get XnView, but it is a way and probably not too difficult.

BTW, do you have 32-bit Ubuntu or 64-bit Ubuntu?

The XnView download I found has only 32-bit XnView
http://www.xnview.com/en/downloadunix.html

You can install and use 32-bit applications on 64-bit Linux, but that can be slightly trickier in a Debian based Linux (such as Ubuntu) than in Red Hat based Linux. Translating a 32-bit .rpm for Ubuntu might result in a .deb that is only correct in 32-bit Ubuntu and needs some manual steps during install to make it OK for 64 bit Ubuntu.

Last edited by johnsfine; 09-30-2011 at 09:56 AM.
 
Old 09-30-2011, 03:41 PM   #12
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Original Poster
Rep: Reputation: Disabled
Thanks to everyone for their input it seems the more information I get the more questions arise and the more convinced I'm becoming that I'm just out of my depth but as long as people are prepared to indulge in my ignorance and give their time to help me I'll keep plugging away, regarding the RPM thing is there a tool in the software centre that will allow me to install RPM files directly without any compiling etc ?,

regarding media companion it looks like I couldn't have chosen a more difficult example so it looks like I'll have to give up on that until at least I have a better fundamental understanding of source code & compiling etc if I ever do

I agree with Schneidz there are other alternatives to xnview it's just that I have used it in my windows installation for a while and can't see past it but I would be happy to try other alternatives

As far as XBMC is concerned that is the whole point of the execise, currently I have XBMC installed on an old xbox I softmodded and connected to my TV & sound system and stream media from a freenas server I built from an old pc, I download movies mainly childrens films for my grand-daughter convert them so they're all the same format then store them on the server as a collection, media companion is important because it's written to compliment XBMC and gives me all the fanart, posters movie info etc so one without the other isn't quite the same and I know of no other software that can do what media companion can do, so in a nutshell I'm simply trying to do in Linux what I can already do in windows because there is so much I like about Linux and i enjoy trying to learn new things, like JFK once said about going to the moon "I'm not doing this because it's easy I'm doing this because it's hard".

Regarding my version of Ubunto it's 11.04 I know this is gonna make me sound like a hopeless case but I honestly dont know if it's 32 bit or 64 bit or how I find out.

Anyway thanks to everyone for your help so far I'm not sure if I've addressed everyones questions I had so many replies (which I'm very thankful for) but I'll go through all the posts more thoroughly and experiment further and any other suggestions of advice anyone has for me would be appreciated

Emegra
 
Old 09-30-2011, 03:47 PM   #13
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Emegra View Post
...Regarding my version of Ubunto [sic] it's 11.04 I know this is gonna make me sound like a hopeless case but I honestly dont know if it's 32 bit or 64 bit or how I find out...
fyi:
Code:
uname -a -m -p
 
Old 09-30-2011, 04:13 PM   #14
Emegra
Member
 
Registered: Sep 2011
Location: Dundee, Scotland
Distribution: Mint Maya 13
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
fyi:
Code:
uname -a -m -p
Hi Schneidz I take it you meant me to use that as a code in the terminal window but I dont see anything about what version did I misunderstand, here's what I got

Linux Emegra 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011 i686 i686 i386 GNU/Linux
 
Old 09-30-2011, 07:53 PM   #15
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Emegra View Post
Hi Schneidz I take it you meant me to use that as a code in the terminal window but I dont see anything about what version did I misunderstand, here's what I got

Linux Emegra 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011 i686 i686 i386 GNU/Linux
it shows you are using ubuuntu 32-bit (i686). if it were running 64-biit, it would report x86_64.
 
  


Reply



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
Help with installing software scagman Linux - Software 2 05-05-2005 05:43 PM
Installing Software????? add7 Linux - Newbie 1 11-23-2004 06:07 AM
Installing software JoQ18 Linux - Newbie 1 10-24-2004 06:20 PM
installing software verynew Linux - Newbie 2 05-21-2002 06:02 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 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
Open Source Consulting | Domain Registration