Facebook
From Me, 2 Years ago, written in Plain Text.
This paste is a reply to Debian notes from Me - view diff
Embed
Download Paste or View Raw
Hits: 129
  1. Date 1/07/2021, document created with Mousepad, options: View > Line numbers ; View > Menubar ; View > Toolbar ; View Statusbar ; Document > Wordrap
  2.  
  3.  OS : Debian Buster with Raspberry Pi Desktop (unknow version at this time, will find it below)
  4.  Run with persistance mode, SDHC-10
  5.  
  6. Hardware: Intel Atom N270 (eeePC 901)
  7. While learning more about Debian:
  8.  terminal is runing htop (to check cpu utilization)
  9.  terminal is runing s-tui (cpu frequency and temperature)
  10.  ^s-tui wasn't available in this OS, to install open terminal and use command: sudo apt-get install s-tui
  11.  picture : s-tui debian terminal instalation.jpg
  12.  
  13. I wanted to take a screenshot and could not find an utility to do so, so after quick google, first mention was Flameshot, to install open terminal and use command: sudo apt-get install flameshot
  14.  picture : Flameshot debian terminal install.jpg
  15.  
  16. how to get more details about the debian release version:
  17.  
  18. open terminal, use command:
  19.  uname -a
  20. ^ Linux raspberrypi 4.19.0-13-686-pae #1 SMP Debian 4.19.160-2 (2020-11-28) i686 GNU/Linux
  21.  
  22.  more details, use command:
  23.  cat /etc/os-release
  24. ^
  25. PRETTY_NAME="Debian GNU/Linux 10 (buster)"
  26. NAME="Debian GNU/Linux"
  27. VERSION_ID="10"
  28. VERSION="10 (buster)"
  29. VERSION_CODENAME=buster
  30. ID=debian
  31. HOME_URL="https://www.debian.org/"
  32. SUPPORT_URL="https://www.debian.org/support"
  33. BUG_REPORT_URL="https://bugs.debian.org/"
  34.  
  35.  to check if latest version is installed, use command :  sudo apt update , that showed some updated packages were available so, after use command: sudo apt upgrade
  36.  
  37. after the above commands there was no difference in the output of "uname -a" or "cat /etc/os-release" commands,
  38.  
  39. attempting to use neofetch to get more details, installed via terminal using command : sudo apt-get install neofetch, after installation no more usefull information was obtained
  40.  
  41.  
  42. information about the cpu, use command :
  43.  lscpu
  44. ^
  45. Architecture:        i686
  46. CPU op-mode(s):      32-bit
  47. Byte Order:          Little Endian
  48. Address sizes:       32 bits physical, 32 bits virtual
  49. CPU(s):              2
  50. On-line CPU(s) list: 0,1
  51. Thread(s) per core:  2
  52. Core(s) per socket:  1
  53. Socket(s):           1
  54. Vendor ID:           GenuineIntel
  55. CPU family:          6
  56. Model:               28
  57. Model name:          Intel(R) Atom(TM) CPU N270   @ 1.60GHz
  58. Stepping:            2
  59. CPU MHz:             1551.908
  60. CPU max MHz:         1600.0000
  61. CPU min MHz:         800.0000
  62. BogoMIPS:            3200.23
  63. L1d cache:           24K
  64. L1i cache:           32K
  65. L2 cache:            512K
  66. Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm
  67.  
  68.  
  69. information about memory, use command:
  70.  dmidecode -t memory
  71. ^
  72.  output is too long, but show 2048MB, maximum of 4096MB (not a greate idea since its a 32bit cpu)
  73.  
  74. too check later :
  75.  https://github.com/X0rg/CPU-X
  76.  ^
  77.  lists the operating system that are supported, FreeBSD, Arch and OpenMandrive are listed
  78.  
  79. the web results show many applications that are not installed by default, some are easier to install using synaptic package manager, so use command:
  80.  sudo apt-get install synaptic
  81.  
  82. example : cpu-x, after installing synaptic the result was the same, package not found
  83. so, manually instalation it is.
  84. so from page : https://packages.debian.org/bullseye/i386/cpu-x/download
  85. I get the file : cpu-x_4.1.0-1_i386.deb that is located at  ~\Downloads (~ is the designator for the user home directory/folder, if you use command : "cd ~" you will travel to the folder \home\(username)\
  86.  
  87. to install use the command:
  88.  sudo apt install  ~\Downloads\cpu-x_4.1.0-1_i386.deb
  89.  ^this will fail, because the application is intendend for bullseye, that is Debian 11, and this release is Debian 10 (buster)
  90.  
  91. since cpu-x wasn't available, the next sugestion from the google results was  Hardinfo, to install use the following command in terminal : sudo apt-get install hardinfo. The application name after instalation is System information and benchmark tool.
  92.  
  93. Because this tool was able to list the hardware, it probably means that this debian release contains all applications required, however, many google search results include the application lshw, that isn't installed so, to install it, in terminal use the following command : sudo apt-get install lshw
  94.  
  95.  
  96. Chromium doesn't detect Fon portable, installing firefox, debian firefox release is called firefox-esr, o install launch terminal and use the following command : sudo apt-get install firefox-esr
  97.  
  98. adjust screen brightness does not appear to be possible in Raspi OS, so using the command line, first identify the display and then set brightness level, use the following command:
  99.  xrandr
  100.   ^^
  101. Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
  102. eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 276mm x 156mm
  103.  
  104. xrandr --output eDP-1 --brightness 0.4
  105.  ^^
  106.  Works!
  107.  
  108. wicd is a nice Gui app for managing wireless networks, it allows connection as well!
  109. sudo apt-get install wicd
  110.  
  111.  
  112. -------------------------------------------------------------------------------
  113. -------------------------------------------------------------------------------
  114. plenty of information seems to be mising in this file
  115.  
  116. check what linux shell is being used:
  117.  
  118. echo $SHELL
  119. ^ sparky linux is using bash
  120.  
  121. to clear the screen in bash use the command clear:
  122.  
  123. clear
  124.  
  125.  
  126. to manage packages/applications on Debian based distros use the following commands:
  127.  
  128. aptitude or apt-get
  129.  
  130. first step is to update the repository
  131.  sudo apt-get update
  132.  
  133. list all updates available
  134.  apt-get upgrade --dry-run
  135.  
  136.  or:
  137.  apt list --upgradable
  138.  
  139.  
  140.  
  141. >> Update 18/07/2021
  142.  
  143.  to list all installed packages :
  144.  
  145.  dpkg --list
  146.  
  147.  to install packages
  148.  sudo apt-get install htop
  149.  
  150. to remove packages :
  151.  
  152. sudo apt-get purge htop
  153.  
  154. sudo apt-get autoremove
  155.  
  156. or mixing in the same command
  157.  
  158. sudo apt-get --purge autoremove package name
  159.  
  160.  
  161.  
  162.  
  163. -------------------------------------------------------------------------------
  164. -------------------------------------------------------------------------------
  165.  
  166.  
  167.  
  168.  
  169. saved for later : https://askubuntu.com/questions/686665/overclocking-asus-eee1008ha-pc-atomn280-running-ubuntu14-04
  170.  
  171. http://forums.debian.net/viewtopic.php?f=5&t=126334
  172.  
  173. https://opensource.com/article/19/9/linux-commands-hardware-information
  174.  
  175. https://www.tecmint.com/commands-to-collect-system-and-hardware-information-in-linux/
  176.