LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2014, 05:22 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12 & Devuan
Posts: 9,514
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Trying to install program, file not found, Slackware 14.1


Hi:

I downloaded BibleDesktop which was a zip file and uncompressed it.
It shows in the terminal from the Downloads directory but when I try to install it the terminal returns file not found.


Code:
bash-4.2$ cd Downloads
bash-4.2$ ls
3D-Fasteroids.tar.gz		  bibledesktop-1.6
Learning Python, 5th Edition.pdf  bibledesktop-latest-bin.zip
MSI Manual.zip			  mozilla-firefox-29.0.1-x86_64-1ro.tgz
bash-4.2$ su -
Password: 

To a Californian, a person must prove himself criminally insane before he
is allowed to drive a taxi in New York.  For New York cabbies, honesty and
stopping at red lights are both optional.
	-- From "East vs. West: The War Between the Coasts

root@cat:~# installpkg bibledesktop-1.6
Cannot install bibledesktop-1.6:  file not found
root@cat:~# slackpkg install bibledesktop-1.6

Looking for bibledesktop-1.6 in package list. Please wait... DONE

No packages match the pattern for install. Try:

	/usr/sbin/slackpkg reinstall|upgrade
I tried by opening the terminal from where the file is.
The website said to uncompress and run BibleDesktop.sh.
http://www.crosswire.org/bibledesktop/download.html

Code:
bash-4.2$ ls
BibleDesktop.bat	    icon16.gif
BibleDesktop.exe	    icon32.gif
BibleDesktop.ico	    icon64.gif
BibleDesktop.sh		    javatar-2.5.jar
BibleDesktop128.gif	    jdom-1.0.jar
PortableBibleDesktop.exe    jlfgr-1_0.jar
bibledesktop-1.6.jar	    jsword-1.6.jar
bibledesktop.jnlp	    jsword-common-1.6.jar
commons-codec-1.3.jar	    jsword-common-aqua-1.0.6.jar
commons-httpclient-3.1.jar  jsword-common-swing-1.6.jar
commons-logging-1.1.1.jar   lcp.bat
commons-net-1.4.1.jar	    lucene-analyzers-2.3.2.jar
gpl.txt			    lucene-core-2.3.2.jar
icon132.gif		    lucene-snowball-2.3.2.jar
bash-4.2$ BibleDesktop.sh
bash: BibleDesktop.sh: command not found
bash-4.2$
I noticed that 2 of the files associated with this program have .exe extensions. Is that a mistake?

How can I install this program?
 
Old 06-11-2014, 05:50 PM   #2
cmiles
LQ Newbie
 
Registered: May 2012
Location: Napier - New Zealand
Distribution: Slackware 64 Current
Posts: 21

Rep: Reputation: Disabled
This program looks to run under Java
You can get the java development kit here -> http://www.slackware.com/~alien/slackbuilds/openjdk/
Once installed run java -jar bibledesktop-1.6.jar

Hope this helps
Craig Miles.
 
Old 06-11-2014, 05:59 PM   #3
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 942

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Like cmiles said, it's a java application. You can run directly from
the uncompressed directory. Launch a terminal, cd to the bible dir
and type this

Code:
$ JAVACMD=$(type -p java) sh BibleDesktop.sh
It seems that BibleDesktop.sh doesn't get the right path to java, so we must provide it

or on Dolphin you can navigate until that directory and press F4, it will open a terminal
on Dolphin, you can type that there too.

The .exe files are to Windows.

Last edited by Paulo2; 06-11-2014 at 06:04 PM. Reason: cut off my PS1, it was confusing the cli (and put inside code tags)
 
Old 06-11-2014, 05:59 PM   #4
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Rep: Reputation: 34
As the two above said...
 
Old 06-11-2014, 06:20 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12 & Devuan
Posts: 9,514

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Paulo2 View Post
Like cmiles said, it's a java application. You can run directly from
the uncompressed directory. Launch a terminal, cd to the bible dir
and type this

Code:
$ JAVACMD=$(type -p java) sh BibleDesktop.sh
It seems that BibleDesktop.sh doesn't get the right path to java, so we must provide it

or on Dolphin you can navigate until that directory and press F4, it will open a terminal
on Dolphin, you can type that there too.

