Sponsored Content
Top Forums Shell Programming and Scripting How to unpack and install .tar.bz2 library ? Post 302299857 by jack2 on Saturday 21st of March 2009 07:18:47 PM
Old 03-21-2009
How to unpack and install .tar.bz2 library ?

Hi,

I am trying to unpack and install .tar.bz2 library.
I was told to cd /
and than tar -jxvf /source-of-library-file?...tar.bz2

to get files unpacked and installed into /

Darius



[admin@oo /]$ pwd
/
[admin@oo /]$
[admin@oo /]$ tar -jxvf /tmp/local/root/ncurses-dev-addon.tar.bz2
ncurses-dev-addon/
ncurses-dev-addon: Cannot mkdir: Read-only file system
ncurses-dev-addon/include/
ncurses-dev-addon/include: Cannot mkdir: No such file or directory
ncurses-dev-addon/include/ncurses/
ncurses-dev-addon/include/ncurses: Cannot mkdir: No such file or directory
ncurses-dev-addon/include/ncurses/curses.h
ncurses-dev-addon/include/ncurses/curses.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/eti.h
ncurses-dev-addon/include/ncurses/eti.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/form.h
ncurses-dev-addon/include/ncurses/form.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/menu.h
ncurses-dev-addon/include/ncurses/menu.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/nc_tparm.h
ncurses-dev-addon/include/ncurses/nc_tparm.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/ncurses.h
ncurses-dev-addon/include/ncurses/ncurses.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/ncurses_dll.h
ncurses-dev-addon/include/ncurses/ncurses_dll.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/panel.h
ncurses-dev-addon/include/ncurses/panel.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/term.h
ncurses-dev-addon/include/ncurses/term.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/term_entry.h
ncurses-dev-addon/include/ncurses/term_entry.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/termcap.h
ncurses-dev-addon/include/ncurses/termcap.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/tic.h
ncurses-dev-addon/include/ncurses/tic.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses/unctrl.h
ncurses-dev-addon/include/ncurses/unctrl.h: Cannot open: No such file or directory
ncurses-dev-addon/include/ncurses.h
ncurses-dev-addon/include/ncurses.h: Cannot create symlink to `ncurses/ncurses.h': No such file or directory
ncurses-dev-addon/lib/
ncurses-dev-addon/lib: Cannot mkdir: No such file or directory
ncurses-dev-addon/lib/libform.a
ncurses-dev-addon/lib/libform.a: Cannot open: No such file or directory
ncurses-dev-addon/lib/libmenu.a
ncurses-dev-addon/lib/libmenu.a: Cannot open: No such file or directory
ncurses-dev-addon/lib/libncurses.a
ncurses-dev-addon/lib/libncurses.a: Cannot open: No such file or directory
ncurses-dev-addon/lib/libpanel.a
ncurses-dev-addon/lib/libpanel.a: Cannot open: No such file or directory
Exiting with failure status due to previous errors
[admin@oo /]$
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

extracting from tar.bz2

hi could any body tell me how to extract .tar.bz2 files i tried using tar but in vain. i found bzip2 in googling but i could not find it on machine unix tru64 please suggest. (1 Reply)
Discussion started by: Raom
1 Replies

2. Shell Programming and Scripting

compare two tar.bz2

Hello, I am using a bash script to archive directories of text files located in ${root}: tar cf ${root}.tar ${root}* bzip2 ${root}.tar I'd like to compare the newly produced archive two.tar.bz2 with the second latest one.tar.bz2. cmp one.tar.bz2 two.tar.bz2 returns one.tar.bz2 two.tar.bz2... (2 Replies)
Discussion started by: JCR
2 Replies

3. Shell Programming and Scripting

Unpack .tar-file and get name

Hi there, I wrote the following code: if ($SCENE == *.tar) then echo "tar -xf $SCENE" tar -xf $SCENE > tar.txt set dims = `awk '$0' tar.txt` echo "name of dims is:" echo "$dims" endif My intension is, to write a variable "dims" with the output name of the tar-command. That means,... (6 Replies)
Discussion started by: friend
6 Replies

4. Shell Programming and Scripting

Put one tar.bz2 file to another tar.bz2

Hi experts, I have two tar.bz2 file,: a.tar.bz2 and b.tar.bz2 I want to put a.tar.bz2 in to b.tar.bz2 eg: b.tar.bz2 only have one file named "b.c" contained I want it contain "b.c and a.tar.bz2" I don't want to decompress the b.tar.bz2 to achieve this, I try with "cat a.tar.bz2 >>... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

5. UNIX and Linux Applications

Download firefox-19.0.2.tar.bz2

Does anyone know a reliable source to download firefox-19.0.2.tar.bz2 from? I would think you be able to download from firefox or mozilla somewhere. I haven't gotten anything useful from my google searches. (2 Replies)
Discussion started by: cokedude
2 Replies

6. Ubuntu

Error messages while extracting tar.bz2 in Ubuntu

while extracting a tar.bz2 file using the command tar xjf git.tar.bz2 I received error messages that shows Cannot hard link to and Cannot create symlink to error messages what will be the reason for those error messages. (4 Replies)
Discussion started by: saravana krishn
4 Replies

7. Programming

Aria2c to download and extract. tar.bz2

I am using aria2c to download a .tar.bz2 and trying to extract it in the same command. I can download the file but not extract it. I can also manually extract the tar.bz2., but not in the same command. Thank you :). aria2c -x8 -l log.txt -c -d /xx/xx/xxx --use-head=true --http-user "<user>" ... (8 Replies)
Discussion started by: cmccabe
8 Replies

8. Shell Programming and Scripting

Bash not removing all .tar.bz2 files after extracting

In the bash below each .tar.bz2 (usually 2) are extracted and then the original .tar.bz2 is removed. However, only one (presumably the first extracted) is being removed, however both are extracted. I am not sure why this is? Thank you :). tar.bz2 folders in /home/cmccabe/Desktop/NGS/API ... (3 Replies)
Discussion started by: cmccabe
3 Replies

9. Shell Programming and Scripting

Speed up extraction od tar.bz2 files using bash

The below bash will untar each tar.bz2 folder in the directory, then remove the tar.bz2. Each of the tar.bz2 folders ranges from 40-75GB and currently takes ~2 hours to extract. Is there a way to speed up the extraction process? I am using a xeon processor with 12 cores. Thank you :). ... (7 Replies)
Discussion started by: cmccabe
7 Replies
vim-addon-manager(1)					      General Commands Manual					      vim-addon-manager(1)

   ["NAME"]
       vim-addon-manager - command line manager of Vim add-ons

   ["SYNOPSIS"]
       vim-addons [OPTION ...] [COMMAND [ADDON ...]]

   ["DESCRIPTION"]
       Manage Vim addons installed system-wide, enabling on a per-user basis their installation, removal, ...

       vim-addons  is  capable	of  managing  all Vim addons registered in the system-wide registry of Vim addons (see vim-registry(5)). Each sys-
       tem-wide addon can be, with respect to a user Vim configuration, in one of the following states:

       ["installed"]
	      all of the files composing the addon are installed (i.e. symlinked) to their respective places under the target directory. The addon
	      is fully functional for the current user

       ["removed"]
	      the  files  composing the addon are not installed under the target directory.  The addon might still be working for the current user
	      if it is installed system-wide by the local administrator

       ["disabled"]
	      the files composing the addon are not installed under the target directory, but the addon is  installed  system-wide.  However,  the
	      addon has been disabled for the current user explicitly via some configuration line in plugin/vim-addons.vim under the target direc-
	      tory. The addon is not working for the current user

       ["broken"]
	      only some of the files composing the addon are installed under the target directory. The addon is probably not working for the  cur-
	      rent user

       ["unavailable"]
	      some (or all) of the files composing the addon are missing from the source directory

   ["COMMANDS"]
       A  number  of  commands	can  be  given to vim-addons to inspect or alter the status of the addons: list, status, install, remove, disable,
       amend, files, show.

       A description of the semantics of each command is reported below.

       ["list"]
	      list, one per line, the names of the addons available in the system (i.e. of all the addons mentioned in the registry, not necessar-
	      ily of all enabled addons)

       ["status"]
	      show,  one  per  line,  the status of the addons available in the system. If one or more addon arguments are specified only show the
	      status of those addons.  This is the default command if nothing is specified.

       ["install"]
	      install one or more addons under the target directory. Requires at least one addon argument

       ["remove"]
	      remove one or more addons from the target directory. Requires at least one addon argument

       ["disable"]
	      disable one or more addons to be used by the current user. Usually used for addons which are system-wide enabled by the local admin-
	      istrator	but  that  the	current  user  does not want to be used. Using this command will automatically change the content of plug-
	      in/vim-addons.vim under the target directory, probably adding ":let" commands which will inhibit the given addon	from  being  used.
	      Requires at least one addon argument

       ["enable"]
	      undo the effects of a previous disable command. Requires at least one addon argument

       ["files"]
	      list,  one  per  line, the files composing the specified addons. Files are listed relative to components of the Vim runtimepath (see
	      'runtimepath' in the Vim help). Requires at least one addon argument

       ["show"]
	      displays detailed information about the specified addons

   ["OPTIONS"]
       All commands accept the following options:

       ["-h, --help"]
	      show this usage message and exit

       ["-q, --query"]
	      be quiet and make the output more parseable (for "status")

       ["-r, --registry-dir"]
	      set the registry directory (default: /usr/share/vim/registry)

       ["-s, --source-dir"]
	      set the addons source directory (default: /usr/share/vim/addons)

       ["-t, --target-dir"]
	      set the addons target directory (default: $HOME/.vim)

       ["-v, --verbose"]
	      increase verbosity level

       ["-z, --silent"]
	      silent mode: supress most of the output

       ["-y, --system-dir"]
	      set the system-wide target directory (default: /var/lib/vim/addons)

       ["-w, --system-wide"]
	      set the addons target directory to the system-wide target directory, possibly overriding the -t option

   ["AUTHOR"]
       Stefano Zacchiroli <zack@debian.org> James Vega <jamessan@debian.org>

   ["SEE ALSO"]
       vim(1), vim-registry(5)

   ["COPYRIGHT"]
       Copyright (C) 2007 Stefano Zacchiroli Copyright (C) 2009 James Vega

       This program is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as pub-
       lished by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

								   October 2012 					      vim-addon-manager(1)
All times are GMT -4. The time now is 10:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy