I'm having aprob;em wth a mkdir command in the terminal
I seem to be having a real problem with the following command
mkdir ~/.gnome2/rhythmbox/plugins/ I get the following from the terminal mark@mark-desktop:~$ mkdir ~/.gnome2/rhythmbox/plugins/ mkdir: cannot create directory `/home/mark/.gnome2/rhythmbox/plugins/': No such file or directory mark@mark-desktop:~$ I need this to install a couple of plugins into rythmbox Any help would be appreciated I'm using Ubuntu 9 and it has Gnome 2.26 installed |
Quote:
try using mkdir -p mine worked : mkdir -p ~/.testdir/testdir2/testdir3 |
Does the directory ~/.gnome2/rhythmbox definitely exist? If not, you'd have to create this before creating a directory within it.
|
can you explain Robhogg? i'have Rythmbox installed but I thought the command was creating ~/.gnome2/rhythmboxif not what coomands do need tobe able to run the commands listed in my post? Windows=brainrot!!
|
Quote:
By default mkdir can only create one level. That means that to create a directory called "~/.gnome2/rhythmbox/plugins/" first you need to make sure that "~/.gnome2/rhythmbox/" exist. And to create that one, you first need to make sure that "~/.gnome2/" exists. So, you either do this: Code:
mkdir "~/.gnome2/" # this one probably exists already Code:
mkdir -p "~/.gnome2/rhythmbox/plugins/" |
so how do I check to see if the directory ~/.gnome2/rhythmbox exists? And if not what commands should I use to take care of this? And If I have Rythmbox installed and working won't that directory already exist?
See what 10yrs of Windows can do?? BRAINROT |
checking out that last post that i recieved
|
Quote:
Code:
ls -d ~/.gnome2/rhythmbox/ Quote:
When you first start a program the needed config files are usually created. But sometimes there's nothing to be saved unless you actually modify the default config. I have no idea how rythmbox works, so I can't speak about that. |
thanks!
Thanks now on to the next question can you decompress a file into the directory ?
The direction looks like this: 1. Download * audiodynamic-0.2.tar.gz The latest version. Includes some fixes made by Denis Malinovsky. * audiodynamic-0.1.tar.gz 2. Create local plugin directory: mkdir ~/.gnome2/rhythmbox/plugins/ 3. Decompress archive: tar -xzvf audiodynamic.tar.gz -C ~/.gnome2/rhythmbox/plugins/ 4. Restart Rhythmbox I already have the audiodynamics down loaded on to my desktop but not yet decompressed |
That should be it. However it all depends on what's inside the package. You can use -t instead of -x to simulate the extraction without actually extracting anything. ;)
Code:
tar -tzvf audiodynamic.tar.gz |
I'm still not real clear....I need to open that directory ("~/.gnome2/rhythmbox/plugins/") right? and the use the command above? If so what command opens said directory?
|
In command line, you use "cd" to change the current directory. However, if you use this command you said above:
Code:
tar -xzvf audiodynamic.tar.gz -C ~/.gnome2/rhythmbox/plugins/ On a graphical browser you can just natigate into that directory. However, since ~/.gnome2 has a leading dot on its name, it will be hidden by default. Your graphical browser should have an option to show hidden files somewhere. |
Tried It...Got this
tar: audiodynamic.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors |
Quote:
Code:
tar -xzvf ~/Desktop/audiodynamic.tar.gz -C ~/.gnome2/rhythmbox/plugins/ Code:
cd ~/Desktop |
Got this:
mark@mark-desktop:~$ cd ~/Desktop mark@mark-desktop:~/Desktop$ tar -xzvf audiodynamic.tar.gz -C ~/.gnome2/rhythmbox/plugins/ tar: audiodynamic.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors mark@mark-desktop:~/Desktop$ but the name is a litlle different .. there is a -0.2.tar.gz...I'll see if that helps..... Nope..Got this mark@mark-desktop:~$ tar -xzvf audiodynamic-0.2.tar.gz -C ~/.gnome2/rhythmbox/plugins/ tar: audiodynamic-0.2.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors |
All times are GMT -5. The time now is 04:01 AM. |