LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-03-2013, 08:24 AM   #16
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617

One more point. Why not backup any important files from your RHEL (Red Hat Enterprise Linux) 4 installation and do a clean install with a modern version of Linux. During installation you will get a chance to alter the partitioning on your disk anyway.

Running RHEL4 these days is a bad idea. It does not receive security updates any longer so it is not safe unless you have a special, "extra" extended life support contract with Red Hat or you understand how to upgrade and maintain the old software yourself, which (no offence intended) is unlikely as it is a highly skilled job and you appear to be a new user.

As an added bonus you will have access to a wider selection of modern applications, which will be easier to install due to advances in package management over the last 8+ years. The system will also be easier to configure and work better with modern hardware, due to similar improvements elsewhere in the OS.

Trying to use RHEL4 if you are new to Linux is just going to make everything harder for you as I suspect you are beginning to realise.

Last edited by ruario; 01-03-2013 at 08:25 AM.
 
Old 01-03-2013, 08:47 AM   #17
ift38375
Member
 
Registered: Dec 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Hi ruario thnx to you for your Best Suggestions,

1. How to check gcc compiler is installed or not in Linux ?

2. Plz give me examples of configurations files, Executable file.
.rpm, .tar.?? comes under in category of files ?

3. I want to transfer file from source to destination, then
which command i will use, SCP or UUCP??

4. How to create Partion in GUI mode, can u plz share
documents which have step by step instructions.
 
Old 01-03-2013, 08:58 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
# 17
Quote:
1. How to check gcc compiler is installed or not in Linux ?
1) $ which gcc
1a) $ gcc -v
2) $ g++ -v : Because no g++ probably means that gcc isn't working.
I.e. the important packages 'glibc-devel' etc. are installed as dependencies
for the package that provides g++ : 'gcc-c++'.


Quote:
4. How to create Partion in GUI mode, can u plz share
documents which have step by step instructions.
Already answered by ruario : Use the Gparted live cd.

.
 
Old 01-03-2013, 09:24 AM   #19
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617
Quote:
Originally Posted by ift38375 View Post
Hi ruario thnx to you for your Best Suggestions,

1. How to check gcc compiler is installed or not in Linux ?
This would call the program and ask it to prints its version. If it exists it will report back:

Code:
gcc --version
Alternatively you could ask the rpm package manager

Code:
rpm -q gcc
Quote:
Originally Posted by ift38375 View Post
2. Plz give me examples of configurations files, Executable file.
.rpm, .tar.?? comes under in category of files ?
I'll use a program as an example, e.g. 'wget' which knudfl used in one of his examples to fetch rpms from the web. Let's ask the package manager about what this package is, '-qi' will give you information on a package:

Code:
$ rpm -qi wget
Name        : wget
Version     : 1.13.4
Release     : 10.1.2
Architecture: x86_64
Install Date: Fri 24 Aug 2012 21:46:55 CEST
Group       : Productivity/Networking/Web/Utilities
Size        : 1876971
License     : GPL-3.0+
Signature   : RSA/SHA256, Mon 16 Jul 2012 19:31:51 CEST, Key ID b88b2fd43dbdc284
Source RPM  : wget-1.13.4-10.1.2.src.rpm
Build Date  : Mon 16 Jul 2012 19:31:20 CEST
Build Host  : build35
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.gnu.org/software/wget/
Summary     : A Tool for Mirroring FTP and HTTP Servers
Description :
Wget enables you to retrieve WWW documents or FTP files from a server.
This can be done in script files or via the command line.
Distribution: openSUSE 12.2
Now let's see what files are part of that package, '-ql' will give you a list of the files in the package:

