Asus K55A (Core i5-3210M @ 2.5GHz/8GB RAM/120GB SSD/Intel HD 4000) with Ubuntu 12.10 Beta 2
Compaq Presario C700 (Pentium Dual-Core @ 1.6GHz/2.5GB RAM/500GB HDD/Intel GM965) with Arch Linux and Linux Mint Debian Edition
This command lists the contents of the directory you are in. That is to say, when you start the terminal, the system has you in a particular place in your file system.Code:ls
This is what I get when I just open a terminal and do "ls"
That is the contents of my /home/mick folder, i.e. the /home/user folder for the user that I am logged in as.Code:mick@mick-laptop:~$ ls Allen & Heath Bilder Bildschirmfoto-Profile of audiomick - Mozilla Firefox.png Desktop Dokumente Downloads examples.desktop fromFlashPen03Feb2012 gsmartcontrolresults_26Sep2010.txt hardrive utility.png image image.tiff img_0266edited.jpg Musik Öffentlich operanewbuttons.png out.jpeg out.pdf out.pnm qcad-manual-en-184.108.40.206-1.html qcad-manual-en-220.127.116.11-1.html.zip recovery mode rotateouf.png SMART_values.png SoftwareandStuff system monitor.png Ubuntu One UkrainePics Videos Vorlagen mick@mick-laptop:~$
Shows you where you are at. This thing ~ indicates the /home/user folder. The $ indicates that you are logged in as a non-root user. I think you get a # in it's place if your are operating with root privileges. The rest is "mick" for the user and "@mick-laptop" to show which computer I am dealing with. Seems silly until your remember that you can do things like logging into another computer using SSH, in which case I would see "mick@another-computer-altogether"Code:mick@mick-laptop:~$
To change where you are at, you use
so, referring back to the list of stuff in my /home/user folder, I doCode:cd
and discover I have stumbled across something that you have to be aware of. In the terminal, you have to make sure that you get the names absolutely correct, and it can't deal with file names that have spaces and other special characters like the & in that directory name. That has a meaning as a command. That means that it is a good practice to not use such things in your file names. I changed that folder name to "Allen_and_Heath", so now we can continue.Code:cd Allen & Heath
Note that I have edited a lot of the contents of /home/mick out of that output to make it shorter. The missing bit is where the ... is. What you can see after the word "vorlagen" is that I used cd to change into the directory Allen_and_Heath,Code:mick@mick-laptop:~$ ls Allen_and_Heath Bilder Bildschirmfoto-Profile of audiomick - Mozilla Firefox.png Desktop Dokumente Downloads ... Videos Vorlagen mick@mick-laptop:~$ cd Allen_and_Heath mick@mick-laptop:~/Allen_and_Heath$ ls iLive_Editor_V1point83 mick@mick-laptop:~/Allen_and_Heath$ cd iLive_Editor_V1point83 mick@mick-laptop:~/Allen_and_Heath/iLive_Editor_V1point83$ ls EULA.txt iLiveINIFile.xml SessionLock iLive Editor 1.83.jar lib shows iLiveEditor1.83.sh libraries uninstall iLiveEditorV1.83LocalEventLog.xml Readme.txt mick@mick-laptop:~/Allen_and_Heath/iLive_Editor_V1point83$ cd .. mick@mick-laptop:~/Allen_and_Heath$ ls iLive_Editor_V1point83 mick@mick-laptop:~/Allen_and_Heath$ cd .. mick@mick-laptop:~$ ls Allen_and_Heath Bilder Bildschirmfoto-Profile of audiomick - Mozilla Firefox.png Desktop Dokumente Downloads ... Videos Vorlagen mick@mick-laptop:~$
ls to see what is in there, and then cd again to change into
and then ls again to see what is in there. At that point, the prompt is
You can see how the directories line up in the prompt to show you where you are. ~ for the /home/user directory, inside that the directoryCode:mick@mick-laptop:~/Allen_and_Heath/iLive_Editor_V1point83$
and inside that the directory
with a / between each sucessive directory and the $ on the end to show which user you are logged in as.
The next thing was to use
to go up a level. You can see how I did that a couple of times to get back to the /home/user directory, at which point the prompt is once againCode:cd ..
Hope that is clear enough.
Last edited by audiomick; October 10th, 2012 at 12:56 AM.
I am pretty confused now lol....
Here is the output of the terminal putting in the things people have suggested.
jacky@jacky-Aspire-6930G:~$ mkdir -p ~/Documents/BibleAnalyzer
bibleanalyzer: command not found
jacky@jacky-Aspire-6930G:~$ sudo apt-get install -f
[sudo] password for jacky:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
language-pack-kde-en language-pack-kde-en-base kde-l10n-engb
calligra-l10n-engb libkdepim4 calligra-l10n-zhcn calligra-l10n-de
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner _binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
jacky@jacky-Aspire-6930G:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Adobe Digital Editions.desktop output
Calibre Library Practice.zip
Downloads Sample Album
ESNIPS WINE DOWNLOADS StrongsGreek.zip
ESP FILES StrongsHebrew.zip
gVerse-0.5.tar.gz TEXT FILES AND GEDIT
libre and open office installations TSK.zip
Link to bibleanalyzer.2 Ubuntu One
MAGAZINE TEMPLATE UKJV.zip
mods.d Untitled Folder
modules Untitled Folder 3
My Digital Editions Videos
My eSnips Downloads WEBBE.zip
NETtext (3) WEBME.zip
But if I go to the home folder and open it, Bibleanalyzer IS there and it the very first file.
Still deciding what to say.....
This might get a bit long, but bear with it...
Firstly, when you post a lot of output like in the last post, it is very helpful to use the code tags button. That is the # button at the top of the post window. Click on that and you will see the word "code" enclosed in square brackets, followed by /code also enclosed in square brackets. Paste your output between those and it will appear in a nice box. Most importantly, it will appear exactly as it is without any characters being interpreted as a smiley or something silly like that as happens sometimes.
If you are posting a quote, you can use the button that looks like a speech balloon.
So, on to your post...
Firstly, near the top of your output, I see this
There are two things there. Firstly, if you just put a word at the prompt, it is assumed to be a command. What I think you wanted at that point is to change into the directory that you had just created with mkdir (the command that means "make directory). To do this, you would have had to doCode:jacky@jacky-Aspire-6930G:~$ bibleanalyzer bibleanalyzer: command not found
Note also the capitals. The terminal is case sensitive. When I am doing things like this, I like to use ls to see what the name of the file or directory in question is exactly and often to actually copy and paste the name of the file into the command.Code:cd BibleAnalyzer
A little further down there is this
What has happened there is that you tried to use apt-get autoremove as the normal user. You need to put a "sudo" in front of that so that it is executed with root privileges. This applies to all apt-get operations. You would need to doCode:jacky@jacky-Aspire-6930G:~$ apt-get autoremove E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
It will then do thisCode:sudo apt-get autoremove
at which point you type in your password. You wont see what you type. Just type the password and hit enter and it will do it's thing.Code:mick@mick-laptop:~$ sudo apt-get autoremove [sudo] password for mick:
There is also this in there
So accordingly you would doCode:W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner _binary-i386_Packages) W: You may want to run apt-get update to correct these problems
Then there isCode:sudo apt-get update
where you have used ls to generate a list of the contents of the /home/user folder, but I think you know that by now.Code:jacky@jacky-Aspire-6930G:~$ ls Adobe Digital Editions.desktop output adobe-release-i386-1.0-1.noarch.rpm Personal bibleanalyzer.2 Photos bibles Pictures Calibre Library Practice.zip calligra Public ...
I hope that is clear enough.
In your screenshot, I can see a .deb file for BibleAnalyzer. This is, I take it, the file you used to install the program. If I recall correctly, you said in the first post or so that you had right clicked on it and used the Software centre to install it, or that the Software centre said it was already installed.
That brings us back to the issue that you mentioned right at the start that you see an icon that looks like it would start the program but it doesn't. I don't really know what is causing that, but I think you mentioned problems with Open Office along similar lines. Maybe there is an issue that is not directly related to the program itself.
Did you mention which version of Ubuntu you are using? And where exactly is the icon that you can see but doesn't work as you expect?
Also, how did you install the other program that is behaving in an apparently similar manner? Was it from the software centre, installed by default, or installed from a .deb package in the same way that you installed BibleAnalyzer?
Thank you everyone. I have tried everything and beyond the fact that I have the files, yet again, nothing is working which means either my brain is not working or somewhere I missed a vital step, or that there is something wrong with my system.
If I go to my home folder the folder is there. I click on Home and it is the first file I see, given they arrange themselves in alphabetical order.
When I click on properties I get the file name as bibleanalyzer, the type as folder (inode directory)
Create and delete files is checked and I have permission for executing file checked.
I downloaded as per instructions from here
I also downloaded the BAmod script, and than is in the bibleanalyzer file.
Following the instructions for the BAmodscript I get
I have tried everything I can and every suggestion above. but just cannot get it to work.Code:code that will not copy and paste here but says there are no such files
and if I click ls I get
so it IS there.,.....Code:jacky@jacky-Aspire-6930G:~$ ls Adobe Digital Editions.desktop output adobe-release-i386-1.0-1.noarch.rpm Personal bibleanalyzer Photos bibles Pictures Calibre Library Practice.zip calligra Public C:\nppdf32Log\debuglog.txt QuotingPassages.zip DayJournal RKJNT.zip DEBIAN RWP.zip Desktop sakis3g.gz Documents Sample Album Downloads SAOA.zip Dropbox Smith.zip eSnipsDownloader.exe StrongsGreek.zip ESNIPS WINE DOWNLOADS StrongsHebrew.zip ESP FILES TCR.zip examples.desktop TDavid.zip FIREDANCE Templates gVerse-0.5 TEXT FILES AND GEDIT gVerse-0.5.tar.gz TFG.zip Java Torrey(1).zip jsword-latest-bin.tar.gz Torrey.zip kde4 TSK.zip libre and open office installations Ubuntu One MAGAZINE TEMPLATE UKJV.zip mods.d Untitled Folder modules Untitled Folder 3 Music usr My Digital Editions Videos My eSnips Downloads WEBBE.zip NETtext (3) WEBME.zip NETtext.zip WebstersDict.zip NHEB.zip xdg jacky@jacky-Aspire-6930G:~$
Oh dear is that something that I need to try and fix before anything else and could it be why I am having so much trouble?
Could it also be I need to download some extra python script? I am not really sure what I would have in Ubuntu but thought it probably included what I need. I cannot really see what I would get from the software manager if I do need it so if I do please can someone tell me what I am looking for?
I just looked for the bibleanalyzer program using 'Synapse' and it does not appear.
Could the terminal conflict with the program?
I did notice there are other places on the internet where people are suggesting there have been issues with this program.
(one reason I do want it is because it was useful to me when I was using windows.) This does make it look like it might install under wine but I think I would need help to do that. I do have Wine but have not really figured out how to make things work with it.
Last edited by Jackalyn; October 11th, 2012 at 11:55 AM.
Still deciding what to say.....
It installed perfectly under Wine! First time no problems..........
Ah well I learned a lot on the way for using Linux.
Thank you to everyone who helped me here. Hopefully some other newbie sometime will read this and go to the Wine option first. I don't know why they give a linux version if it does not work.
Last edited by Jackalyn; October 11th, 2012 at 01:06 PM.
Still deciding what to say.....