[SOLVED] Installing gparted in Oracle Linux 7.5 using Oracle's own EPEL mirror under Oracle Yum

Issue

I wanted to resize my partition but when issue the command yum install gparted it wasn't getting gparted installed and simply gave me the error that gparted was not found in Oracle yum repository.

So then the question is how can I install gparted in Oracle Linux 7.5 using Oracle's own Yum?

Solution

Oracle has its own EPEL (Extra Packages for Enterprise Linux) mirror available now on thier public yum associated with Development packages. Hence this cuts down at extra step to download and configure from Fidora or CentOS Yum servers, which comes from an external website.

Step 1. Hence all you have to do is first enable the Oracle Yum repository in your OEL 7.5 server through the following commands:

cd /etc/yum.repos.d

vi public-yum-ol7.repo

Now simply enable the following entry:

[ol7_developer_EPEL]
name=Oracle Linux $releasever Development Packages ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Step 2. Now check to see whether gparted can come from Oracle Public Yum:

[root@localhost yum.repos.d]# yum list gparted
Loaded plugins: langpacks, ulninfo
ol7_UEKR4 | 1.2 kB 00:00:00
ol7_developer_EPEL | 1.2 kB 00:00:00
ol7_latest | 1.4 kB 00:00:00
(1/2): ol7_developer_EPEL/x86_64/updateinfo | 2.4 kB 00:00:02
(2/2): ol7_developer_EPEL/x86_64/primary | 7.4 MB 00:00:09
ol7_developer_EPEL 22615/22615
Available Packages
gparted.x86_64 0.31.0-4.el7.1 ol7_developer_EPEL

Step 3. Install gparted

[root@localhost yum.repos.d]# yum install gparted.x86_64
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package gparted.x86_64 0:0.31.0-4.el7.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================
Installing:
gparted x86_64 0.31.0-4.el7.1 ol7_developer_EPEL 2.0 M

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

Total download size: 2.0 M
Installed size: 7.5 M
Is this ok [y/d/N]: y
Downloading packages:
gparted-0.31.0-4.el7.1.x86_64.rpm | 2.0 MB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : gparted-0.31.0-4.el7.1.x86_64 1/1
Verifying : gparted-0.31.0-4.el7.1.x86_64 1/1
Installed:
gparted.x86_64 0:0.31.0-4.el7.1
Complete!

Environment

+ Oracle Linux 7.5 (x86-64)


Installing gparted in Oracle Linux 7.5 using Oracle's own EPEL mirror under Oracle Yum
[SOLVED] How to delete a logical volume and resize...
[SOLVED] Oracle E-Business Suite Installation of R...