LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-11-2011, 05:47 AM   #1
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Rep: Reputation: Disabled
Installing software from extracted tar.bz2 with no ./configure or ./install


Hi,

I'm a fairly new Linux (Ubuntu Natty) user and I seem to get the same problem over and over again when trying to install software from a .tar.bz2 file.

There is NEVER a ./configure or ./install file in any of the extracted software I seem to be attempting to install.

In this particular case, there isn't even a .txt document with any kind of explanation.

The software is the recently updated version of Clipgrab (youtube downloader)

So:

ryan@IT-Ryan:~/Downloads$ tar xvjf clipgrab-3.1.0.2.tar.bz2
clipgrab-3.1.0.2/
clipgrab-3.1.0.2/video_youtube.cpp
clipgrab-3.1.0.2/clipgrab_de.qm
clipgrab-3.1.0.2/clipgrab.ico
clipgrab-3.1.0.2/video_clipfish.cpp
clipgrab-3.1.0.2/licence.odt
clipgrab-3.1.0.2/COPYING
clipgrab-3.1.0.2/converter_copy.h
clipgrab-3.1.0.2/video_tudou.h
clipgrab-3.1.0.2/video_collegehumor.cpp
clipgrab-3.1.0.2/video_myvideo.h
clipgrab-3.1.0.2/resources.qrc
clipgrab-3.1.0.2/video.cpp
clipgrab-3.1.0.2/mainwindow.ui
clipgrab-3.1.0.2/converter.cpp
clipgrab-3.1.0.2/clipgrab.cpp
clipgrab-3.1.0.2/logo-qt.png
clipgrab-3.1.0.2/clipgrab_de.ts
clipgrab-3.1.0.2/mainwindow.h
clipgrab-3.1.0.2/converter_ffmpeg.cpp
clipgrab-3.1.0.2/converter_ffmpeg.h
clipgrab-3.1.0.2/clipgrab.pro
clipgrab-3.1.0.2/icon.png
clipgrab-3.1.0.2/video_vimeo.h
clipgrab-3.1.0.2/windows_icon.rc
clipgrab-3.1.0.2/video.h
clipgrab-3.1.0.2/converter_copy.cpp
clipgrab-3.1.0.2/video_collegehumor.h
clipgrab-3.1.0.2/video_myspass.h
clipgrab-3.1.0.2/converter.h
clipgrab-3.1.0.2/logo-gpl.png
clipgrab-3.1.0.2/video_myspass.cpp
clipgrab-3.1.0.2/metadata-dialog.ui
clipgrab-3.1.0.2/video_dailymotion.h
clipgrab-3.1.0.2/mainwindow.cpp
clipgrab-3.1.0.2/splash.png
clipgrab-3.1.0.2/main.cpp
clipgrab-3.1.0.2/video_sevenload.h
clipgrab-3.1.0.2/logo.png
clipgrab-3.1.0.2/video_vimeo.cpp
clipgrab-3.1.0.2/clipboard_dialogue.ui
clipgrab-3.1.0.2/video_heuristic.h
clipgrab-3.1.0.2/video_heuristic.cpp
clipgrab-3.1.0.2/video_clipfish.h
clipgrab-3.1.0.2/video_myvideo.cpp
clipgrab-3.1.0.2/video_tudou.cpp
clipgrab-3.1.0.2/video_dailymotion.cpp
clipgrab-3.1.0.2/clipgrab_fr.qm
clipgrab-3.1.0.2/video_sevenload.cpp
clipgrab-3.1.0.2/video_youtube.h
clipgrab-3.1.0.2/clipgrab.h
clipgrab-3.1.0.2/clipgrab_fr.ts

Any ideas, based on the contents of this package, what I'm supposed to do with it to install it?

Thanks
 
Old 08-11-2011, 05:53 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You should look for documentation on the project's website. Looking at the website in this particular case, I couldn't find any documentation. However, there was a link to contact the developers, so I would use that.

Also, the download page has a binary that you can use, rather than getting the source code. You use the "Show all available download options" link and then choose the first option for Linux.
 
Old 08-11-2011, 06:01 AM   #3
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Nylex View Post
You should look for documentation on the project's website. Looking at the website in this particular case, I couldn't find any documentation. However, there was a link to contact the developers, so I would use that.

Also, the download page has a binary that you can use, rather than getting the source code. You use the "Show all available download options" link and then choose the first option for Linux.
Thanks. I also downloaded the .bz2 file (as opposed to .tar.bz2) and could find even less to do with that file.

I extracted the file using the archive manager which gave me some kind of executable-looking file. Could be .bin... no way to tell as far as I'm aware though.

I'm happy to use the .bin (if, indeed, that's what it is)

Here is what I see after having extracted the clipgrab-3.1.0.2.bz2 with archive manager...

ryan@IT-Ryan:~/Downloads$ cd Clipgrab_new/
ryan@IT-Ryan:~/Downloads/Clipgrab_new$ ls
clipgrab-3.1.0.2 <---- .bin??
ryan@IT-Ryan:~/Downloads/Clipgrab_new$
 
Old 08-11-2011, 06:10 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Set executable permissions on the file:

$ chmod +x filename

Then, you can execute it:

$ ./filename

In any case, it would be worth contacting them and telling them to provide documentation for their software. It's rather poor that they don't!

Edit: if you don't know about permissions, see this.
 
Old 08-11-2011, 06:12 AM   #5
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Nylex View Post
Set executable permissions on the file:

$ chmod +x filename

Then, you can execute it:

$ ./filename

In any case, it would be worth contacting them and telling them to provide documentation for their software. It's rather poor that they don't!

Edit: if you don't know about permissions, see this.
Thanks for that...

I still got

ryan@IT-Ryan:~/Downloads/Clipgrab_new$ chmod +x clipgrab-3.1.0.2
ryan@IT-Ryan:~/Downloads/Clipgrab_new$ ./clipgrab-3.1.0.2
./clipgrab-3.1.0.2: error while loading shared libraries: libphonon.so.4: wrong ELF class: ELFCLASS64
ryan@IT-Ryan:~/Downloads/Clipgrab_new$

but I'll try contacting them anyway.

Thanks again for your help.
 
Old 08-11-2011, 06:15 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The binary is compiled for 32-bit systems:

$ file clipgrab-3.1.0.2
clipgrab-3.1.0.2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped

I'd assume you're running a 64-bit OS.
 
Old 08-11-2011, 06:25 AM   #7
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Nylex View Post
The binary is compiled for 32-bit systems:

$ file clipgrab-3.1.0.2
clipgrab-3.1.0.2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped

I'd assume you're running a 64-bit OS.
Ah. That would be a correct assumption!

I guess it wont work unless a 64-bit release is out there.

Ah well.

Thanks for the help
 
Old 08-11-2011, 08:08 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Compiling clipgrab-3.1.0.2 :

cd clipgrab-3.1.0.2/ && qmake && make

( Packages 'libqt4-dev' and 'qt4-qmake' are required.)

Example 64bit binary : clipgrab-3.1.0.2-ubuntu1010.amd64.tar.gz
Download link ...
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

..
 
Old 08-11-2011, 08:15 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Compiling clipgrab-3.1.0.2 :

cd clipgrab-3.1.0.2/ && qmake && make
Ah yes, I didn't notice there was a .pro in there. Still, the developers should provide basic information like this to end users.
 
Old 08-11-2011, 08:19 AM   #10
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Nylex View Post
Ah yes, I didn't notice there was a .pro in there. Still, the developers should provide basic information like this to end users.
Thanks guys...

Got the 64bit version now but I'm experiencing:

ryan@IT-Ryan:~/Downloads/clipgrab-3....ubuntu1010.amd64$ && qmake && make
bash: syntax error near unexpected token `&&'

When using:

ryan@IT-Ryan:~/Downloads$ cd clipgrab-3.1.0.2-ubuntu1010.amd64/ && qmake && make

I receive usage instructions.
 
Old 08-11-2011, 08:27 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
The clipgrab-3.1.0.2-ubuntu1010.amd64.tar.gz is a binary :
Ready to use, just click the file 'clipgrab'.


Compilation is for the files shown in post # 1.

..
 
Old 08-11-2011, 08:29 AM   #12
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
The clipgrab-3.1.0.2-ubuntu1010.amd64.tar.gz is a binary :
Ready to use, just click the file 'clipgrab'.


Compilation is for the files shown in post # 1.

..


Thanks!
 
Old 08-11-2011, 08:31 AM   #13
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ryanam View Post


Thanks!
As I'm still on the learning curve, what kind of files should I be looking for which can be used in conjunction with qmake or similar software? I noticed the .pro file was mentioned earlier.

Thanks again.
 
Old 08-11-2011, 08:40 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
If there is no documentation, or the files README, INSTALL, lots of possible ways
to build software. Most common: 1) ./configure && make, 2) cmake ..
( When there is a file.pro : qmake.)

Some more possible commands and scripts to be run to start building Linux software:
'perl Makefile.PL' , 'perl Build.PL' , 'python setup.py build' ,
# 'python setup.py install', 'cmake ..' , 'make' , 'scons', './waf configure', 'jam' ,
'./install', './autogen.sh', autoreconf -f, './configure' (or 'sh configure'),
'libtoolize && aclocal && autoheader && automake --add-missing && autoconf',
.. .. etc.

.

Last edited by knudfl; 08-11-2011 at 08:45 AM.
 
Old 08-11-2011, 08:46 AM   #15
ryanam
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
If there is no documentation, or the files README, INSTALL, lots of possible ways
to build software. Most common: 1) ./configure && make, 2) cmake ..
( When there is a file.pro : qmake.)

Some more possible commands and scripts to be run to start building Linux software:
'perl Makefile.PL' , 'perl Build.PL' , 'python setup.py build' ,
# 'python setup.py install', 'cmake ..' , 'make' , 'scons', './waf configure', 'jam' ,
'./install', './autogen.sh', autoreconf -f, './configure' (or 'sh configure'),
'libtoolize && aclocal && autoheader && automake --add-missing && autoconf',
.. .. etc.

.
Much appreciated.
 
  


Reply

Tags
clipgrab


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
How to install tar.gz & tar.bz2 file on Linux min Krishnendu Linux Mint 2 07-16-2009 07:52 AM
Why can't I install a *.tar.gz or a *.tar.bz2 file? SkinnerC Slackware 11 12-13-2007 11:03 AM
.tar.gz and .tar.bz2 software installation thriver1 Linux - Software 2 03-27-2007 01:11 PM
how do you install programs extracted from "tar.gz", "bz2", etc? shoelessworm Ubuntu 13 04-12-2006 03:24 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 01:34 AM


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