Installing Hardinfo for Debian 10?

New to Debian (Or Linux in general)? Ask your questions here!

Installing Hardinfo for Debian 10?

Postby jekkuzan » 2019-11-21 08:35

Hi

Im currently new to debian, and i want to have a hardinfo the same way with Ubuntu. But the package is not available via apt-search. May i know how to install hardinfo in debian? should i install package online? if yes how can i install it then. Thank you for your guidance
jekkuzan
 
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Hardinfo for Debian 10?

Postby sunrat » 2019-11-21 09:02

Exactly what command did you use to search? apt-search is not a command. apt search will find it.
Maybe you should use Synaptic package manager or brush up on terminal apt commands.

Personally I use inxi for system info these days, but hardinfo is definitely in the repos:
https://packages.debian.org/search?keywords=hardinfo
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2920
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Installing Hardinfo for Debian 10?

Postby jekkuzan » 2019-11-22 01:49

sunrat wrote:Exactly what command did you use to search? apt-search is not a command. apt search will find it.
Maybe you should use Synaptic package manager or brush up on terminal apt commands.

Personally I use inxi for system info these days, but hardinfo is definitely in the repos:
https://packages.debian.org/search?keywords=hardinfo


Hi thank you for the reply

the command i used is "apt search hardinfo", and it fails to find the hardinfo.
thank you for the recommendation in inxi but i still want hardinfo badly due to its GUI and been using for the other distros as well.
Regarding the package path you metioned, may i know how to install it step by step. Sorry for the trouble.
jekkuzan
 
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Hardinfo for Debian 10?

Postby sunrat » 2019-11-22 02:41

jekkuzan wrote:the command i used is "apt search hardinfo", and it fails to find the hardinfo.


That should work. If not there is something wrong with your sources configuration or your internet.

Do these as root user or sudo
Code: Select all
apt update
then
Code: Select all
apt install hardinfo
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2920
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Installing Hardinfo for Debian 10?

Postby CwF » 2019-11-22 02:46

Code: Select all
$  apt policy hardinfo
hardinfo:
  Installed: 0.5.1+git20180227-2
  Candidate: 0.5.1+git20180227-2
  Version table:
 *** 0.5.1+git20180227-2 500
        500 http://ftp.us.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status

This tells you about the package and where it thinks it will find it
to install use a root terminal, or some user authority
# apt-get install hardinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
hardinfo is already the newest version (0.5.1+git20180227-2).

Better yet, use synaptic
Code: Select all
#  apt-get install synaptic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
synaptic is already the newest version (0.84.6).
CwF
 
Posts: 511
Joined: 2018-06-20 15:16

Re: Installing Hardinfo for Debian 10?

Postby jekkuzan » 2019-11-22 03:26

sunrat wrote:
jekkuzan wrote:the command i used is "apt search hardinfo", and it fails to find the hardinfo.


That should work. If not there is something wrong with your sources configuration or your internet.

Do these as root user or sudo
Code: Select all
apt update
then
Code: Select all
apt install hardinfo


Hi all , thank you for your reply
Maybe there is something wrong with my internet configruation

root@debian:/home/debian/Downloads# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@debian:/home/debian/Downloads# apt install hardinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package hardinfo
root@debian:/home/debian/Downloads# apt policy hardinfo
N: Unable to locate package hardinfo

Can you please guide me. Thank you so much for your help
jekkuzan
 
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Hardinfo for Debian 10?

Postby sunrat » 2019-11-22 04:20

Post the output from
Code: Select all
apt policy

This will tell us what active repos you have configured. You definitely have something misconfigured as you have the same problem in your other thread with samba.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2920
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Installing Hardinfo for Debian 10?

Postby jekkuzan » 2019-11-22 05:59

sunrat wrote:Post the output from
Code: Select all
apt policy

This will tell us what active repos you have configured. You definitely have something misconfigured as you have the same problem in your other thread with samba.


Hi

Thank you for the help, i updated the sourcelist and managed to updated and install samba and hardinfo,

Thank you so much. I wonder why was it not included in the installer.
jekkuzan
 
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Hardinfo for Debian 10?

Postby stevepusser » 2019-11-22 20:50

The installer will often disable repositories if it can't contact them during the install process, so maybe that happened to you.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.9, Telegram-desktop 1.8.15, Pale Moon 28.8.0, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11316
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable