djl 游戏管理器安装问题

djl 游戏管理器安装问题

我正在尝试从以下位置获取 djl(游戏管理器):http://en.djl-linux.org/?q=node/19

获得软件包后,我按照以下说明进行安装:http://www.unixmen.com/install-more-then-100-games-in-one-command/

我使用了命令tar -zxvf djl-1.2.14.tar.gz。输出结果如下:

dell@dell-Inspiron-1420:~$ tar -zxvf  djl-1.2.14.tar.gz
tar (child): djl-1.2.20.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

然后我使用了这个命令:

tar -zxvf ~/Downloads/djl-1.2.20.tar.gz

但我明白这一点:

dell@dell-Inspiron-1420:~$ tar -zxvf ~/Downloads/djl-1.2.20.tar.gz
djl/
djl/djl.sh
djl/djl/
djl/djl/Journal.txt
djl/djl/.eric4project/
djl/djl/.eric4project/project-apis.db
djl/djl/res/
djl/djl/res/b_oxygen.png
djl/djl/res/transp.png
djl/djl/res/quitter.png
djl/djl/res/modules_oxygen.png
djl/djl/res/winehq.png
djl/djl/res/configuration.png
djl/djl/res/txt_oxygen.png
djl/djl/res/irc_crystal.png
djl/djl/res/importer.png
djl/djl/res/echange_ui_oxygen.png
djl/djl/res/redemarre_oxygen.png
djl/djl/res/msg_oxygen.png
djl/djl/res/ajouter.png
djl/djl/res/maj_oxygen.png
djl/djl/res/configure_oxygen.png
djl/djl/res/a_propos.png
djl/djl/res/jeux_oxygen.png
djl/djl/res/actus.png
djl/djl/res/supprimer_oxygen.png
djl/djl/res/arg_oxygen.png
djl/djl/res/telech1.png
djl/djl/res/drapeaux/
djl/djl/res/drapeaux/italy.png
djl/djl/res/drapeaux/sweden.png
djl/djl/res/drapeaux/poland.png
djl/djl/res/drapeaux/espagne.png
djl/djl/res/drapeaux/france.png
djl/djl/res/drapeaux/galicia.png
djl/djl/res/drapeaux/portugal.png
djl/djl/res/drapeaux/hu.png
djl/djl/res/drapeaux/de.png
djl/djl/res/drapeaux/ru.png
djl/djl/res/drapeaux/en.png
djl/djl/res/information.png
djl/djl/res/retirer.png
djl/djl/res/maj.png
djl/djl/res/locale_oxygen.png
djl/djl/res/recherche_oxygen.png
djl/djl/res/irc_crystal_mp.png
djl/djl/gdep.py
djl/djl/djl_main.py
djl/djl/irc.py
djl/djl/variables.py
djl/djl/config.py
djl/djl/diff.py
djl/djl/libs/
djl/djl/libs/SOAPpy/
djl/djl/libs/SOAPpy/SOAPBuilder.py
djl/djl/libs/SOAPpy/wstools/
djl/djl/libs/SOAPpy/wstools/WSDLTools.py
djl/djl/libs/SOAPpy/wstools/c14n.py
djl/djl/libs/SOAPpy/wstools/test/
djl/djl/libs/SOAPpy/wstools/test/test_wstools.py
djl/djl/libs/SOAPpy/wstools/test/test_wsdl.py
djl/djl/libs/SOAPpy/wstools/test/__init__.py
djl/djl/libs/SOAPpy/wstools/test/test_t1.py
djl/djl/libs/SOAPpy/wstools/test/test_wstools_net.py
djl/djl/libs/SOAPpy/wstools/__init__.py
djl/djl/libs/SOAPpy/wstools/XMLSchema.py
djl/djl/libs/SOAPpy/wstools/XMLname.py
djl/djl/libs/SOAPpy/wstools/Utility.py
djl/djl/libs/SOAPpy/wstools/TimeoutSocket.py
djl/djl/libs/SOAPpy/wstools/Namespaces.py
djl/djl/libs/SOAPpy/wstools/logging.py
djl/djl/libs/SOAPpy/wstools/UserTuple.py
djl/djl/libs/SOAPpy/Server.py
djl/djl/libs/SOAPpy/ChangeLog
djl/djl/libs/SOAPpy/LICENSE
djl/djl/libs/SOAPpy/Client.py
djl/djl/libs/SOAPpy/version.py
djl/djl/libs/SOAPpy/__init__.py
djl/djl/libs/SOAPpy/fpconst/
djl/djl/libs/SOAPpy/fpconst/__init__.py
djl/djl/libs/SOAPpy/Parser.py
djl/djl/libs/SOAPpy/Types.py
djl/djl/libs/SOAPpy/SOAP.py
djl/djl/libs/SOAPpy/URLopener.py
djl/djl/libs/SOAPpy/Utilities.py
djl/djl/libs/SOAPpy/NS.py
djl/djl/libs/SOAPpy/README
djl/djl/libs/SOAPpy/WSDL.py
djl/djl/libs/SOAPpy/Config.py
djl/djl/libs/SOAPpy/GSIServer.py
djl/djl/libs/SOAPpy/Errors.py
djl/djl/libs/feedparser/
djl/djl/libs/feedparser/__init__.py
djl/djl/libs/irclib/
djl/djl/libs/irclib/__init__.py
djl/djl/libs/Fopen.py
djl/djl/libs/test_ws.py
djl/djl/rss.py
djl/djl/djl.py
djl/djl/configuration.py
djl/djl/installe.py
djl/djl/depot.py
djl/djl/image.png
djl/djl/ajout_jeu.py
djl/djl/interface.py
djl/djl/navigateur.py
djl/djl/icone.png
djl/djl/i18n/
djl/djl/i18n/sv_SE/
djl/djl/i18n/sv_SE/LC_MESSAGES/
djl/djl/i18n/sv_SE/LC_MESSAGES/messages.mo
djl/djl/i18n/sv_SE/LC_MESSAGES/djl.po
djl/djl/i18n/ru_RU/
djl/djl/i18n/ru_RU/LC_MESSAGES/
djl/djl/i18n/ru_RU/LC_MESSAGES/messages.mo
djl/djl/i18n/ru_RU/LC_MESSAGES/djl.po
djl/djl/i18n/pl_PL/
djl/djl/i18n/pl_PL/LC_MESSAGES/
djl/djl/i18n/pl_PL/LC_MESSAGES/messages.mo
djl/djl/i18n/pl_PL/LC_MESSAGES/djl.po
djl/djl/i18n/de_DE/
djl/djl/i18n/de_DE/LC_MESSAGES/
djl/djl/i18n/de_DE/LC_MESSAGES/messages.mo
djl/djl/i18n/de_DE/LC_MESSAGES/djl.po
djl/djl/i18n/pt_PT/
djl/djl/i18n/pt_PT/LC_MESSAGES/
djl/djl/i18n/pt_PT/LC_MESSAGES/messages.mo
djl/djl/i18n/pt_PT/LC_MESSAGES/djl.po
djl/djl/i18n/it_IT/
djl/djl/i18n/it_IT/LC_MESSAGES/
djl/djl/i18n/it_IT/LC_MESSAGES/messages.mo
djl/djl/i18n/it_IT/LC_MESSAGES/djl.po
djl/djl/i18n/es_ES/
djl/djl/i18n/es_ES/LC_MESSAGES/
djl/djl/i18n/es_ES/LC_MESSAGES/messages.mo
djl/djl/i18n/es_ES/LC_MESSAGES/djl.po
djl/djl/i18n/gl_ES/
djl/djl/i18n/gl_ES/LC_MESSAGES/
djl/djl/i18n/gl_ES/LC_MESSAGES/messages.mo
djl/djl/i18n/gl_ES/LC_MESSAGES/djl.po
djl/djl/i18n/fr_FR/
djl/djl/i18n/fr_FR/LC_MESSAGES/
djl/djl/i18n/fr_FR/LC_MESSAGES/messages.mo
djl/djl/i18n/fr_FR/LC_MESSAGES/djl.po
djl/djl/i18n/en_US/
djl/djl/i18n/en_US/LC_MESSAGES/
djl/djl/i18n/en_US/LC_MESSAGES/messages.mo
djl/djl/i18n/en_US/LC_MESSAGES/djl.po
djl/djl/i18n/hu_HU/
djl/djl/i18n/hu_HU/LC_MESSAGES/
djl/djl/i18n/hu_HU/LC_MESSAGES/messages.mo
djl/djl/i18n/hu_HU/LC_MESSAGES/djl.po
djl/djl/i18n.py
djl/djl/palette_irc.py
djl/djl/import_raccourcis.py
djl/djl/modules.py
djl/djl/Journal_en.txt
djl/webservice-src/
djl/webservice-src/djl.php
djl/webservice-src/djl.sql
djl/webservice-src/COPYING
djl/README
djl/LISEZMOI
djl/COPYING
djl/LIESMICH
dell@dell-Inspiron-1420:~$ 

