lm-sensors - repository or .deb package and dpkg ??

Questions and Answers : Unix/Linux : lm-sensors - repository or .deb package and dpkg ??
Message board moderation

To post messages, you must log in.

AuthorMessage
DanHansen@Denmark
Volunteer tester
Avatar

Send message
Joined: 14 Nov 12
Posts: 194
Credit: 5,881,465
RAC: 0
Denmark
Message 1489844 - Posted: 16 Mar 2014, 20:42:40 UTC

Hi,


I'm setting up a Linux Ubuntu Server 12.04.4 to crunch data. I would like lm-sensors to be installed as well.
I know the command "apt-get install lm-sensors", this is the one I've been using so far. But, which is the best way?

1. Do I install it from repository to get an easy update?
2. Do I install .deb package and use the dpkg command to add it to the package manager?

If you know the best way and the full command, please show me how

Have a nice day....
.
Project Headless CLI Linux Multiple GPU Boinc Servers
Ubuntu Server 14.04.1 64bit
Kernel 3.13.0-32-generic
CPU's i5-4690K
GPU's GT640/GTX750TI
Nvidia v.340.29
BOINC v.7.2.42

ID: 1489844 · Report as offensive
Wild Penguin

Send message
Joined: 11 Feb 14
Posts: 3
Credit: 452,266
RAC: 0
Finland
Message 1504749 - Posted: 16 Apr 2014, 15:30:05 UTC - in response to Message 1489844.  

Hi Dan,

In short, use apt-get (or a GUI, which will use apt-get "behind the curtains" for you).

I believe your question would be best answered in a Ubuntu Forum. There's probably loads of forum posts and answers. Also I believe the documentation is quite extensive, and there's probaly some FAQs / New users guides / tutorials, though I don't use Ubuntu currently.

But I can still help you (or others stumbling on this); in general, it is most preferable to install everything on a Linux distribution via the distributions package manager; in Ubuntu, that is apt-get or (one of) the distributions GUI application(s). That way, everything will be updated when an update is made (either automatically scheduled or by the user).

Dpkg is a tool used by apt-get to actually install packages, and in rare cases, for the user. This is not recommended for packages in the repository - The only case you might need to do this, is if you are installing a .dpkg downloaded from somewhere else than the official repositories - in which case, you might run into problems.

If you are new to Linux, it is best to stick to the package manager. Installing .dpkg's outside the Official repositories, is probably OK, if 1) the maker of the .dpkg states they are for your specific distribution and version, and 2) you trust the source / maker of the dpkg! Installing .dpkg's that are not for your distribution and / or version, might work or might not, and in rare cases it might hose the whole system (but this is unlikely for simple applications and I believe dpkg will do some sanity checks, and fail cleanly if it detects theres something wrong).

Hope this helps,
ID: 1504749 · Report as offensive

Questions and Answers : Unix/Linux : lm-sensors - repository or .deb package and dpkg ??


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.