How to Install tar.xz file in Redhat Linux
I am trying to install "gnome-disk-utility-3.6.1.tar.xz" in redhat Linux Workstation 4
through TAR command but it is showing some error.
I have tried so many command in terminal like as:
tar xvf gnome-disk-utility-3.6.1.tar.xz
tar xvzf gnome-disk-utility-3.6.1.tar.xz
tar -xvzf gnome-disk-utility-3.6.1.tar.xz
tar zxf gnome-disk-utility-3.6.1.tar.xz
But Still having same problem.....
Plz help me
You need the package xz-utils installed, the syntax for the command is:
After installing the package xz-utils (It might be there in your system) run the following.
xz -dvk <filename.tar.xz>
EL 4 :
/usr/bin/xz is provided by the package 'xz' :
The rpmforge repo http://repoforge.org/ > http://repoforge.org/use/
The el4 packages http://pkgs.repoforge.org/xz/
Or find the package at http://rpm.pbone.net
'xz' depends on the package 'xz-libs'.
"gnome-disk-utility-3.6.1.tar.xz" can be unpacked with :
1) xz -d gnome-disk-utility-3.6.1.tar.xz
2) tar xvf gnome-disk-utility-3.6.1.tar
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. ;)
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
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
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............
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
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
If you use i386, i486, i586 or i686 Linux:
If you use x86_64 Linux:
If you are unsure if you are using i[3-6]86 or x86_64, use the following command in a terminal window:
If you have problems installing the rpm packages, please post back with the exact error message(s) you received.
Once these are installed you can open gnome-disk-utility-3.6.1.tar.xz as follows:
Testing the xz install on an old EL4 system :
1) wget http://pkgs.repoforge.org/xz/xz-libs...l4.rf.i386.rpm
2) wget http://pkgs.repoforge.org/xz/xz-4.99...l4.rf.i386.rpm
3) su <password>
4) rpm -Uvh xz-libs-4.999.9-0.2.beta.20091007git.el4.rf.i386.rpm
5) rpm -Uvh xz-4.999.9-0.2.beta.20091007git.el4.rf.i386.rpm
7) $ xz --help : 'xz' is present and works.
7a) $ which xz : The reply is : /usr/bin/xz
... And : @ruario is of course right : xz makes no "gnome-disk-utility-3.6.1".
"EL 4" is an ancient OS !
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.
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
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
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.
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. ;)
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.
|All times are GMT -5. The time now is 04:50 AM.|