Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing Hardinfo for Debian 10?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
jekkuzan
Posts: 6
Joined: 2019-11-21 08:31

Installing Hardinfo for Debian 10?

#1 Post by jekkuzan »

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

User avatar
sunrat
Administrator
Administrator
Posts: 6478
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Installing Hardinfo for Debian 10?

#2 Post by sunrat »

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!

jekkuzan
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Hardinfo for Debian 10?

#3 Post by jekkuzan »

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.

User avatar
sunrat
Administrator
Administrator
Posts: 6478
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Installing Hardinfo for Debian 10?

#4 Post by sunrat »

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!

CwF
Global Moderator
Global Moderator
Posts: 2684
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 196 times

Re: Installing Hardinfo for Debian 10?

#5 Post by CwF »

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).

jekkuzan
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Hardinfo for Debian 10?

#6 Post by jekkuzan »

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

User avatar
sunrat
Administrator
Administrator
Posts: 6478
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Installing Hardinfo for Debian 10?

#7 Post by sunrat »

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!

jekkuzan
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Hardinfo for Debian 10?

#8 Post by jekkuzan »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Installing Hardinfo for Debian 10?

#9 Post by stevepusser »

The installer will often disable repositories if it can't contact them during the install process, so maybe that happened to you.
MX Linux packager and developer

Post Reply