Your biggest problem is that you will really, really struggle to resolve all the build dependencies needed for gnome-disk-utility on such an old distro (in fact I'm doubtful it can be done). Why are you using such an old distro and can't you simply upgrade it?

That said, if you really want to try. You could also quickly compile up a XZ decompressor binary and use that to help you open the gnome-disk-utility archive. You don't have to install the full XZ Utils. ;)

Once this is installed you can open gnome-disk-utility-3.6.1.tar.xz as follows:

Code:

xzdec gnome-disk-utility-3.6.1.tar.xz | tar x

ruario

01-02-2013 02:27 PM

Quote:

Originally Posted by ukiuki
(Post 4861385)

Code:

tar xz gnome-disk-utility-3.6.1.tar.xz

That won't work because you wrote 'z' instead of 'f', his tar is too old to automatically detect xz compressed tar archives and because he doesn't have xz installed.

John VV

01-02-2013 04:29 PM

This is the now unsupported RHEL4 , so....
that is unless the OP is paying red hat a ton of cash for the "extra" extended life support

if at all possible contact your red hat sales rep and buy RHEL6.3

ift38375

01-03-2013 03:38 AM

Hi experts,

I tried all commands given by all of you
but still it is showing two errors :

1. bash : xz:command not found

2. Tar: this does not look like a tar archive
tar: skipping to next header

Note:

I do not want to upgrade existing version of linux
so tell me alter way to rectify this. is there any
possibility to upgrade bash shell or Else which is
related to this command ? Plz Unprofessional members
keep away from this thread............

knudfl

01-03-2013 04:05 AM

# 9

Quote:

1. bash : xz:command not found

Please read post # 5.

ift38375

01-03-2013 04:37 AM

Quote:

Originally Posted by knudfl
(Post 4861899)

# 9

Please read post # 5.

Hi,

Solution Given by you is not Working,
xz command not exists....
Plz Tell me the procedure Step by Step
so that i can do it easily

ruario

01-03-2013 05:24 AM

Let me reiterate again that even once you open the gnome-disk-utility-3.6.1.tar.xz package you will have a far bigger problem. It has multiple build dependencies that are not found in such an old version of Red Hat. You will struggle to get it to work, particularly if you are already having issues with opening an XZ compressed tar archive (no offence intended). Perhaps you would be better stating why you feel you have to stick with such an old distro and someone could help you get around that (I honestly believe this will be an easier problem to solve than getting gnome-disk-utility-3.6.1 working). Alternatively if you explain why you want gnome-disk-utility-3.6.1, someone here may be able to suggest an alternative that is easier to get running on your old system.

That said, if you really feel you want to try by all means go ahead but when asking for advice it would be much more helpful if you posted the exact (copy and pasted or typed up word for word) error messages at each stage of you attempting to follow the instructions you have been provided, then someone here can see exactly what failed and give you better advice.

knudfl was very clear and yet you have not explained if you were even able to install the XZ packages he linked to or not and if you couldn't install them, why not? What error message did you get?

That said, I'll try again using the links he gave you previously. Firstly, install the xz-libs-4.999.9-0.2.beta.20091007git.el4.rf package and then the xz-4.999.9-0.2.beta.20091007git.el4.rf package

... And : @ruario is of course right : xz makes no "gnome-disk-utility-3.6.1".
"EL 4" is an ancient OS !

.

ift38375

01-03-2013 06:35 AM

ruario #

Actually purpose to install this *.tar.xz" file
to create Partion of Linux hardisk in GUI mode
because i do not have access of DRUID window,
DRUID not comes after installation of Linux.

knudfl #

I will let you know after complete
whole procedure....I think "TAR" command
is not used for installation,it is used for
Compress and Decompress the file But you not
mentioned some installation command like
./configure,
make,
make install

I have some general Queries to All of you:

1. How to know the directory / folder of installed
Linux applications / programs like as .rpm, .tar.gz,.tar.xz
whatever. what is exact location where program Installed,
mean to say, /etc or /usr or /var or else.
is it take path itself or can we choose according to ourselves ?

2. What is difference between .rpm and .tar.gz/xz/??

Plz explain with correct commands

ruario

01-03-2013 07:04 AM

Quote:

Originally Posted by ift38375
(Post 4861994)

ruario #

Actually purpose to install this *.tar.xz" file
to create Partion of Linux hardisk in GUI mode
because i do not have access of DRUID window,
DRUID not comes after installation of Linux.

The package you want to install is a "source package". It would need to be extracted, and then compiled into binary code to use it. You can't simply install it.

If you want a graphical tool for Linux partitioning use GParted. An old version may be available for RHEL4 and if not it doesn't matter as you don't even need to install GParted, since you could use a Parted Magic LiveCD to boot your machine, do the partitioning and reboot. In fact this is a safer/better way if you intend to re-partition the disk on which your Linux install currently lives.

Partioning is a risky business in any case so before you attempt it remember to backup any important data first.

Quote:

Originally Posted by ift38375
(Post 4861994)

knudfl #

I will let you know after complete
whole procedure....I think "TAR" command
is not used for installation,it is used for
Compress and Decompress the file But you not
mentioned some installation command like
./install,
make,
make install

I'm not knudfl but I will answer nonetheless. Indeed tar is not typically used directly for installation. It is an archive format (like zip on Windows machines) but before you can compile the software (a.k.a. './configure && make && make install') you would have to extract the contents of the source archive. You do not want to attempt this however with gnome-disk-utility-3.6.1.tar.xz on RHEL4. Use GParted as explained above.

For a bit of background. To compile software you would need to install a compiler (e.g. gcc), various related tools (e.g. make), and some development libraries first. In addition you would need to satisfy all the 'build dependencies' first (other applications that the program you want to compile needs pre-installed first). For something like gnome-disk-utility-3.6.1.tar.xz on RHEL4, this would be a nightmare.

To put this into perspective, Red Hat Enterprise Linux 4 was based on Fedora Core 3, which was first released on the 8th of November 2004. So this distro is based on technology that is over 8 years old. In Linux world where technology moves so fast this is a different era, considering how much has changed. Version 3.6.1 of GNOME Disks (a.k.a. gnome-disk-utility) is the very latest version, released just 2 months ago. To build it you will also need GTK+-3.6.2, Intltool-0.50.2, libsecret-0.11, libpwquality-1.2.0 and UDisks-2.0.0 and all of their dependencies.

Each of these will present problems as they in turn will have multiple dependencies that will not be available on your old system either. Perhaps the worst problem is the Udisks (a.k.a. DeviceKit-disks) requirement because it was designed to replace certain aspects of HAL (Hardware Abstraction Layer), which is what RHEL4 uses. HAL is very low level and not something one would wish to replace within an old distro like RHEL4 as numerous other things will depend on it, each of which will have to be tweaked, updated or replaced, which in turn will have a cascade effect on other components of the OS. Long story short, this will be an incredibly hard and time consuming job as you track down, build and replace various components. Additionally to be able to keep track of all that you would have to replace, you will also need to spend time learning about rpm packaging and make actual packages or the system will quickly become unworkable and unmaintainable.

At the end of all this your distro will be "upgraded" in some sense since it will have various modern components and will not at all resemble other RHEL4 systems out there. Or to put it another way, you either upgrade your distro the traditional (and easier) way or you upgrade it the hard, time consuming way. One way or another you have to upgrade your distro, there is no getting around it if you really wanted version 3.6.1 of GNOME Disks.

Which brings us back to, just use GParted from a LiveCD and save yourself a world of hassle. ;)