The .exe files are to Windows.
Code:
bash-4.2$ ls
BibleDesktop.bat	    icon16.gif
BibleDesktop.exe	    icon32.gif
BibleDesktop.ico	    icon64.gif
BibleDesktop.sh		    javatar-2.5.jar
BibleDesktop128.gif	    jdom-1.0.jar
PortableBibleDesktop.exe    jlfgr-1_0.jar
bibledesktop-1.6.jar	    jsword-1.6.jar
bibledesktop.jnlp	    jsword-common-1.6.jar
commons-codec-1.3.jar	    jsword-common-aqua-1.0.6.jar
commons-httpclient-3.1.jar  jsword-common-swing-1.6.jar
commons-logging-1.1.1.jar   lcp.bat
commons-net-1.4.1.jar	    lucene-analyzers-2.3.2.jar
gpl.txt			    lucene-core-2.3.2.jar
icon132.gif		    lucene-snowball-2.3.2.jar
bash-4.2$ JAVACMD=$(type -p java) sh BibleDesktop.sh
Error: JAVA_HOME is not defined correctly.
  We cannot execute java
bash-4.2$
 
Old 06-11-2014, 06:35 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12 & Devuan
Posts: 9,514

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by cmiles View Post
This program looks to run under Java
You can get the java development kit here -> http://www.slackware.com/~alien/slackbuilds/openjdk/
Once installed run java -jar bibledesktop-1.6.jar

Hope this helps
Craig Miles.
I thought installpkg is the correct cmd for installing .txz and etc....

Code:
bash-4.2$ cd Downloads
bash-4.2$ ls
bibledesktop-1.6	     mozilla-firefox-29.0.1-x86_64-1ro.tgz
bibledesktop-latest-bin.zip  openjdk-7u55_b14-x86_64-1alien.txz
bash-4.2$ su -
Password: 

The Supreme Court does it with all deliberate speed.

root@cat:~# slackpkg install openjdk-7u55_b14-x86_64-1alien.txz

Looking for openjdk-7u55_b14-x86_64-1alien.txz in package list. Please wait... DONE

No packages match the pattern for install. Try:

	/usr/sbin/slackpkg reinstall|upgrade
Quote:
root@cat:~# installpkg openjdk-7u55_b14-x86_64-1alien.txz
Cannot install openjdk-7u55_b14-x86_64-1alien.txz: file not found

Last edited by Ztcoracat; 06-11-2014 at 06:42 PM.
 
Old 06-11-2014, 06:48 PM   #7
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 942

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
That is strange, on my system it did work
http://phfb.no-ip.org:2014/screen3.jpg
http://phfb.no-ip.org:2014/screen4.jpg

Which is the result of "type -p java"?
If you doesn't have java installed, then follow the link
that cmiles posted.
 
Old 06-11-2014, 06:54 PM   #8
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 942

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by Ztcoracat View Post
Code:
bash-4.2$ cd Downloads
bash-4.2$ ls
bibledesktop-1.6	     mozilla-firefox-29.0.1-x86_64-1ro.tgz
bibledesktop-latest-bin.zip  openjdk-7u55_b14-x86_64-1alien.txz
bash-4.2$ su -
Password: 

The Supreme Court does it with all deliberate speed.

root@cat:~# slackpkg install openjdk-7u55_b14-x86_64-1alien.txz

Looking for openjdk-7u55_b14-x86_64-1alien.txz in package list. Please wait... DONE

No packages match the pattern for install. Try:

	/usr/sbin/slackpkg reinstall|upgrade
I think that when you changed to root, you changed to root home.
Copy openjdk-7u55_b14-x86_64-1alien.txz to /tmp and
root@cat:~# slackpkg install /tmp/openjdk-7u55_b14-x86_64-1alien.txz
 
Old 06-11-2014, 07:23 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12 & Devuan
Posts: 9,514

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Paulo2 View Post
I think that when you changed to root, you changed to root home.
Copy openjdk-7u55_b14-x86_64-1alien.txz to /tmp and
root@cat:~# slackpkg install /tmp/openjdk-7u55_b14-x86_64-1alien.txz
I'm confused at this point because it was not successful in the /tmp directory either:-


Code:
You can't carve your way to success without cutting remarks.

root@redhatcat:~# slackpkg install/tmp/openjdk-7u55_b14-x86_64-1alien.txz

install/tmp/openjdk-7u55_b14-x86_64-1alien.txz: Unknown option.

slackpkg - version 2.81.1

