Saturday, November 28, 2020

Install htop in Oracle Linux 7



Install htop in Oracle Linux 7

htop is not default install and it's not part of default repo so when we try to install htop it throw this message
yum install htop
[root@ebs121db1 yum.repos.d]# yum install htop
Loaded plugins: langpacks, ulninfo
No package htop available.
Error: Nothing to do


Solution: we need to enable this repo to make htop avaibale and then install it.
yum-config-manager --enable ol7_developer_EPEL
yum-config-manager --disable ol7_developer_EPEL
Install htop command yum install -y htop
[root@ebs121db1 yum.repos.d]# yum install -y htop
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package htop.x86_64 0:2.2.0-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================
 Package                                             Arch                                                  Version                                                    Repository                                                         Size
==============================================================================================================================================================================================================================================
Installing:
 htop                                                x86_64                                                2.2.0-3.el7                                                ol7_developer_EPEL                                                103 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  1 Package

Total download size: 103 k
Installed size: 218 k
Downloading packages:
htop-2.2.0-3.el7.x86_64.rpm                                                                                                                                                                                            | 103 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : htop-2.2.0-3.el7.x86_64                                                                                                                                                                                                    1/1
  Verifying  : htop-2.2.0-3.el7.x86_64                                                                                                                                                                                                    1/1

Installed:
  htop.x86_64 0:2.2.0-3.el7

Complete!
[root@ebs121db1 yum.repos.d]#




apt-key warning when sudo apt update run

Issue: apt-key warning when sudo apt update run Update below file: cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list ...