Quote:

Originally Posted by ift38375
(Post 4861994)

I have some general Queries to All of you:

1. How to know the directory / folder of installed
Linux applications / programs like as .rpm, .tar.gz,.tar.xz
whatever. what is exact location where program Installed,
mean to say, /etc or /usr or /var or else.
is it take path itself or can we choose according to ourselves ?

For rpm or deb no you cannot decide the path (technically there is something called a relocatable rpm package but these are very rare so you might as well pretend they don't exist for now). For software you have compiled from source you can generally tweak the directories where applications install but in most cases you would only want to choose between a few common locations.

Also with the exception of some software that installs everything under /opt, most applications do not install all their files into one location on the disk, i.e. some files may be put in /etc (configuration files), others in /usr/bin (executables), others in /usr/lib (libraries, which are like dlls in the Windows world) and so on.

On Windows this might be considered a problem for people who remove software manually (outside of the official uninstall routine). That is generally a bad idea even on Windows (unless you really understand what you are doing) but is an even worse idea under Linux. The packaging managers on Linux are pretty advanced so you need not actually worry about where the various components of the software are installed, just trust the package manager to handle it. Though if you are curious you can also ask the package manager to tell you where various files belonging to a given package have been placed. There are various query commands for this kind of thing.

You only want to worry about where files are installed for software you have installed from source (and even then there are tools to assist you) but installing software from source is an advanced topic and if you are new to Linux I would stick to using official package appropriate for your distro. In the case of Red Hat, that would be rpms.

Quote:

Originally Posted by ift38375
(Post 4861994)

2. What is difference between .rpm and .tar.gz/xz/??

An rpm is the native install package format for Red Hat Linux and a range of other distros. A tar.{gz,bz2,xz,lz,lzop} is an archive format like zip on Windows. It is just a collection of files.