Questions tagged [rhel]
Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.
4,119
questions
175
votes
12
answers
285k
views
Is CentOS exactly the same as RHEL?
I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points.
I am well ...
172
votes
3
answers
233k
views
How to change ownership of symbolic links?
I am facing some issue with creating soft links. Following is the original file.
$ ls -l /etc/init.d/jboss
-rwxr-xr-x 1 askar admin 4972 Mar 11 2014 /etc/init.d/jboss
Link creation is failing with ...
114
votes
6
answers
248k
views
zipimport.ZipImportError: can't decompress data; zlib not available
On RHEL 6.6, I installed Python 3.5.1 from source. I am trying to install pip3 via get-pip.py, but I get
Traceback (most recent call last):
File "get-pip.py", line 19177, in <module>
...
90
votes
2
answers
470k
views
Nslookup: command not found error on RHEL/CentOS 7
During linux installation I selected "minimal" option:
When I went to run the nslookup command to look up an IP address I got the error message nslookup: command not found as shown in the example ...
90
votes
3
answers
37k
views
What is the difference between these commands for bringing down a Linux server?
Reading "What is the difference between Halt and Shutdown commands?" , I generally have an idea what does the command shutdown does, with or without -h/-r options.
The "halt" command performs ...
90
votes
8
answers
117k
views
List all RPM packages installed from repo "X"
How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
84
votes
6
answers
109k
views
Listing packages in Yum that depend on another installed package
I am trying to install a 3rd-party RPM package on RHEL5 which depends on version 3.4 of sqlite. According to Yum I already have 3.3.6 installed.
Is there a way to list the installed packages that ...
73
votes
11
answers
262k
views
What is the equivalent of 'update-grub' for RHEL, Fedora, and CentOS systems?
In Ubuntu (and I guess in Debian too) there is a system script named update-grub which automatically executes grub-mkconfig -o with the correct path for the GRUB configuration file.
Is there a similar ...
71
votes
4
answers
224k
views
Unable to delete file, even when running as root
I am in the process of migrating a machine from RHEL 4 to 5. Rather than actually do an upgrade we have created a new VM (both machines are in a cloud) and I am in the process of copying across data ...
70
votes
2
answers
268k
views
Yum Check Available Package Updates
Red Hat docs say:
To see which installed packages on your system have updates available,
use the following command:
yum check-update
What command must I run to view all available versions for a ...
67
votes
2
answers
100k
views
Can I restart systemd without rebooting?
I'm trying to restart services after a yum update on RHEL 7.4. I could restart every service using systemctl, but needs-restarting from yum utils tells me that I should also restart systemd itself:
# ...
66
votes
4
answers
966k
views
How to find path where jdk installed?
I've installed jdk1.7.0.rpm package in RHEL6.
Where I do find the path to execute my first java program?
65
votes
7
answers
54k
views
What is the Linux equivalent to C:\Program Files?
I understand that in Windows as well as Linux and Unix, a program|application|software can be installed in any directory. Also if packages are installed using the distribution's packaging system, it'...
61
votes
7
answers
89k
views
Open a RPM on a Mac?
I am on a MacBook Pro running Apple Leopard (Mac OS X 10.5.8).
I would like to unpackage a RPM and view the files contained within the wget-1.11.4-2.el5_4.1.src.rpm . I don't need to install the ...
57
votes
2
answers
279k
views
How to list groups with gid in redhat?
I first listed the groups using :
groups
I added group using
groupadd -g 300 oinstall
groupadd –g 500 dba
and then when I do
groups
root bin daemon sys adm disk wheel sfcb
I am unable to ...