Ask Your Question

sudo: ./ command not found

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

Obedulio gravatar image

Hi! I can't install Xtreme download manager because comes out this error sudo: ./ 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


Run the command "ls"

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

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

3 Answers

Sort by ยป oldest newest most voted

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

PaulD gravatar image

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

the actual suggested command in the readme.txt file is: su -c ./ 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 

Then at the $ prompt:


should work.

edit flag offensive delete link more

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

jo_117 gravatar image

firstly chmod +x (file name)

then, ./(filename)

hope it helps

edit flag offensive delete link more


the file is already executable.

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

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

florian gravatar image

Did you unpack the .xz archive that you downloaded? Unpack it and then run sudo ./ 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


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 -0500 )edit

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 -0500 )edit

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

hope it helps...

jo_117 gravatar imagejo_117 ( 2018-05-24 05:49:57 -0500 )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 -0500 )edit

Question Tools

1 follower


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

Seen: 3,072 times

Last updated: May 24 '18