Ask Your Question
0

sudo: ./install.sh: command not found

asked 2018-05-22 12:11:20 -0600

Obedulio gravatar image

Hi! I can't install Xtreme download manager because comes out this error sudo: ./install.sh: command not found What can i do or what do i need to install for make it work? Regards

edit retag flag offensive close merge delete

Comments

Run the command "ls"

If it doesn't return "install.sh" in the list of files, you need to cd into the directory you want

felthat gravatar imagefelthat ( 2018-05-22 20:52:51 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2018-05-24 00:36:31 -0600

PaulD gravatar image

updated 2018-05-24 00:51:13 -0600

the actual suggested command in the readme.txt file is: su -c ./install.sh this should ask for root user password... not sure you did install your system like that.

That said, the installation seems to make xdman only usable by root user because:

[paul@localhost xdm-2018-x64]$ ls -dl /opt/xdman/
drwx------. 3 root root 4096 24 mai 01:12 /opt/xdman/

so while in root user (# prompt), you have to type:

su -
(enter root password)
chmod +rx /opt/xdman
chmod +r /opt/xdman/jre/lib/rt.jar
chmod +r /opt/xdman/jre/lib/charsets.jar 
exit

Then at the $ prompt:

xdman

should work.

edit flag offensive delete link more
0

answered 2018-05-22 13:02:19 -0600

jo_117 gravatar image

firstly chmod +x (file name)

then, ./(filename)

hope it helps

edit flag offensive delete link more

Comments

the file is already executable.

PaulD gravatar imagePaulD ( 2018-05-24 00:13:46 -0600 )edit
0

answered 2018-05-22 12:50:22 -0600

florian gravatar image

Did you unpack the .xz archive that you downloaded? Unpack it and then run sudo ./install.sh from where placed the files.

Also, if you are using it download streamed video, consider youtube-dl as an efficient alternative - it's in Fedora's repo.

edit flag offensive delete link more

Comments

How do i unpack the .xz? Can you please do a step by step. this is like Chinese for me. Sorry and thanks any way

Obedulio gravatar imageObedulio ( 2018-05-22 13:50:35 -0600 )edit
1

The easiest way is probably to right click on the file in Nautilus extract it. Command line would be something like "tar -jxvf name.tar.xz", assuming it is an xz archive rather than gz

felthat gravatar imagefelthat ( 2018-05-22 21:43:10 -0600 )edit

to do tar u can look for options in terminal--- man tar ....it will give details about tar archiving

hope it helps...

jo_117 gravatar imagejo_117 ( 2018-05-24 05:49:57 -0600 )edit

if don't feel comfortable typing in the tar command that @felthat posted, just use Gnome, with a right click on the archive you can select Decompress

florian gravatar imageflorian ( 2018-05-24 08:48:45 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-05-22 12:11:20 -0600

Seen: 2,200 times

Last updated: May 24 '18