Code:
$ rpm -ql wget
/etc/wgetrc
/usr/bin/wget
/usr/share/doc/packages/wget
/usr/share/doc/packages/wget/AUTHORS
/usr/share/doc/packages/wget/COPYING
/usr/share/doc/packages/wget/MAILING-LIST
/usr/share/doc/packages/wget/NEWS
/usr/share/doc/packages/wget/README
/usr/share/doc/packages/wget/rmold.pl
/usr/share/doc/packages/wget/sample.wgetrc
/usr/share/info/wget.info.gz
/usr/share/locale/be/LC_MESSAGES/wget.mo
/usr/share/locale/bg/LC_MESSAGES/wget.mo
/usr/share/locale/ca/LC_MESSAGES/wget.mo
/usr/share/locale/cs/LC_MESSAGES/wget.mo
/usr/share/locale/da/LC_MESSAGES/wget.mo
/usr/share/locale/de/LC_MESSAGES/wget.mo
/usr/share/locale/el/LC_MESSAGES/wget.mo
/usr/share/locale/en_GB/LC_MESSAGES/wget.mo
/usr/share/locale/eo/LC_MESSAGES/wget.mo
/usr/share/locale/es/LC_MESSAGES/wget.mo
/usr/share/locale/et/LC_MESSAGES/wget.mo
/usr/share/locale/eu/LC_MESSAGES/wget.mo
/usr/share/locale/fi/LC_MESSAGES/wget.mo
/usr/share/locale/fr/LC_MESSAGES/wget.mo
/usr/share/locale/ga/LC_MESSAGES/wget.mo
/usr/share/locale/gl/LC_MESSAGES/wget.mo
/usr/share/locale/he/LC_MESSAGES/wget.mo
/usr/share/locale/hr/LC_MESSAGES/wget.mo
/usr/share/locale/hu/LC_MESSAGES/wget.mo
/usr/share/locale/id/LC_MESSAGES/wget.mo
/usr/share/locale/it/LC_MESSAGES/wget.mo
/usr/share/locale/ja/LC_MESSAGES/wget.mo
/usr/share/locale/lt/LC_MESSAGES/wget.mo
/usr/share/locale/nb/LC_MESSAGES/wget.mo
/usr/share/locale/nl/LC_MESSAGES/wget.mo
/usr/share/locale/pl/LC_MESSAGES/wget.mo
/usr/share/locale/pt/LC_MESSAGES/wget.mo
/usr/share/locale/pt_BR/LC_MESSAGES/wget.mo
/usr/share/locale/ro/LC_MESSAGES/wget.mo
/usr/share/locale/ru/LC_MESSAGES/wget.mo
/usr/share/locale/sk/LC_MESSAGES/wget.mo
/usr/share/locale/sl/LC_MESSAGES/wget.mo
/usr/share/locale/sr/LC_MESSAGES/wget.mo
/usr/share/locale/sv/LC_MESSAGES/wget.mo
/usr/share/locale/tr/LC_MESSAGES/wget.mo
/usr/share/locale/uk/LC_MESSAGES/wget.mo
/usr/share/locale/vi/LC_MESSAGES/wget.mo
/usr/share/locale/zh_CN/LC_MESSAGES/wget.mo
/usr/share/locale/zh_TW/LC_MESSAGES/wget.mo
/usr/share/man/man1/wget.1.gz
The file /etc/wgetrc is the main system wide configuration file for wget. The file /usr/bin/wget is the main executable that runs when you type 'wget' on the command line. The directory /usr/share/doc/packages/wget contains various documents with information about wget, e.g. who made it (AUTHORS) and its license (COPYING). The files /usr/share/info/wget.info.gz and /usr/share/man/man1/wget.1.gz are the main manuals explaining how the program works, e.g. if I type 'man wget' I see the information stored in /usr/share/man/man1/wget.1.gz or 'info wget' would show me information from /usr/share/info/wget.info.gz ('man' and 'info' files are just two rival formats for displaying information manuals. In most cases they will show roughly the same data). The files in /usr/share/locale/ are translations to the wget interface and messages with the subfolders representing different languages, e.g. pl would Polish.

If you really want to understand the Linux directory structure and the rules for where different files that make up packages are stored check out the Filesystem Hierarchy Standard. It is long and detailed but it explains all of this and more.

Quote:
Originally Posted by ift38375 View Post
3. I want to transfer file from source to destination, then
which command i will use, SCP or UUCP??
It depends on what is running at the destination. Assuming an SSH server, scp would be an appropriate command but there are multiple ways to transfer stuff between machines, just like there are on other operating systems.

Quote:
Originally Posted by ift38375 View Post
4. How to create Partion in GUI mode, can u plz share
documents which have step by step instructions.
Here is a link to the GParted online manual
 
Old 01-03-2013, 09:33 AM   #20
ift38375
Member
 
Registered: Dec 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Thanks ruario,knudfl :

2) .rpm and .tar.?? are configuration file or Executable file or else ?

3) what is use of UUCP ?

Last edited by ift38375; 01-03-2013 at 09:40 AM.
 
Old 01-03-2013, 09:37 AM   #21
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617
Quote:
Originally Posted by ift38375 View Post
4. How to create Partion in GUI mode, can u plz share
documents which have step by step instructions.
You can also try searching online for Gparted Tutorial. There are lots of hits.

P.S. There are also videos on YouTube
 
1 members found this post helpful.
Old 01-03-2013, 09:49 AM   #22
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617
Quote:
Originally Posted by ift38375 View Post
2) .rpm and .tar.?? are configuration file or Executable file ?
rpms are neither. Strictly speaking it is an archive format (collection of files) with meta data used by the rpm package manager to understand what the package is, what it depends on and what its contents are. So it is best to think of it as an installation file. If you have come across .msi files on Windows or .dmg files on MacOS you can probably think of it as something like those.

Tar files are are files for archiving, storage or backup. Like zip files they are just a collection of different files.

Quote:
Originally Posted by ift38375 View Post
3) what is use of UUCP ?
These days? Not much, at least for every day users. Perhaps I can turn the question around and ask why you want to know or why you think it is important?
 
Old 01-03-2013, 10:00 AM   #23
ift38375
Member
 
Registered: Dec 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
rpms are neither. Strictly speaking it is an archive format (collection of files) with meta data used by the rpm package manager to understand what the package is, what it depends on and what its contents are. So it is best to think of it as an installation file. If you have come across .msi files on Windows or .dmg files on MacOS you can probably think of it as something like those.

Tar files are are files for archiving, storage or backup. Like zip files they are just a collection of different files.



These days? Not much, at least for every day users. Perhaps I can turn the question around and ask why you want to know or why you think it is important?

Actually i am Preparing for post Graduation and Linux is in my Syllabus.
That's why i was asking about UUCP command.
 
Old 01-03-2013, 10:26 AM   #24
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617
@ift38375: You might want to post an intro in the intro forum. I already read your first post where you stated:

Quote:
Originally Posted by ift38375 View Post
I am new in linux....I am eager to know about Linux functionality
However it would be nice to know a little bit more about you. That way people could pitch their answers better to you as they have a better understanding of your IT background.

I wouldn't mind knowing stuff like:

1. What computer systems have you used before? Windows, Mac, etc. What versions?
2. Why are you interested in Linux? For a job, school, or just to teach yourself more about IT? EDIT: Ok, I see you just answered this one above.
3. How technical do you consider yourself, perhaps with examples of how you use or have used computers previously?
4. How old are you?

And most importantly:

5. How did you end up with a machine running such an old distro?

Regarding that last point most people's introduction to Linux is via a recent version of one of the more user friendly distros like Ubuntu, Mint, openSUSE, Mageia or Fedora. Your choice is therefore a unusual so you might want to explain it.

If you do post an into, use the intro forum however, not here as it would be fairly off topic.

Last edited by ruario; 01-03-2013 at 10:33 AM.
 
Old 01-03-2013, 10:30 AM   #25
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617Reputation: 1617
Quote:
Originally Posted by ift38375 View Post
That's why i was asking about UUCP command.
Read the wikipedia article on UUCP in particular the sections on 'Decline' and 'Last uses and legacy'. Not many people are interested in UUCP these days, unless they are interested in it from a historical perspective.
 
Old 01-03-2013, 12:20 PM   #26
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel
Posts: 134

Rep: Reputation: 22
Quote:
Originally Posted by ift38375 View Post
Thanks ruario,knudfl :

2) .rpm and .tar.?? are configuration file or Executable file or else ?

3) what is use of UUCP ?
I suggest you better get the basics of linux read. There are tons of tutorial on net. rpm or tar are not configuration file or executable files. They are packagers. You can archive a set files to tar. The xz you mentioned earlier is a compersion type. So what you mentioned earlier was a compressed and archived file. you can use a software to delivered as tar file and you can install software from them. Once uncompressed and expanded you can use make tool to install the software. rpm is another tool to install the software. .rpm is not a config or executable by itself. You install it using #rpm -iv <file>.rpm and it puts the executable and configuration files in places the developer of the software has choosen as the right place. Same with tar file.

Atleast read the basics of Linux before you work on it. There are thousands of tutorials on internet , google it.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to install tar file (firefox9.0.1) on Linux jshoner Linux - Software 10 01-30-2012 06:27 PM
.tar.gz install file for linux? finditsol Linux - Software 4 10-09-2009 05:03 AM
How to install tar.gz & tar.bz2 file on Linux min Krishnendu Linux Mint 2 07-16-2009 07:52 AM
How can I install a .tar file in Linux? kamasake Linux - Software 3 05-22-2005 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration