{"id":3620,"date":"2017-04-03T12:14:58","date_gmt":"2017-04-03T06:44:58","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=3620"},"modified":"2018-10-25T18:31:55","modified_gmt":"2018-10-25T13:01:55","slug":"get-xclock-installed","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/get-xclock-installed\/","title":{"rendered":"How to get xclock installed"},"content":{"rendered":"<h2 id=\"introduction-to-xclock\"><span style=\"color: #993300;\"><b>Introduction to <\/b><b>xclock<\/b><b>:<\/b><\/span><\/h2>\n<ul>\n<li>In <a href=\"https:\/\/www.wikitechy.com\/technology\/use-linux-mac-windows-vivaldi-web-browser\/\" target=\"_blank\" rel=\"noopener\">Linux<\/a>, the<strong> xclock package<\/strong> contains a simple clock application which is used in the default xinit configuration.<\/li>\n<li>This package is not a part of the Xorg katamari and is provided only as a dependency to other packages or for testing the completed Xorg installation.<\/li>\n<li>This package is known to build and work properly using an <strong>LFS-8.0 platform<\/strong>.<\/li>\n<\/ul>\n<h3 id=\"installation-of-xclock\"><span style=\"color: #ff6600;\"><b>Installation of <\/b><b>xclock:<\/b><\/span><\/h3>\n<ul>\n<li><strong>Install xclock<\/strong> by running the following commands:<\/li>\n<\/ul>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">.\/configure $XORG_CONFIG &amp;&amp;<br\/>make<\/code><\/pre> <\/div>\n[ad type=&#8221;banner&#8221;]\n<ul>\n<li>This package does not come with a <strong>test suite<\/strong>.<\/li>\n<\/ul>\n<h3 id=\"now-as-the-root-user\"><span style=\"color: #000080;\"><b>Now, as the root user:<\/b><\/span><\/h3>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\"> make install<\/code><\/pre> <\/div>\n<h3 id=\"how-to-install-xclock-on-red-hat-linux\"><span style=\"color: #993300;\"><b>How to install <\/b><b>xclock<\/b><b> on Red Hat Linux:<\/b><\/span><\/h3>\n<ul>\n<li>To identify if xclock is installed and if it is not installed, how to install it on Red Hat <a href=\"https:\/\/www.wikitechy.com\/technology\/how-to-handle-linux\/\" target=\"_blank\" rel=\"noopener\">Linux system<\/a>.<\/li>\n<li>If xclock is <strong>not installed<\/strong>, invoking xclock will return <strong>command not found message<\/strong> as seen below<\/li>\n<\/ul>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">$ xclock<br\/>-bash: xclock: command not found<\/code><\/pre> <\/div>\n<ul>\n<li>xclock\u00a0<b>whereis<\/b><b>, which <\/b>and <b>rpm &#8211;<\/b><b>qa<\/b> commands confirm that is not installed<\/li>\n<\/ul>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">$ whereis xclock<br\/>xclock:<\/code><\/pre> <\/div>\n[ad type=&#8221;banner&#8221;]\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">$ which xclock<br\/>\/usr\/bin\/which: no xclock in (\/usr\/lib64\/qt-3.3\/bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin:\/root\/b<\/code><\/pre> <\/div>\n<ul>\n<li>Use <b>rpm &#8211;<\/b><b>qa<\/b> to find if the package <b>xorg-x11-apps <\/b>is installed.<\/li>\n<\/ul>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\"># rpm -qa  | grep -i xorg-x11-apps<br\/>#<\/code><\/pre> <\/div>\n<p>The above command returns nothing. Which means that there is <strong>no rpm for xclock<\/strong> installed on the <a href=\"https:\/\/www.wikitechy.com\/technology\/using-uptime-long-linux-system-running\/\" target=\"_blank\" rel=\"noopener\">system<\/a>. &#8211;<strong>qa<\/strong> stands for <strong>query all.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to get xclock installed &#8211; The xclock package contains a simple clock application which is used in the default xinit configuration.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699],"tags":[6706,6698,6708,6695,6688,6709,6687,6694,6689,6693,6684,6697,6696,6700,6705,6703,6699,6685,6691,6692,6686,6690,6707,6701,6702,6704],"class_list":["post-3620","post","type-post","status-publish","format-standard","hentry","category-linux","tag-error-can-t-open-display","tag-export-display","tag-export-display-in-linux","tag-how-to-install-oracle-11g-on-linux","tag-how-to-run-xclock-from-putty","tag-how-to-set-display-variable-in-linux","tag-how-to-start-xclock-in-linux","tag-install-oracle-11g-on-linux","tag-install-xclock-ubuntu","tag-rpm-resource-xclock","tag-searches-related-to-how-to-get-xclock-installed","tag-x-server","tag-x-window-system","tag-x11-forwarding","tag-x11-forwarding-request-failed-on-channel-0","tag-xclock","tag-xclock-command-not-found","tag-xclock-command-not-found-in-linux","tag-xclock-command-not-found-solaris-10","tag-xclock-download","tag-xclock-in-linux-cant-open-display","tag-xclock-not-working-for-oracle-user-in-linux","tag-xlock","tag-xming-for-linux","tag-xming-putty","tag-xquartz"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/3620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/comments?post=3620"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/3620\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=3620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=3620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=3620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}