VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: HOWTO Install *.txz Files in VL6  (Read 7855 times)

Pita

  • Vectorian
  • ****
  • Posts: 1342
HOWTO Install *.txz Files in VL6
« on: July 28, 2010, 12:22:36 am »

How to Install txz files in VL6?

Program xz found in gslapt should be installed

-- Download file *.txz

-- Open file as superuser (su) with 'mc'

-- Make a directory with file name (short only) on right or left panel in 'mc'.

-- Open that directory

-- Copy files from file.txz, usually directories, opened with 'mc' into that directory

-- Close that directory

-- Put cursor on this directory

-- Click F2 in 'mc'

-- Click on "Compress the current subdirector (tar.gz)"

-- Then follow instruction of 'mc' like giving a name to the file.
    'mc' will put the extension tar.gz so no need to give.

-- When file *.tar.gz has been created move it to *.tgz.
   (mv file.tar.gz ./file.tgz)

-- install or upgrade file.tgz.

Note: on files whith new dependencies/libraries those are not
      installed and therefore the new program might not work.
« Last Edit: July 28, 2010, 05:53:04 pm by Pita »
Logged

bigpaws

  • Vectorian
  • ****
  • Posts: 1872
Re: HOWTO Install *.txz Files in VL6
« Reply #1 on: July 28, 2010, 07:24:11 am »

Why not upgrade pkgtools and then you can
use installpkg *.txz ?

Bigpaws
Logged

sledgehammer

  • Vectorian
  • ****
  • Posts: 1483
Re: HOWTO Install *.txz Files in VL6
« Reply #2 on: July 28, 2010, 07:30:09 am »

bigpaws,

The latest pkgtools I see in the VL 6 repositories is pkgtools-tukaani 1.2.4.  Is that the updated version to which you refer?

John
Logged
VL7.0 xfce4 Samsung RF511

Pita

  • Vectorian
  • ****
  • Posts: 1342
Re: HOWTO Install *.txz Files in VL6
« Reply #3 on: July 28, 2010, 05:26:22 pm »

Why not upgrade pkgtools and then you can
use installpkg *.txz ?

Bigpaws

Does not work in my box. Tried several times. version /pkgtools-tukaani-1.2.4-i586-1vl60
Logged

bigpaws

  • Vectorian
  • ****
  • Posts: 1872
Re: HOWTO Install *.txz Files in VL6
« Reply #4 on: July 28, 2010, 05:47:22 pm »

Sledgehammer:

Yes that is the package I was referring to.

Pita:
It has worked for me. However that was on one install. I use it
on Slackware without problem.

Bigpaws
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1342
Re: HOWTO Install *.txz Files in VL6
« Reply #5 on: July 28, 2010, 05:56:44 pm »

Sledgehammer:

Yes that is the package I was referring to.

Pita:
It has worked for me. However that was on one install. I use it
on Slackware without problem.

Bigpaws

I have used it in slackware-13.0 too, forgot the version. Then copied the files
into my working VL box. Then came xz. I will later check in slackware-13.1.
Logged

pierce.jason

  • Packager
  • Vectorite
  • ****
  • Posts: 250
Re: HOWTO Install *.txz Files in VL6
« Reply #6 on: December 29, 2010, 04:14:11 pm »

A similar trick to get this accomplished. This is usefull especially if you want to install the newer pkgtools(found on soho cd in packages directory) that is already in the .txz format.

Code: [Select]
# slapt-get --install xz
# xz -cd pkgtools-tukaani-1.2.5-i586-1vl60.txz | lzma > pkgtools-tukaani-1.2.5-i586-1vl60.tlz
# installpkg pkgtools-tukaani-1.2.5-i586-1vl60.tlz
After installing 1.2.5, you can now work with .txz packages just as easily as .tlz or .tgz!

pierce.jason

EDIT: Or for converting a whole directory of txz try a for loop something like this
Code: [Select]
# for pkg in `ls *.txz | rev | cut -d '.' -f 2- | rev`; do xz -cd ${pkg}.txz | lzma > ${pkg}.tlz; done
« Last Edit: December 30, 2010, 12:54:37 pm by pierce.jason »
Logged
pierce.jason
Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)