Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-11-2014, 09:16 PM
|
#16
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Quote:
Originally Posted by moisespedro
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-
|
|
|
06-11-2014, 09:35 PM
|
#17
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,600
|
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.
|
|
|
06-11-2014, 09:54 PM
|
#18
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Quote:
Originally Posted by colorpurple21859
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
|
|
|
06-11-2014, 09:59 PM
|
#19
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,600
|
Quote:
root@cat:~# sh BibleDesktop.sh
|
As root are you at root's home or still in your user's home downloads?
|
|
|
06-11-2014, 10:09 PM
|
#20
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Quote:
Originally Posted by colorpurple21859
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.
|
|
|
06-11-2014, 10:14 PM
|
#21
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep:
|
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
|
|
|
06-11-2014, 10:18 PM
|
#22
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,600
|
That was my next thought after mulling it over for a few minutes lol.
|
|
|
06-11-2014, 10:30 PM
|
#23
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Quote:
Originally Posted by colorpurple21859
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$
|
|
|
06-11-2014, 10:41 PM
|
#24
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep:
|
Ok, you got over one step (file is executable and you already know how to run it). Now you need to install java.
|
|
|
06-11-2014, 10:50 PM
|
#25
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Quote:
Originally Posted by moisespedro
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.
|
|
|
06-11-2014, 11:19 PM
|
#26
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
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.
|
06-11-2014, 11:22 PM
|
#27
|
Member
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 952
|
Quote:
Originally Posted by Ztcoracat
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?
|
|
|
06-11-2014, 11:27 PM
|
#28
|
Member
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 952
|
Quote:
Originally Posted by ruario
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.
|
|
|
06-11-2014, 11:27 PM
|
#29
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
Quote:
Originally Posted by Ztcoracat
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.
|
|
|
06-11-2014, 11:31 PM
|
#30
|
LQ Veteran
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,362
|
Quote:
Originally Posted by ruario
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.
|
|
|
All times are GMT -5. The time now is 12:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|