General :: When Extract The Tarball - Forgot The '-C' Option Of The Command 'tar'
Apr 23, 2010
I tried to install gfortran on my computer. When I extract the tarball, I forgot the '-C' option of the command 'tar', which should be added, according to the instruction of installation.
That is to say, I wrote in the mp directory:
Then, the tarball creates a '/usr' directory under '/tmp' directory, and it contains only a /local directory, which contains only a /gfortran directory.
The thing is, when I modify the name of this directory, for example, from /usr to /usr-modi, I found that the name of the directory /usr under the root directory is also changed from /usr to /usr-modi.
How can I delete this annoying /usr directory under /tmp, without tragically affect /usr under the root directory?
Fedora 15 with Gnome 3 is turning out to be dream for me. I am loving it, except few of the old things are gone. I don't care about the not so important stuff but I do care about the Extract here menu option, that I used to have before. I did checked I have latest unrar installed but still I don't see in Nautilus 3.0.2 context menu Extract Here option to unrar compressed files. So, I have to use the Archive manager which I want to avoid. Other feature I am missing is status bar in desktop (bottom bar) any idea how to get that back on gnome 3.
I've read a few other threads about installing tarballs and just about all of them mention running the ./configure script. BTW, I'm working on a machine without internet connection and I'm using karmic. I successfully extracted the contents of the tarball and a directory of those contents was created. I navigated into that directory and tried "sudo ./configure" as per some instructions I found on the net, but the result was "bash:./configure: no such file or directory".
I get this same error message when I try "./configure --help | less" Is "./configure" something that is meant to come as part of the OS or do I need to install that separately too!?! when I try to create a keyboard short cut for opening a terminal by using the "keyboard shortcuts" option in system > preferences the setting lists it as "disabled". Is there some way for enabling? I know how to get to a complete screen terminal by using ctrl+alt+f2 but I also want a shortcut for other terminal box which is accessible via the applications area.
$ ls one.tar.gz one.tar.gz $ tar -xvfz one.tar.gz tar: z: Cannot open: No such file or directory tar: Error is not recoverable: exiting now $ tar -xvzf one.tar.gz one $ tar -xzvf one.tar.gz one $ tar -zxvf one.tar.gz one $
i've an issue in a firewall command i hope u help me on.when i try to type the following firewall command:iptables -A INPUT -s xxx.xxx.xxx.xxx -dport 8000:9000 -p tcp -j ACCEPTit gives me:Bad argument `8000:9000`it complaints about the port range and i cant see in problems in that.i also tried to change the order of the options but it never worked.one other thing,why it don't allow me to add -sport option in the above command?
I'm trying to use the dirs command with the +N option. The manual says: dirs [-clpv] [+n] [-n]Without options, displays the list of currently remembered directories. The default display is on a single line with directory names separated by spaces. Direc- tories are added to the list with the pushd command; the popd command removes entries from the list. +n Displays the nth entry counting from the left of the list shown by dirs when invoked without options, starting with zero.
dirs -v shows: 0 /dir1/ 1 /dir2/ 2 /dir3/
However, dir +n 1, dir +N 1, dir -v +n 1, dir -v +N 1 all give:
In the rpm manual, Print 50 hash marks as the package archive is unpacked. Use with -v|--verbose for a nicer display. But actually, there're not enough hash marks when I'm installing a package. About 44 hash marks there...Well, I just want to know where the `50 hash marks' are.
I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
This is unacceptable for a script.I need an option to force unzip to overwrite the files.I did not find in the man page nor with Google.
I am trying to automate an svnadmin dump command for a backup script, and I want to do something like this:
find /var/svn/* ( ! -name dir -prune ) -type d -exec svnadmin dump {} > {}.svn ;
This seems to work, in that it looks through each svn repository in /var/svn, and runs svnadmin dump on it.
However, the second {} in the exec command doesn't get substituted for the name of the directory being processed. It basically just results a single file named {}.svn.
I suspect that this is because the shell interprets > to end the find command, and it tries redirecting stdout from that command to the file named {}.svn.
Up until an hour ago, my openSUSE 11.0 KDE 3.x Konqueror had the usual Ark archive extraction options on the context menu. An hour ago, during an extraction operation, Ark and/or KWin crashed and I had to log back in.
Now the Ark extraction options are no longer on the menu. All I have is the Ark "Extract To..." option.
What happened and how can I fix it? And yes, I have all the required integration plugins, etc., the thing was working fine for the last two years. Now it's broken. Where is the config file or lock file or whatever that I need to find to fix this.
I have one distro installed, LILO as the boot loader, and i wonder if it's possible to duplicate the lilo entries with an option which executes some script or command during, or after the boot.Actually, i installed a Slackware + autolaunching virtual machine, but i have two VM, so i need to autolaunch one of them. May i choose it from the very beginning ?
I have installed Centos in my server and when I take, top -c command its not showing the "command" option correctly. Due to the same, I'm not able to correctly track down the file which causes excessive usage. For eg:
I created a tarball with multiple files. The rpm generator requires those files to be inside a folder. I don't want to move the files before generating the tar. Is there a way to create this folder while generating the tar or after it?
I know there is lots of documentation out there for installing tar balls but I can't make it work I am trying to work with this file sauerbraten_2009_05_04_trooper_edition_linux.tar.bz2 in file:///home/Nemesis/Downloads/sauerbraten_2009_05_04_trooper_edition_linux.tar.bz2
I am running Fedora 12, the gnome desktop if the desktop matters. I have been running Fedora almost elusively for 2 years and off n on before that but in my many attempts at trying to Install a TARBALL I have always failed hard.
(1)I got ffmpeg-checkout tarball dated 5 june 2010 . It was bigger than ffmpeg-export of same date but I noticed the binary ffmpeg & ffplay generated after './configure' & 'make' are same size.
(2)I am using ubuntu 8.04 with GNOME. I am able to compile ffmpeg with following options
[Code]....
Do I have to get tarballs (of libx264 & libtheora) & compile them .
I'm new member in this forum. i have problem with my nautilus and may this sounding silly question. how to display option "compress" and "extract here" at right click file on nautilus ? i'm using ubuntu 11.04 and nautilus elementary 2.32.2 i was installed "file-roller" but option compress and extract here not display ?
I am not sure which thread this fits in, I am facing a strange problem. There is a code tarball that I cross-compile on a Fedora Core 9 machine and it builds fine. But when I do the same thing on a (heavily used) Fedora Core 7 machine, the build keeps failing in the gnuapp folders grep, coreutils etc. I have tried 'make distclean', and clearing the config.cache but no impact.
Note: I export the PATH variable (to the local cross-compiler) before starting the build. The cross compilation is for the MIPS processor and GNU makefiles are used.
I've gave my son (7yrs) my old Eee PC 4G and he changed by istake the user password and forgot the new password.How can I overwrite the password?The only password I have is the BIOS Supervisor password...What can I do?Easy fix is preferred because I've no clue re Linux.Even formating and reinstall would be an option. (all data are on SD)I could boot from USB or SD but don't know what program I need and were to get it from
Its been since October since I accessed my Arch OS, due to a career and phical move. Since that time I forgot my username and password (including root).My question is, is there a way to get around it without starting from scratch? Oh yeah, mbackup live CD is 700 miles away! lol I can only guess what the answer is going to be.
I am trying to use Ubuntu 10.04 update, but have forgotten the password. If I could get the GRUB prompt, I could use a method I picked up somewhere, but where is the GRUB prompt, which I understand is a bootloader? My installation is single installation on a single partition. I press ESC before the Splash Screen, but just get a square bracket and pressing ESC makes no difference, to the continued boot process, except perhaps make it a little slower. I can use the Desktop and the software I use works fine. There is also something about a 'ring' that requires a password, which I also don't know.
We use a linux (centOS I believe) cluster for our research. My professor somehow forgot the new password he set for root, and now can't login as 'su'. What is the way (or best way) to reset the root password without damaging something. I don't know whether it's even setup for 'sudo'. What will the procedure with and without 'sudo'?