LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-26-2009, 07:18 AM   #1
pgonzamailcn
Member
 
Registered: Nov 2009
Posts: 39

Rep: Reputation: 15
How to install tar.gz on Ubuntu 9.10 (Gnome Sensors Applet)


Hi All,

I desist I ma trying to install Gnome Sensors applet from a tarball file (sensors-applet-2.2.5.tar.gz) and I do not know how to do it. I do not know how to use apt-get. It does not come out well. I have read in Ubuntu help, search in google, and all that I do does not work. I do not get nothing from the command “./configure” too.

I post you some outputs:

pablo@pablo-laptop:~$ apt-get install sensors-applet-2.2.5.tar.gz
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
pablo@pablo-laptop:~$ sudo apt-get install sensors-applet-2.2.5.tar.gz
[sudo] password for pablo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sensors-applet-2.2.5.tar.gz
pablo@pablo-laptop:~$ cd ~/Downloads
pablo@pablo-laptop:~/Downloads$ sudo apt-get install sensors-applet-2.2.5.tar.gzReading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package sensors-applet-2.2.5.tar.gz

Some extra information: The readme file says:

Debian, Fedora, Ubuntu and most standard distro users will need to do a

./configure --prefix=/usr

to ensure proper installation within the correct path.

To enable support for NVIDIA GPUs GNOME Sensors Applet requires the

standard X11 headers as well as libNVCtrl (supplied by nvidia-settings),

and needs to be compiled with support for NVIDIA GPUs as:

./configure --with-nvidia

If your X11 headers are in a non-standard location, these can also be

specified as:

./configure --with-nvidia --with-x11=PATH_TO_X11_LIBRARIES

where PATH_TO_X11_LIBRARIES is the path to your X11 libraries

(such as /usr/include/X11), although in most cases this should not

be needed.
 
Old 12-26-2009, 07:26 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

Apt-get is not used to install 'tar.gz' files. Those files are compressed archives, mostly containing source code or applications you need to install in a different way, using ./configure && make && make install. Apt-get is used to install packages from a repository. If you have a '.deb' file you install it with 'dpkg -i'.

Basically, since you're new apparently, the first thing you try is to use your package manager (Synaptic in Ubuntu). This link is to a pretty complete description of different ways to install software in Ubuntu.

If you don't have what you need in your package manager,then you can use tar.gz files.

To extract the file:
Code:
tar -xvf filename.tar.gz
and it will create a directory with the necessary files in it. CD into that directory and see if there's a file named 'configure' or read the README file that will almost certainly be in there.

Kind regards,

Eric
 
1 members found this post helpful.
Old 12-26-2009, 07:44 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
As stated above cd /dir createdbu untar/
If you find the configure file than the next command mostly will do if everything else you need is already there
./configure (this can take sometime)
make
sudo make install
 
1 members found this post helpful.
Old 12-26-2009, 07:46 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,748

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
.. And no need to use the file you downloaded ..

Just do : sudo apt-get install sensors-applet

.. or use the Package Manager = Synaptic
.. Search : sensors-applet

http://packages.ubuntu.com/karmic/sensors-applet
QUOTE : " GNOME Sensors Applet is an applet for the
GNOME panel that displays readings from hardware sensors,
including temperatures, fan speeds and voltage readings."
.....
 
1 members found this post helpful.
Old 12-26-2009, 08:16 AM   #5
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,593

Rep: Reputation: 162Reputation: 162
I agree with knudfl.
 
Old 12-27-2009, 02:15 AM   #6
pgonzamailcn
Member
 
Registered: Nov 2009
Posts: 39

Original Poster
Rep: Reputation: 15
Hi all,

Thanks for all your replies, they are all very educative since I am new to this and never was to much into computers. I have to add that Linux is really other world, incredible exciting and useful. Before I never put too much interest into computers and now I want to learn more and more about them.

Using Synaptic I searched for sensors-applet and marked it. When marked, automatically also marked libsensors-applet-plugin0 to be installed. I marked myself too libsensors-applet-plugin-dev since in http://packages.ubuntu.com/source/karmic/sensors-applet says “Create plugins for the 'sensors-applet' package” and so I guess it will be useful too.

Installation went well but now I can not run the application. I can not find it anywhare. Not under Applications, not under System and not using Run Application (Alt + f2) program. Do you have an idea where it is and how can I run it? Thanks!

Nice end of the year, the best for 2010,

Pablo
 
Old 12-27-2009, 02:19 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,748

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Well , it is an ' applet ' .. for the panel ..

Right click the panel > > "Add Applet to panel" ..

.. and add " Hardware Sensors Monitor ".

.....
 
1 members found this post helpful.
Old 12-28-2009, 08:13 AM   #8
pgonzamailcn
Member
 
Registered: Nov 2009
Posts: 39

Original Poster
Rep: Reputation: 15
Hi knudfl,

I found it. Thanks!

It is not as I expected with respect to appearance I guess because it is a panel applet. I just missed that it was a panel applet when I decided to install it. Anyhow, it is useful to my purpose, knowing laptop temperature.

Thanks again to all!

Pablo
 
  


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
The "mouse" panel applet in the Gnome panel has crashed my Ubuntu Karmic completely davmax Linux - Newbie 1 11-10-2009 02:00 PM
Install Groupwise 8 tar.gz file, on Suse 11.1 Gnome desktop hollybaker57 Linux - Newbie 2 10-07-2009 02:56 AM
Is it possible to install .tar.gz files on ubuntu deathalele Linux - Software 2 07-20-2008 11:23 AM
need help with lm-sensors and sensors-applet in gnome fakie_flip Linux - Hardware 5 07-15-2007 02:00 PM
GNOME Sensors Applet says NO SENSORS FOUND! badgerbox76 Linux - Newbie 2 12-24-2005 11:58 AM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration