LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09:16 PM   #16
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178

Quote:
Originally Posted by moisespedro View Post
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.
Nope no sh file there-
 
Old 06-11-2014, 09:35 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,600

Rep: Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644
Where was these files located?

Quote:
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$
cd to there then run either ./BibleDesktop.sh or sh BibleDesktop.sh

Last edited by colorpurple21859; 06-11-2014 at 09:53 PM.
 
Old 06-11-2014, 09:54 PM   #18
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by colorpurple21859 View Post
Where was these files located.


cd to there then run either ./BibleDesktop.sh or sh BibleDesktop.sh
That file is in my Downloads directory next to the bibledesktop-latest-bin.zip that I extracted it from.

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: Permission denied
bash-4.2$ su -
Password: 

	After his Ignoble Disgrace, Satan was being expelled from
Heaven.  As he passed through the Gates, he paused a moment in thought,
and turned to God and said, "A new creature called Man, I hear, is soon
to be created."
	"This is true," He replied.
	"He will need laws," said the Demon slyly.
	"What!  You, his appointed Enemy for all Time!  You ask for the
right to make his laws?"
	"Oh, no!"  Satan replied, "I ask only that he be allowed to
make his own."
	It was so granted.
		-- Ambrose Bierce, "The Devil's Dictionary"

root@cat:~# ./BibleDesktop.sh 
-su: ./BibleDesktop.sh: No such file or directory
root@cat:~# sh BibleDesktop.sh
 
Old 06-11-2014, 09:59 PM   #19
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,600

Rep: Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644
Quote:
root@cat:~# sh BibleDesktop.sh
As root are you at root's home or still in your user's home downloads?
 
Old 06-11-2014, 10:09 PM   #20
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by colorpurple21859 View Post
As root are you at root's home or still in your user's home downloads?
I'm still in user's home downloads directory.
 
Old 06-11-2014, 10:14 PM   #21
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
By default files are not executable. Go back to the directory (you can do it as user) and then make it executable with:

chmod +x BibleDesktop.sh

And then run it again
 
Old 06-11-2014, 10:18 PM   #22
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,600

Rep: Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644Reputation: 1644
Quote:
chmod +x BibleDesktop.sh
That was my next thought after mulling it over for a few minutes lol.
 
Old 06-11-2014, 10:30 PM   #23
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by colorpurple21859 View Post
That was my next thought after mulling it over for a few minutes lol.
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$ chmod +x BibleDesktop.sh 
bash-4.2$ ./BibleDesktop.sh
Error: JAVA_HOME is not defined correctly.
  We cannot execute java
bash-4.2$
 
Old 06-11-2014, 10:41 PM   #24
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Ok, you got over one step (file is executable and you already know how to run it). Now you need to install java.
 
Old 06-11-2014, 10:50 PM   #25
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by moisespedro View Post
Ok, you got over one step (file is executable and you already know how to run it). Now you need to install java.
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: 

There is no grief which time does not lessen and soften.

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

Another instance of slackpkg is running. If this is not correct, you can
remove /var/lock/slackpkg.* files and run slackpkg again.
 
Old 06-11-2014, 11:19 PM   #26
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Just for the record, stop trying to use slackpkg and to install local files, with a local path. That will not work. slackpkg installs packages from the Slackware repository.

Also installpkg will install local packages but only Slackware packages. AlienBOB's Java package will be fine but not any random tar you happen to come across. Remember that while Slackware packages are compressed tar archives, not every compressed tar archive is a Slackware package.

Code:
installpkg /home/zebracat/Downloads/openjdk-7u55_b14-x86_64-1alien.txz
 
2 members found this post helpful.
Old 06-11-2014, 11:22 PM   #27
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 952

Rep: Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537
Quote:
Originally Posted by Ztcoracat View Post
I tried a second time (#slackpkg install /tmp/open.....) and the terminal went nuts!
Yes, did happen here too. I uninstalled java and installed again
with slackpkg install, and got the same problem.

I always use installpkg and removepkg with no problems,
so installed "installpkg openjre...",

Try using installpkg instead of slackpkg.

After installing java, you can try that
$ JAVACMD=$(type -p java) sh BibleDesktop.sh
because BibleDesktop.sh doesn't find java path.


A little off-topic, bibledesktop-1.6 dir size is 3.7MB.
When I launch Bible Desktop, it says that I have no Bibles
installed and asks to download from internet. Is this right?
 
Old 06-11-2014, 11:27 PM   #28
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 952

Rep: Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537
Quote:
Originally Posted by ruario View Post
Just for the record, stop trying to use slackpkg and to install local files, with a local path. That will not work. slackpkg installs packages from the Slackware repository.
Thanks for the info, I never used slackpkg before to install local packages,
always installpkg and removepkg, just used to update Slackware itself.
But I didn't know that info about slackpkg.
 
Old 06-11-2014, 11:27 PM   #29
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by Ztcoracat View Post
Code:
bash-4.2$ su -
Password: 

	After his Ignoble Disgrace, Satan was being expelled from
Heaven.  As he passed through the Gates, he paused a moment in thought,
and turned to God and said, "A new creature called Man, I hear, is soon
to be created."
	"This is true," He replied.
	"He will need laws," said the Demon slyly.
	"What!  You, his appointed Enemy for all Time!  You ask for the
right to make his laws?"
	"Oh, no!"  Satan replied, "I ask only that he be allowed to
make his own."
	It was so granted.
		-- Ambrose Bierce, "The Devil's Dictionary"
Wow, fortune seems to understand context. Something I had long suspected.
 
Old 06-11-2014, 11:31 PM   #30
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,362

Rep: Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617Reputation: 7617
Quote:
Originally Posted by ruario View Post
Just for the record, stop trying to use slackpkg and to install local files, with a local path. That will not work. slackpkg installs packages from the Slackware repository.

Also installpkg will install local packages but only Slackware packages. AlienBOB's Java package will be fine but not any random tar you happen to come across. Remember that while Slackware packages are compressed tar archives, not every compressed tar archive is a Slackware package.

Code:
installpkg /home/zebracat/Downloads/openjdk-7u55_b14-x86_64-1alien.txz
Bingo!
I was reading through this thread and was wondering why this wasn't brought up earlier.

This is also very useful,

Quote:
upgradepkg --reinstall --install-new /path-to-package/package-name

Last edited by cwizardone; 06-11-2014 at 11:33 PM.
 
  


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 12:14 PM.

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