Usage:
	slackpkg [OPTIONS] {install|remove|search|file-search|
			    upgrade|reinstall|blacklist} {PATTERN|FILE}
	slackpkg [OPTIONS] {generate-template|install-template|remove-template}
			   TEMPLATENAME
	slackpkg [OPTIONS] info PACKAGE
	slackpkg [OPTIONS] update [gpg]
	slackpkg [OPTIONS] {clean-system|upgrade-all|install-new}
	slackpkg [OPTIONS] {new-config|check-updates|help}

If you need more information try to use 'slackpkg help' or look the
slackpkg's manpage.
http://s1052.photobucket.com/user/Ul...a/JDK.png.html

Have to go to work soon-
 
Old 06-11-2014, 08:24 PM   #10
ymf331
Member
 
Registered: May 2014
Posts: 50

Rep: Reputation: Disabled
Gotta' put a space after install.
 
Old 06-11-2014, 08:31 PM   #11
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Errr, it seems nobody noticed he didn't run it correctly. To run a .sh file you run it with "./" to execute it:

./File.sh

Or you try it with:

sh File.sh
 
Old 06-11-2014, 08:47 PM   #12
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 942

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Like ymf331 said, you must pay attention to command syntax.

Usage:
slackpkg [OPTIONS] {install|remove|search|file-search|
upgrade|reinstall|blacklist} {PATTERN|FILE}

slackpkg<space>install<space>file


At the image you posted, you did the right thing, but the file name
it's openjdk, not openjkd.
You can use <tab> key to complete path and file names. If the java file
is the only one that begins with "open" you can do
$ installpkg /tmp/open<tab>
it will auto-complete the file name.
If you press <tab> and nothing appears, press again to show all files or
dirs with "open". If yet nothing appears is because there's nothing

Excuse me for English errors.
 
Old 06-11-2014, 08:52 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12 & Devuan
Posts: 9,514

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by moisespedro View Post
Errr, it seems nobody noticed he didn't run it correctly. To run a .sh file you run it with "./" to execute it:

./File.sh

Or you try it with:

sh File.sh
Code:
bash-4.2$ cd Downloads
bash-4.2$ ls
bibledesktop-1.6	     mozilla-firefox-29.0.1-x86_64-1ro.tgz
bibledesktop-latest-bin.zip  openjdk-7u55_b14-x86_64-1alien.txz
bash-4.2$ sh bibledesktop-1.6.sh
sh: bibledesktop-1.6.sh: No such file or directory
bash-4.2$
 
Old 06-11-2014, 08:58 PM   #14
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
You are trying to run it on a directory that has no .sh files.
ls output shows you:

bibledesktop-1.6 mozilla-firefox-29.0.1-x86_64-1ro.tgz
bibledesktop-latest-bin.zip openjdk-7u55_b14-x86_64-1alien.txz

And none of them are a .sh file. Enter the bibledesktop-1.6 directory (with the cd command - cd bibledesktop-1.6) and see if you can find a sh file there.
 
Old 06-11-2014, 09:09 PM   #15
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12 & Devuan
Posts: 9,514

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Paulo2 View Post
Like ymf331 said, you must pay attention to command syntax.

Usage:
slackpkg [OPTIONS] {install|remove|search|file-search|
upgrade|reinstall|blacklist} {PATTERN|FILE}

slackpkg<space>install<space>file


At the image you posted, you did the right thing, but the file name
it's openjdk, not openjkd.
You can use <tab> key to complete path and file names. If the java file
is the only one that begins with "open" you can do
$ installpkg /tmp/open<tab>
it will auto-complete the file name.
If you press <tab> and nothing appears, press again to show all files or
dirs with "open". If yet nothing appears is because there's nothing

Excuse me for English errors.
I tried a second time (#slackpkg install /tmp/open.....) and the terminal went nuts!
http://s1052.photobucket.com/user/Ul...minal.png.html


I than tried a second time and the terminal just hung-
Code:
root@redhatcat:~# slackpkg install /tmp/openjdk-7u55_b14-x86_64-1alien.txz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File pk11func.h not found while compiling eCryptfs on Slackware 13.1 emirhg Linux - Newbie 1 04-26-2011 05:23 PM
linker script file not found while using codesourcery g++ lite to program a developme raphtor Linux - Software 0 10-21-2009 04:04 AM
[SOLVED] Slackware 12.2 Default Install eth0 not found sycarion Linux - Networking 8 10-09-2009 03:55 AM
can't install a program -- the 'configure' command is not found jaffa_kree Linux - Newbie 3 09-07-2006 10:39 PM
how do i install new drivers i found on slackware 8.0 Wicky Linux - Newbie 2 10-15-2002 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration