I am getting errors when I am trying to install the samsung linux drivers in my Fedora 23 installation. I uncompressed the file uld_v1.00.36_00.91.tar.gz and tried to run the install.sh file to install printing/scanning utilities.
$sudo sh install.sh
./noarch/scripting_utils: line 144: cd: ./noarch/..: Not a directory
INTERNAL ERROR: ABORT: ''DIST_DIR' is undefined', execution aborted
call stack:
[1]=./noarch/bash_debugging:34:_abort_execution
[2]=./noarch/package_utils:81:nls_init
[3]=./noarch/package_utils:248:environment_init
[4]=install.sh:11:main
Has anyone else confronted this? Are they not compatible with Fedora OS?
PS) I downloaded the driver from here http://www.samsung.com/uk/support/model/SL-C460FW/SEE
答案 0 :(得分:2)
我现在在Fedora 23上安装得很好(只是为了测试,我没有兼容的机器)。
从文件uld_v1.00.36_00.91.tar.gz
中提取所有内容后,您应该有一个名为uld
的新文件夹。在尝试运行cd
之前,请务必install.sh
。您之前看到的输出的第一行表明您不在该目录中,因为那里有一个名为noarch
的文件夹,但是没有被剧本。请注意,它是一个相对目录,因此它们都需要位于同一目录中,并且可能期望您从该目录中执行。
这是我在该目录中看到的内容:
drwxrwxrwx. 2 grdryn grdryn 4.0K Oct 26 03:00 i386
-rwxrwxrwx. 1 grdryn grdryn 446 Apr 24 2015 install-printer.sh
-rwxrwxrwx. 1 grdryn grdryn 446 Apr 24 2015 install-scanner.sh
-rwxrwxrwx. 1 grdryn grdryn 848 Apr 24 2015 install.sh
drwxrwxrwx. 5 grdryn grdryn 4.0K Oct 26 03:00 noarch
-rwxrwxrwx. 1 grdryn grdryn 328 Apr 24 2015 uninstall-printer.sh
-rwxrwxrwx. 1 grdryn grdryn 328 Apr 24 2015 uninstall-scanner.sh
-rwxrwxrwx. 1 grdryn grdryn 383 Apr 24 2015 uninstall.sh
drwxrwxrwx. 2 grdryn grdryn 4.0K Oct 26 03:00 x86_64
答案 1 :(得分:1)
我设法做到了。
我试图从我的“下载”目录安装它。我将tar.gz文件移动到/ tmp /,在那里解压缩,然后在我的uld目录中再次执行$sudo sh install.sh
。
我不确定为什么它在我的“下载”目录中不起作用。