extracting files...installing files.....from *.tar.bz2 and *ipk
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This does not make much sense. It tells to extract from the archive development_k2_v1.0.tar.bz2 an item called ~C/home. Furthermore the shell tries to substitute ~C with the full path of the home directory of a user called C (if it exists).
Instead you might need the option -C of tar, to extract the archive at a different location than the current working directory. Anyway, sorry but it is not still clear what do you want to accomplish.
Regarding the IPK files, they are archived and compressed debian packages meant to be used on embedded systems with limited storage capacity. Usually the archives were created using ar (not tar) so that you can try to list or extract their content using
Code:
ar t file.ipk
ar x file.ipk
respectively. Nowadays ipk packages are managed by opkg.
I suggest to take a look at the content of the archive before extracting:
Code:
cd ~/Desktop
tar jtvf development_k2_v1.0.tar.bz2
in particular see if all the files are contained in a top-level directory (otherwise when you extract it they will be spread in your home directory and maybe this is not what you want).
If this is the case you can proceed as suggested by basheer or directly from the Desktop directory where the archive resides:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.