是否安装了?当我在 dash 中搜索“djl”时,它没有显示。

的输出ls ~/Downloads | grep djl是:

dell@dell-Inspiron-1420:~$ ls ~/Downloads | grep djl
djl-1.2.20.tar.gz
dell@dell-Inspiron-1420:~$

但如果我使用:

tar -xvf djl-1.2.20.tar.gz

输出为:

dell@dell-Inspiron-1420:~$ tar -xvf djl-1.2.20.tar.gz
tar: djl-1.2.20.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
dell@dell-Inspiron-1420:~$ 

又一个错误!

因此我安装了 gdebi(一个安装应用程序)并从以下位置下载了 djl.deb这里

右键点击 djl.deb 并选择“使用 gdebi 打开”。这是我在 gdebi 终端中得到的结果:

dpkg: error processing archive /home/dell/Downloads/djl.deb (--install):
 parsing file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'djl':
 error in 'Version' field string '1.2.19_Ubuntu_jaunty': invalid character in version number
Errors were encountered while processing:
 /home/dell/Downloads/djl.deb

使用该cd命令,输出为:

dell@dell-Inspiron-1420:~$ cd /home/downloads
bash: cd: /home/downloads: No such file or directory
dell@dell-Inspiron-1420:~$ 

我是不是打错了什么或者怎么了?

