LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install tar.gz files in Ubuntu? (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-tar-gz-files-in-ubuntu-820521/)

cyanide0007 07-18-2010 09:48 AM

How to install tar.gz files in Ubuntu?
 
]
currently I am a brand new Linux user. I am used to double clicking .exe files in Windows. I just installed Ubuntu 10.04. Everytime that i tried this command tar -xvzf xbmc-9.11.tar.gz i get this error message? xbmc-9.11.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

what does this means or what else should i try? Please help. Thanks
i've saved the file in desktop?????

tredegar 07-18-2010 10:04 AM

Quote:

i get this error message? xbmc-9.11.tar.gz: Cannot open: No such file or directory
It means it can't find the file where you said it would be.
That's because it is on your Desktop.
Try:
tar -xvzf /home/cyanide/Desktop/xbmc-9.11.tar.gz

But you shouldn't need to untar files with ubuntu 10.04.
Your package manager (Synaptic, Under System.... Administration) should handle installation of software for you. This is generally much easier than windows.

If you need to install from source, try a search on ubuntu install from source.

If you just want to see what is in the tar archive, you can double-click it in your file manager, you will be offered the option to extract it, or view individual files.

Welcome to LQ!

colucix 07-18-2010 10:04 AM

Hi and welcome to LinuxQuestions!

This is the relevant part of the error message:
Code:

xbmc-9.11.tar.gz: Cannot open: No such file or directory
It means the file is not where it is supposed to be, that is in the current working directory. First try to determine where the file has been actually downloaded. For example check the Desktop or the Downloads directory, then from a terminal you have to change (enter in)to that directory.

Quote:

i've saved the file in desktop?????
If you see it on your desktop, yes. Just open a terminal and issue the following commands:
Code:

cd Desktop
ls

In the list of files you should see the xbmc archive.

As a last resort you can try to locate it using the find command, but first check the standard locations (as mentioned above).

repo 07-18-2010 10:07 AM

Welcome to LQ
First, see if the program isn't available using the packagemanager.
if not, make sure to use a trusted site to download the file.
Make sure you are in the same directory, as the directory containing the file you want to extract.
If you do
Code:

ls
do you see the file?
If not, cd to the directory where you downloaded the file.

Mr. Alex 07-18-2010 10:09 AM

cyanide0007, why would you install from *.tar? It is not the way to install software in DEB-distros like Ubuntu. You better just don't install programs this way. You can either use Synaptic to install from repositories or learn how to use 'apt-get' program in console.

colucix 07-18-2010 10:11 AM

Quote:

Originally Posted by tredegar (Post 4037111)
But you shouldn't need to untar files with ubuntu 10.04. Your package manager (Synaptic, Under System.... Administration) should handle installation of software for you. This is generally much easier than windows.

+1 from me. Here is a step-by-step guide. Maybe a better starting point.

BlueSkull 07-18-2010 06:56 PM

tar xfvz chat.tar.gz
dont use -(hyphen) before xfvz.
May be it may do ..

cyanide0007 07-19-2010 12:32 AM

It means it can't find the file where you said it would b
 
tar -xvzf /home/cyanide0007/Desktop/xbmc-9.11.tar.gz


i tried this and got this in terminal what do i do next????

xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemRemoveQueueOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/volumeslider.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMusicPlaylistOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemFileMyVideos.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMyVideosOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemFileMyMusic.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMyVideosOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemRemoveQueue.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemFileMyPictures.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuReboot.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/BackgroundMyPictures.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/BannerMusicPlaylist.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuInfoOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuConfigurationOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/InfoLogo.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ControlSkipBackwardOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMusicPlaylistOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/BackgroundConfiguration.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMyPicturesOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuVideoPlaylistOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/BackgroundMyVideos.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/Background.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ControlBackground.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMyMusicOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuConfiguration.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ControlStopOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/BackgroundHome.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemAddQueueOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMyPicturesOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuMyMusicOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemFolder.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ControlNextOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuDashOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemAddQueueOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/VolumeSliderBackground.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuInfo.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/BannerVideoPlaylist.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemBackground.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuShutdown.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuBackground.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ControlPlayOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuDash.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemRemoveQueueOver_2.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuRebootOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/MenuVideoPlaylistOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/SubMenuShutdownOff.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ItemAddQueue.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/ControlPauseOver.png
xbmc-9.11/web/Project_Mayhem_III/styles/Project_Mayhem/images/BackgroundMyMusic.png
xbmc-9.11/web/Project_Mayhem_III/default.asp
xbmc-9.11/configure.in
xbmc-9.11/userdata/
xbmc-9.11/userdata/ModeLines_template.xml
xbmc-9.11/userdata/RssFeeds.xml
xbmc-9.11/userdata/visualisations/
xbmc-9.11/userdata/PictureIcon/
xbmc-9.11/userdata/PictureIcon/picon.xml
xbmc-9.11/userdata/PictureIcon/Picon/
xbmc-9.11/userdata/PictureIcon/Picon/tuxbox.png
xbmc-9.11/userdata/PictureIcon/Readme.txt
xbmc-9.11/userdata/LCD.xml
xbmc-9.11/docs/
xbmc-9.11/docs/manpages/
xbmc-9.11/docs/manpages/xbmc-send.1
xbmc-9.11/docs/manpages/xbmc-wiiremote.1
xbmc-9.11/docs/manpages/xbmc.bin.1
xbmc-9.11/docs/manpages/installXBMC.1
xbmc-9.11/docs/manpages/xbmc-ps3remote.1
xbmc-9.11/docs/manpages/xbmc-j2meremote.1
xbmc-9.11/docs/manpages/xbmc.1
xbmc-9.11/docs/manpages/runXBMC.1
xbmc-9.11/docs/manpages/setAlsaVolumes.1
xbmc-9.11/docs/manpages/xbmc-standalone.1
xbmc-9.11/docs/manpages/diskmounter.1
xbmc-9.11/XBMC.xcodeproj/
xbmc-9.11/XBMC.xcodeproj/project.pbxproj
xbmc-9.11/README.osx
xbmc-9.11/guilib/
xbmc-9.11/guilib/TextureBundle.cpp
xbmc-9.11/guilib/GUIMoverControl.h
xbmc-9.11/guilib/GUIRadioButtonControl.h
xbmc-9.11/guilib/GUIFontTTFGL.cpp
xbmc-9.11/guilib/GUIVisualisationControl.cpp
xbmc-9.11/guilib/DirectXGraphics.h
xbmc-9.11/guilib/GUIImage.cpp
xbmc-9.11/guilib/AnimatedGif.h
xbmc-9.11/guilib/GUIFont.cpp
xbmc-9.11/guilib/XBTF.cpp
xbmc-9.11/guilib/GUIMessage.cpp
xbmc-9.11/guilib/GUICheckMarkControl.h
xbmc-9.11/guilib/GUIBaseContainer.h
xbmc-9.11/guilib/GUIAudioManager.h
xbmc-9.11/guilib/IMsgTargetCallback.h
xbmc-9.11/guilib/GUIFontTTFGLES.cpp
xbmc-9.11/guilib/GraphicContext.cpp
xbmc-9.11/guilib/GUISettingsSliderControl.h
xbmc-9.11/guilib/D3DResource.h
xbmc-9.11/guilib/GUISliderControl.h
xbmc-9.11/guilib/IAudioDeviceChangedCallback.h
xbmc-9.11/guilib/common/
xbmc-9.11/guilib/common/LIRC.h
xbmc-9.11/guilib/common/LIRC.cpp
xbmc-9.11/guilib/common/Makefile.in
xbmc-9.11/guilib/common/SDLJoystick.h
xbmc-9.11/guilib/common/IRServerSuite/
xbmc-9.11/guilib/common/IRServerSuite/IrssMessage.h
xbmc-9.11/guilib/common/IRServerSuite/IRServerSuite.cpp
xbmc-9.11/guilib/common/IRServerSuite/IRServerSuite.h
xbmc-9.11/guilib/common/IRServerSuite/IrssMessage.cpp
xbmc-9.11/guilib/common/SDLJoystick.cpp
xbmc-9.11/guilib/AnimatedGif.cpp
xbmc-9.11/guilib/XBTFReader.h
xbmc-9.11/guilib/GUIButtonControl.h
xbmc-9.11/guilib/GUIRSSControl.h
xbmc-9.11/guilib/GUIIncludes.cpp
xbmc-9.11/guilib/TextureGL.cpp
xbmc-9.11/guilib/GUIWrappingListContainer.cpp
xbmc-9.11/guilib/guilib_win32.vcproj
xbmc-9.11/guilib/GUIControlGroupList.h
xbmc-9.11/guilib/TextureManager.h
xbmc-9.11/guilib/GUIButtonScroller.h
xbmc-9.11/guilib/GUICallback.h
xbmc-9.11/guilib/GUITextureD3D.cpp
xbmc-9.11/guilib/GUITextLayout.cpp
xbmc-9.11/guilib/GUISound.cpp
xbmc-9.11/guilib/GUIToggleButtonControl.h
xbmc-9.11/guilib/system.h
xbmc-9.11/guilib/XMLUtils.h
xbmc-9.11/guilib/GUIColorManager.cpp
xbmc-9.11/guilib/GUISpinControlEx.h
xbmc-9.11/guilib/GUIFixedListContainer.h
xbmc-9.11/guilib/GUILabelControl.h
xbmc-9.11/guilib/DDSImage.h
xbmc-9.11/guilib/GUICheckMarkControl.cpp
xbmc-9.11/guilib/GUIListContainer.cpp
xbmc-9.11/guilib/GUIMultiImage.cpp
xbmc-9.11/guilib/GUIMultiSelectText.h
xbmc-9.11/guilib/Makefile
xbmc-9.11/guilib/GUIControlGroupList.cpp
xbmc-9.11/guilib/SkinInfo.cpp
xbmc-9.11/guilib/GUIBorderedImage.cpp
xbmc-9.11/guilib/D3DResource.cpp
xbmc-9.11/guilib/GUISpinControlEx.cpp
xbmc-9.11/guilib/GUISpinControl.cpp
xbmc-9.11/guilib/XBTFReader.cpp
xbmc-9.11/guilib/VisibleEffect.cpp
xbmc-9.11/guilib/GUIPanelContainer.cpp
xbmc-9.11/guilib/GUIWindow.cpp
xbmc-9.11/guilib/GUIStandardWindow.h
xbmc-9.11/guilib/GUIProgressControl.cpp
xbmc-9.11/guilib/GUIWindowManager.cpp
xbmc-9.11/guilib/GUIWindowManager.h
xbmc-9.11/guilib/tinyXML/
xbmc-9.11/guilib/tinyXML/tinyxml.h

TheIndependentAquarius 07-19-2010 12:50 AM

Now try the following commands one by one:
Code:

cd /home/cyanide0007/Desktop/xbmc-9.11
./configure
make
sudo -s
make install

Did you search the Synaptic Package Manager for your software ?
The link suggested in Post number 6 will save you from troubles.

Wim Sturkenboom 07-19-2010 12:54 AM

First step is to search for readme files. They usually contain the instructions what to do. There is a README.osx that you (more than likely) can read with gedit (the default editor in the graphical environment); this will however probably contains osx specific instructions.

What you have is source code and it needs compiling. In Ubuntu, you more than likely need to install some stuff from the repositories (compilers and something more) before you can do so; I'm unfortunately not sure what exactly needs to be installed.

And here are the instructions how to install under Linux: http://wiki.xbmc.org/index.php?title...XBMC_for_Linux (section installation from source)

Good luck

knudfl 07-19-2010 01:25 AM

Quote:

... what do i do next ?...
Probably :
svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ XBMC
( The xbmc-9.11 you got may be an alpha version ?
With 765 MB code, better be sure it is as perfect as possible.)
.. next install all the dependencies ( about 67 packages ),
and read some documentation.

HOW-TO install XBMC for Linux, Ubuntu ...
http://wiki.xbmc.org/?title=HOW-TO_i...n_step-by-step

Installation from source :
http://wiki.xbmc.org/index.php?title...XBMC_for_Linux

http://wiki.xbmc.org/index.php?title...om_source_code

P.S. : If any further questions, please tell which Linux,
you are using. EDIT : Sorry, now I have seen, it's Ubuntu 10.04.
..

Wim Sturkenboom 07-19-2010 04:39 AM

Quote:

Originally Posted by knudfl (Post 4037695)
P.S. : If any further questions, please tell which Linux,
you are using.

Read the opening post ;) Ubuntu 10.04

cyanide0007 07-21-2010 12:25 AM

thanx for ur help
now am facing another problm,i saved xbmc-9.11 in my dsktop,
now der is a LOCK symbol on dat folder n wen i try to delet it,
"Error removing file: Permission denied"
comes y? dis is happening?
plz help me!!

cyanide0007 07-21-2010 12:30 AM

help me!!!
 
Quote:

Originally Posted by anishakaul (Post 4037678)
Now try the following commands one by one:
Code:

cd /home/cyanide0007/Desktop/xbmc-9.11
./configure
make
sudo -s
make install

Did you search the Synaptic Package Manager for your software ?
The link suggested in Post number 6 will save you from troubles.

sir i tried watever u told,but am gettin dis


cyanide0007@ubuntu:~$ cd /home/cyanide0007/Desktop/xbmc
cyanide0007@ubuntu:~/Desktop/xbmc$ ./configure
bash: ./configure: No such file or directory
cyanide0007@ubuntu:~/Desktop/xbmc$ make
make: *** No targets specified and no makefile found. Stop.
cyanide0007@ubuntu:~/Desktop/xbmc$ sudo -s
root@ubuntu:~/Desktop/xbmc# make install
make: *** No rule to make target `install'. Stop.
root@ubuntu:~/Desktop/xbmc#


i don't know wat i did wrong!
help me plz!!

TheIndependentAquarius 07-21-2010 01:22 AM

Quote:

Originally Posted by cyanide0007 (Post 4040239)
sir i tried watever u told,but am gettin dis

cyanide0007@ubuntu:~$ cd /home/cyanide0007/Desktop/xbmc
cyanide0007@ubuntu:~/Desktop/xbmc$ ./configure
bash: ./configure: No such file or directory
root@ubuntu:~/Desktop/xbmc#

i don't know wat i did wrong!
help me plz!!

Execute the following commands one by one and post the results here:
Code:

sudo -s
chmod 774 /home/cyanide0007/Desktop/xbmc
exit
cd ~/Desktop/xbmc
ls -l
./configure
make
sudo -s
make install



All times are GMT -5. The time now is 11:56 PM.