似乎我的目录有问题。请帮忙!感谢所有帮助我的人!

答案1

djl.deb存在依赖性问题:

在此处输入图片描述

我建议你使用tar.gz源代码。但你的期望是错误的:tar -xzf它不安装存档,只是将其解压到当前目录。要启动 Djl,你必须启动djl.sh

cd Downloads
tar -xzf djl-1.2.20.tar.gz
djl/djl.sh

在此处输入图片描述

要完成 Djl 安装,您应该将其移动到/opt并建立符号链接到djl.sh

sudo mv djl /opt
sudo ln -s /opt/djl/djl.sh /usr/local/bin/djl

之后,您只需djl在终端中输入即可运行 Djl。

如果您的目标是使其在 Dash 中可见,那么您必须.desktop为其创建文件(希望您知道如何做;如果不知道,只需使用其中一个.desktop文件/usr/share/applications作为基础)并放入~/.local/share/applications

[Desktop Entry]
Name=Djl
Exec=djl
Type=Application
StartupNotify=true
Path=/opt/djl
Icon=/opt/djl/icone.png
GenericName[en_US]=Game manager 

答案2

默认情况下,下载的文件将存储在~/Downloads目录中。因此,运行以下命令将 .gz 文件提取到同一目录中。

tar -zxvf ~/Downloads/djl-1.2.20.tar.gz

然后您可以通过 nautilus 访问 Downloads 目录上的解压内容。

答案3

您可以通过从以下网址下载 .deb 文件轻松安装 DJL发射台

然后转到下载的文件目录(例如/Downloads)

cd [FILE DIRECTORY HERE]

然后通过以下方式安装:

sudo dpkg -i [.DEB FILE NAME HERE]

相关内容